From: Mattia B. <mb...@ds...> - 2001-12-15 08:38:16
|
> Hello Mattia, thanks for the reply. > > Mattia said: > >To test wxWindows, just > > > >cd path_to_wx_build_dir/samples/minimal > >make > >./minimal > > Hmm, that's odd. When I do so, I get this: > > >mem: ~/Telechargement/wxMAC-2.3.2/samples/minimal % make ./minimal do not do "make ./minimal", just "make" and then run the resulting program ./minimal ( or maybe it has some extension in Mac ) ( I don't know if it makes any difference, but just try ) > >g++ minimal.cpp -o minimal > >make: g++: Command not found > >make: *** [minimal] Error 127 > > I don't have g++ and I see that gcc is symlinked to cc, so I > symlinked g++ to cc in /usr/bin. this should not be necessay, but it does not hurt, neither > Now I get this when I run the command make ./minimal: > > >~/Telechargement/wxMAC-2.3.2/samples/minimal > >mem: ~/Telechargement/wxMAC-2.3.2/samples/minimal % make ./minimal > >g++ minimal.cpp -o minimal > >In file included from /usr/local/include/wx/defs.h:23, <snip> > >/usr/local/include/wx/thread.h:21: wx/setup.h: No such file or directory > >make: *** [minimal] Error 1 > > I have a lot of header files at /usr/local/include/wx. Regards Mattia |