[Mac OS10.4.9] OT: g++ (command line) problem (involving wx)

David Goldsmith David.L.Goldsmith at noaa.gov
Tue Jun 19 14:06:30 PDT 2007


Hi!  Sorry for the (somewhat) off-topic post, but this is where I 
thought I might get the quickest help.

g++ is complaining that it can't find a file, but its location is in my 
PATH:

$ g++ -I../../code/wxCats/ test_CatsDataIO.cpp
In file included from test_CatsDataIO.cpp:2:
../../code/wxCats/CatsDataIO.h:12:23: error: wx/string.h: No such file 
or directory
etc.

$ locate wx/string.h
/usr/local/include/wx-2.8/wx/string.h
etc.

$ echo $PATH
...:/usr/local/include/wx-2.8:etc.

(etc. = each command resulted in additional output, of course, but I've 
included the relevant results, correct?)

Does g++ take its default search path from somewhere else, and if so, 
where?  (I didn't see anything which "looked right" in /usr/bin/ where 
g++ and its target both live.)

Thanks,

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




More information about the wx-users mailing list