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

David L Goldsmith David.L.Goldsmith at noaa.gov
Thu Jun 21 15:27:08 PDT 2007


Robin Dunn wrote:
>
> What do you get when you run this:
>
>     /usr/local/bin/wx-config --libs
Oooh, loads and loads!
> That is what you should use for linking, if that doesn't work then 
> there is a bug.  
OK, of the wx things it couldn't find, that eliminated all but 
wxOnAssert - it still can't find that.  Also, I still have several vtk 
symbols it can't find - I don't suppose you know anything about that 
(like, is there a vtk equivalent for wx-config)?
> Also, you should use wx-config --cxxflags when compiling.
Right, you (or someone) told me that previously and that was a 
tremendous help, but they didn't mention the --libs flag.

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




More information about the wx-users mailing list