So I've been doing all of my polymorphable development in Ubuntu (on a dedicated box at work, or on a VM on a Mac host at home). I want to build a polymorphable.app for my brother to test (he's using Lion), but XCode is thwarting me left and right.
I know I have all of the SDL_image/ttf/mixer in my /Library/Frameworks, and I added the SDLmain.h and SDLmain.m files to my XCode project (just cloned from the polymorphable repo). I am ready to beat my computer up, though - XCode keeps giving me architecture errors and sourcode.c.h not found errors. I tried following the steps here, but sometimes they weren't clear or seemed outdated. http://www.meandmark.com/sdlopenglpart2.html
Any help would be appreciated. I'd love an .xcodeproj from FLARE to study, or I'll supply whatever screenshots you want. I'd be even more indebted if you could just throw a polymorphable.app my way.
Thanks for anything!
I may have time tonight to hop onto my OSX machine and send you my project file. I'm still on Snow Leopard and XCode 3 though.
I also forgot to mention - the architecture errors seem to come even from using cmake or g++, since SDL_gfxBlitFunc was added. The error mentions that file specifically.
Weird. Maybe try renaming that file from .c to .cpp to see if you can trick OSX's compiler into accepting it.
that did it. I even made sure I had src/*.c included and I got the architecture error - switched to .cpp, smooth sailing.
Smooth sailing with really WEIRD colors, but smoother sailing.
I had weird colors too. I did a color calibration on OSX and disabled the gamma option on Flare and it helped.