Using PB5.72 x64 on MacBook OSX 10.14.5
I have compiled a 3d programme which runs OK when executed from the IDE. When I create an executable (.app) I place the Engine3D.dylib in the same directory as the app file but get an error that the 3d engine cannot be initialised. Searched the forum but could not find a definitive guide as to how to distribute a stand alone app that uses the 3d engine.
Probably something simple but has me baffled.
Help?
Distributing 3D dylib
Re: Distributing 3D dylib
The default current directory when running a compiled app is the /AppName.app/Contents/ folder, so this is where the InitEngine3D command looks for engine3d.dylib if a different location hasn't been specified. Open the app file (right-click and select Show Package Contents). Put engine3d.dylib in the Contents folder.
Re: Distributing 3D dylib
Thanks that worked.
Re: Distributing 3D dylib
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive