From: Emmanuel. M. D. <em...@sc...> - 2001-12-15 00:51:28
|
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 >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. 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, > from /usr/local/include/wx/wxprec.h:13, > from minimal.cpp:21: >/usr/local/include/wx/platform.h:62: wx/setup.h: No such file or directory >In file included from /usr/local/include/wx/debug.h:17, > from /usr/local/include/wx/defs.h:298, > from /usr/local/include/wx/wxprec.h:13, > from minimal.cpp:21: >/usr/local/include/wx/wxchar.h:400: warning: `_T' redefined >/usr/include/ctype.h:82: warning: this is the location of the >previous definition >/usr/local/include/wx/wxchar.h:455: #error "Please define string >case-insensitive compare for your OS/compiler" >In file included from /usr/local/include/wx/memory.h:20, > from /usr/local/include/wx/object.h:20, > from /usr/local/include/wx/wx.h:16, > from minimal.cpp:30: >/usr/local/include/wx/string.h:170: #error "Please define string >case-insensitive compare for your OS/compiler" >In file included from /usr/local/include/wx/wx.h:22, > from minimal.cpp:30: >/usr/local/include/wx/log.h:19: wx/setup.h: No such file or directory >In file included from /usr/local/include/wx/event.h:28, > from /usr/local/include/wx/wx.h:23, > from minimal.cpp:30: >/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. TIA ps: I'm on the digest, but I check the archive on the web to see if there is more developments to this query. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Emmanuel D=E9carie - Consultant Programmation pour le Web - Programming for the Web UserLand Frontier - Perl - JavaScript - AppleScript - HTML - XML http://www.scriptdigital.com ---> The Frontier Newbie Toolbox: <http://www.scriptdigital.com/fnt/frontierNewbieToolbox.html> |