The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
November 23, 2020, 05:25:08 pm
Home Help Search Login Register
News: Paul & Fred have reached a settlement with Stardock!

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Compiling for OSX, libraries added only as headers in .app
« previous next »
Pages: [1] Print
Author Topic: Compiling for OSX, libraries added only as headers in .app  (Read 1203 times)
superbutcherx
*Many bubbles*
***
Offline Offline

Posts: 116



View Profile
Compiling for OSX, libraries added only as headers in .app
« on: September 28, 2010, 06:17:18 pm »

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 Offline

Posts: 116



View Profile
Re: Compiling for OSX, libraries added only as headers in .app
« Reply #1 on: September 28, 2010, 09:41:22 pm »

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
ziper1221
*Many bubbles*
***
Offline Offline

Posts: 124



View Profile
Re: Compiling for OSX, libraries added only as headers in .app
« Reply #2 on: September 28, 2010, 11:33:04 pm »


Arg! Frustrating!! What to do?

Give up on people using apple products.
Logged

Gekko
*Many bubbles*
***
Offline Offline

Gender: Male
Posts: 199


Arena regular


View Profile
Re: Compiling for OSX, libraries added only as headers in .app
« Reply #3 on: September 29, 2010, 06:09:23 am »

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

Visit #uqm-arena and play a game of Net Melee!
Try the Net Melee Improvement mod
superbutcherx
*Many bubbles*
***
Offline Offline

Posts: 116



View Profile
Re: Compiling for OSX, libraries added only as headers in .app
« Reply #4 on: September 30, 2010, 08:40:40 pm »

I think I nailed it!  Grin

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 Offline

Gender: Male
Posts: 3848


We did. You did. Yes we can. No.


View Profile
Re: Compiling for OSX, libraries added only as headers in .app
« Reply #5 on: October 03, 2010, 02:40:51 pm »

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] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!