Page 1 of 1

Linking fails on OS X Lion

Posted: Wed Jan 18, 2012 2:34 pm
by goldenegg

I'm trying to compile the latest from trunk on Mac OS X Lion. The build goes smooth, until linking. I get the following error:

 

Linking CXX executable gvbam.app/Contents/MacOS/gvbam

ld: warning: ignoring file /usr/local/lib/libz.dylib, file was built for unsupported file format which is not the architecture being linked (x86_64)

Undefined symbols for architecture x86_64:

 

Any idea why libz.dylib isn't supporting a x86_64 build? I haven't run in to this with any other projects.

 

Any help is greatly appreciated!

 

EDIT:

 

Just wanted to add that zlib is installed for x86_64 on my system

 

$ port -v installed zlib

The following ports are currently installed:

zlib @1.2.5_0 (active) platform='darwin 11' archs='x86_64'


Linking fails on OS X Lion

Posted: Thu Jan 19, 2012 5:12 am
by Squall Leonhart

Trunk is not in a buildable state atm


Linking fails on OS X Lion

Posted: Thu Jan 19, 2012 9:19 am
by ZachBacon

trunk is in a buildable state actually at least for compiling the wxwidgets interface, I'm working on a few things, but try compiling it. The original contributor posted some notes http://darkalpha.homelinux.org/wxvbam/#binaries about compiling wxvba-m on osx (and all required dependencies) so it maybe worth looking into. mind you the wxwidgets interface code is still in development and should be considered alpha quality so only attempt if you are brave, if not build the gtk interface using the pre-wx repository