Pages: [1]
|
|
|
Author
|
Topic: Can't build on Mac OSX Lion (Read 2153 times)
|
CelticMinstrel
Enlightened
Offline
Posts: 522
|
The build fails on Lion with a whole lot of missing symbols, all of which seem to be related to the audio libraries. I installed libmikmod and libvorbis from MacPorts; the log says libmikmod is found but "vorbisfile" is not (I'm not quite sure what that is?). Anyway, it insists I have to build without ogg support, which is acceptable if less than ideal, yet many of the missing symbols are clearly ogg-related (I tried googling one of them).
The full build log is here (expires one month from now), though most of it is probably not very useful; the bit at the end is the main thing. I suspect the "i386" may be the key (perhaps it would work if I built it as 64-bit?), but since the build process is pretty complicated and unlike any sort of build process I normally see, I have no idea how I would fix that.
|
|
|
Logged
|
|
|
|
|
|
oldlaptop
*Smell* controller
Offline
Posts: 337
|
I'd guess this is your problem:
729. ld: warning: ignoring file /opt/local/lib/libmikmod.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
As for libvorbisfile, I'm guessing that's built from the same source as libvorbis. At least on Debian it comes from the same source package:
http://packages.debian.org/source/squeeze/libvorbis
|
|
|
Logged
|
|
|
|
CelticMinstrel
Enlightened
Offline
Posts: 522
|
I managed to get MacPorts to install a Universal version of libmikmod (so there's a 32-bit version), and that reduces the link errors to the ov_* functions which I guess are in libvorbisfile. As for using the internal libmikmod, that caused compile errors, probably for the same reason (missing libvorbisfile). I guess I'll have to figure out how to find the libvorbisfile somewhere... I don't suppose anyone knows, eh?
EDIT: I just found libvorbisfile in /opt/local/lib, so I guess the issue is actually getting it to be recognized then. EDIT2: According to the build log it expects a Vorbis.framework... that seems a little silly (it'd be better if it could work with either, right?), but I'll see if I can find one. EDIT3: Found one on Nic's site, but it didn't change anything. Any other ideas? EDIT4: Wait, duh, I need Ogg.framework too. Hopefully it'll work now?
|
|
« Last Edit: February 05, 2012, 10:37:01 pm by CelticMinstrel »
|
Logged
|
|
|
|
CelticMinstrel
Enlightened
Offline
Posts: 522
|
Okay, build works, and it loads to the menu just fine, so hopefully all is well now!
EDIT: Only issue now is that it doesn't have an icon on the dock nor accept keyboard input (keyboard input is being sent to the terminal window that launched it). Which looks not hard to solve.
|
|
« Last Edit: February 05, 2012, 10:49:19 pm by CelticMinstrel »
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
|
|