Page 1 of 1

Engine3d.so problem

Posted: Tue Feb 10, 2009 10:30 pm
by EdzUp[SD]
Can anyone shed light on this problem please
http://www.purebasic.fr/english/viewtopic.php?t=36351

its driving me nutts

Posted: Wed Feb 11, 2009 7:13 am
by GBeebe
Do you get any output when you run your program from a terminal?

Posted: Wed Feb 11, 2009 10:26 am
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.

Posted: Wed Feb 11, 2009 3:44 pm
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.

Posted: Wed Feb 11, 2009 5:22 pm
by EdzUp[SD]
Ah thanks Freak, soz about the posts. Why isnt the InitEngine3d command properly documented?

Posted: Wed Feb 11, 2009 5:49 pm
by freak
This was a last minute change iirc.

Posted: Thu Feb 12, 2009 12:18 pm
by EdzUp[SD]
The path in InitEngine3d doesnt work either, will send Fred the source for it so he can have a look.