Pages: [1]
|
|
|
Author
|
Topic: Compiling for OSX, libraries added only as headers in .app (Read 1666 times)
|
superbutcherx
*Many bubbles*
Offline
Posts: 116
|
OK, our mod, the Project6014 is well in the point when we should have the .exes and .apps ready.
I ran into a problem trying to make a runnable OSX .app that would work on other peoples' computers.
The problem is that only SDL_image is added as complete framework inside the app. From the others, only a single header file is added, like SDL.h, Ogg.h and vorbisfile.h.
How can I make the rest appear inside the .app as complete frameworks too?
|
|
|
Logged
|
|
|
|
superbutcherx
*Many bubbles*
Offline
Posts: 116
|
Got a little further...
I had SDL, vorbis and ogg folders in my usr/local/include. By removing them from there the builder now adds all the frameworks correctly to the bundled .app and everything else still seems to be working OK.
But running the .app still doesn't work on other computers and the reason is this: It tries to look for the .ogg framework and .vorbis framework from the Mac library/frameworks even though they are right there inside the .app!
Arg! Frustrating!! What to do?
|
|
|
Logged
|
|
|
|
|
Gekko
*Many bubbles*
Offline
Gender:
Posts: 199
Arena regular
|
Most helpful Ziper. Unfortunately I have very little experience getting OS X projects compiling. However, I'd like to know if you were able to get the vanilla UQM to compile? There is currently no OS X compile of Shiver's Balance Mod and I could use some assistance.
|
|
|
Logged
|
|
|
|
superbutcherx
*Many bubbles*
Offline
Posts: 116
|
I think I nailed it!
With some reservations though: The current .app works only on OSX 10.6. so it's time to upgrade to a little snowier leopard, 10.5. owners! Or give me some days/weeks to figure out how to make the thing run on multiple OS versions.
I have compiled vanilla UQM with success on OSX, although it took various nasty tricks even to the SDL libraries themselves. I think I documented some of that crap here in the technical questions (the thread in which all planets in interplanetary look cyan).
I suspect I'm gonna be pretty busy with the p6014 demo stuff for some time to come, but I'll be happy to assist once things calm down a bit!
|
|
|
Logged
|
|
|
|
Death 999
Global Moderator
Enlightened
Offline
Gender:
Posts: 3873
We did. You did. Yes we can. No.
|
I know that nic has an Xcode project for vanilla that I'm sure he'd give you. It might even be on his download page at submedia.net. That works, and it doesn't involve crude hacks.
|
|
|
Logged
|
|
|
|
Pages: [1]
|
|
|
|
|