Engine3d.so problem

Linux specific forum
EdzUp[SD]
Enthusiast
Enthusiast
Posts: 104
Joined: Thu Jun 26, 2008 10:53 pm
Location: Banstead, UK

Engine3d.so problem

Post by EdzUp[SD] »

Can anyone shed light on this problem please
http://www.purebasic.fr/english/viewtopic.php?t=36351

its driving me nutts
GBeebe
Enthusiast
Enthusiast
Posts: 263
Joined: Sat Oct 09, 2004 6:52 pm
Location: Franklin, PA - USA
Contact:

Post by GBeebe »

Do you get any output when you run your program from a terminal?
EdzUp[SD]
Enthusiast
Enthusiast
Posts: 104
Joined: Thu Jun 26, 2008 10:53 pm
Location: Banstead, UK

Post by EdzUp[SD] »

I get

Code: Select all

PB_LoadEngine3DLibrary(): engine3d.so: cannot open shared object file: No such file or directory
The Engine3d.so file is in the directory with the file, tbh I thought that was what you supposed to do with it.
freak
PureBasic Team
PureBasic Team
Posts: 5941
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Why did you create 3 topics for the same question ? Its a mess.

Anyway, since 4.30 you can call InitEngine3D() with a filename to specify the engine library. So try something like InitEngine3D("./engine3d.so") or alternatively with a full path.
quidquid Latine dictum sit altum videtur
EdzUp[SD]
Enthusiast
Enthusiast
Posts: 104
Joined: Thu Jun 26, 2008 10:53 pm
Location: Banstead, UK

Post by EdzUp[SD] »

Ah thanks Freak, soz about the posts. Why isnt the InitEngine3d command properly documented?
freak
PureBasic Team
PureBasic Team
Posts: 5941
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

This was a last minute change iirc.
quidquid Latine dictum sit altum videtur
EdzUp[SD]
Enthusiast
Enthusiast
Posts: 104
Joined: Thu Jun 26, 2008 10:53 pm
Location: Banstead, UK

Post by EdzUp[SD] »

The path in InitEngine3d doesnt work either, will send Fred the source for it so he can have a look.
Post Reply