Fred wrote:There is no 'OpenGL' subsystem on OS X, as it's the default one, so you will have to let the subsystem field empty on OS X. Try to put an absolute path to the engine3d.dynlib (which is located in the compilers/ directory) in InitEngine3D() and see if it makes a a change.
Thank you, Fred ! At first it didn't work, but when I checked the name of the engine I noticed it's "engine3d.dylib" and not "engine3d.dynlib". Correcting this made almost all examples functional !
To other Mac users : be sure to remove the reference do DirectX9 in compiler options of every Ogre example file ; most of the time, PB will crash right after you removed it. Just relaunch PB, re-erase "DirectX9" and save the file. It shouldn't crash anymore.
Then replace this :
-> If InitEngine3D()
with something like this :
-> If InitEngine3D("/users/myname/PureBasic/compilers/engine3d.dylib")
The new file should compile and run without problem
EDIT : the crash I mention here actually only happened on one of my Macs : a MacBook Pro, and not on the iMac 24' alu.