Linking fails on OS X Lion

This particular forum is archives, bug reports should be made at https://github.com/visualboyadvance-m/v ... e-m/issues


Post Reply
goldenegg
Junior Member
Posts: 1
Joined: Wed Jan 18, 2012 2:31 pm

Linking fails on OS X Lion

Post 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'

Last edited by goldenegg on Wed Jan 18, 2012 2:41 pm, edited 1 time in total.
Squall Leonhart
Posting Freak
Posts: 1223
Joined: Tue Mar 18, 2008 9:21 am

Linking fails on OS X Lion

Post by Squall Leonhart »

Trunk is not in a buildable state atm

User avatar
ZachBacon
Member
Posts: 242
Joined: Tue Mar 27, 2018 9:35 pm

Linking fails on OS X Lion

Post 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

Last edited by ZachBacon on Thu Jan 19, 2012 9:21 am, edited 1 time in total.
Post Reply