[wxMac 2.8.4] Got my code to compile, but not link

David Goldsmith David.L.Goldsmith at noaa.gov
Thu Jun 21 14:57:54 PDT 2007


OK, my code is compiling, but not linking; the errors I'm getting are 
Undefined symbols: wxOnAssert, wxDirExists, wxMessageBox, etc., etc.  So 
obviously (?) I haven't told it the right  wx libraries to link against 
and/or the right places to look for those libraries.  I found a bunch of 
my wx libraries in /usr/local/lib/ and grep-ed to find which had 
wxMessageBox (as a representative example) got libwx_macu_core-2.8.a 
among the results, and hoped that including this with 
-l/usr/local/lib/libwx_macu_core-2.8.a  would suffice, but no, I get 
/usr/bin/ld: can't locate file for: 
-l/usr/local/lib/libwx_macu_core-2.8.a despite:

$ ls /usr/local/lib/libwx_macu_core-2.8.a
/usr/local/lib/libwx_macu_core-2.8.a

Help?

DG
-- 
ERD/ORR/NOS/NOAA <http://response.restoration.noaa.gov/emergencyresponse/>




More information about the wx-users mailing list