Page 1 of 1

MacOSX samples

Posted: Wed Jan 16, 2008 02:36
by Corvus
Hey,

I've managed through some other good forum posts to get the libs compiled on MacOSX 10.5 and a number of Samples as well. However in attempting to run most of the samples I receive an error about being unable to find the MacCEGuiRendererSelector symbol inside the SampleHelper dynamic lib.

I've managed to force its inclusion by changing the #ifdef to look for MACOSX rather than APPLE as a define but ultimately I get only a bus error upon running with the resulting lib.

Could someone tell me how to modify the SampleHelper to properly run the samples on a Mac?

Thanks

Corvus

Posted: Wed Jan 16, 2008 06:36
by Rackle
I know nothing of compiling on a Mac. However I would suggest you try to define the APPLE symbol within your compiler (Code Warrior?) and see if that gets you further. Also you should post the details of your error message. However be sure to perform proper exception handling via try..catch, as this may provide a clear explanation of the problem, or looking through the log file for errors.

Posted: Wed Jan 16, 2008 08:11
by scriptkid
I have no Mac experience either. I peeked at the makefile though, and the necessary files seem to be included and linked.

Rackle, i think that his errors are fired by the OS, even before any Cegui stuff starts...