Cod elite版本9.1.3
Code: Select all
/bin/sh -c 'make -j 8 -e -f Makefile'
----------正在构建项目:[ wxFB - Debug ]----------
make[1]: wx-config: Command not found
make[1]: wx-config: Command not found
make[1]: wx-config: Command not found
g++ -c "/Volumes/MACINTOSH H/WinAndMac/CodeLiteWorkSpace/mac/Mac_C_Dev/wxWidgetCode/wxFB/gui.cpp" -g -O0 -Wall -D__WX__ -o ./Debug/gui.cpp.o -I.
g++ -c "/Volumes/MACINTOSH H/WinAndMac/CodeLiteWorkSpace/mac/Mac_C_Dev/wxWidgetCode/wxFB/main.cpp" -g -O0 -Wall -D__WX__ -o ./Debug/main.cpp.o -I.
In file included from In file included from /Volumes/MACINTOSH H/WinAndMac/CodeLiteWorkSpace/mac/Mac_C_Dev/wxWidgetCode/wxFB/gui.cpp:/Volumes/MACINTOSH H/WinAndMac/CodeLiteWorkSpace/mac/Mac_C_Dev/wxWidgetCode/wxFB/main.cpp8::
14:
./gui.h:11:10: fatal error: ./main.h:18:10: fatal error: 'wx/wx.h' file not found
'wx/artprov.h' file not found
#include <wx/wx.h>#include <wx/artprov.h>
^
^
11 error error generated.
generated.
make[1]: *** [Debug/main.cpp.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Debug/gui.cpp.o] Error 1
make: *** [All] Error 2
====1 错误, 0 警告====
-g;-O0;$(shell wx-config âcxxflags âunicode=yes âdebug=yes)
通过终端查看wxWidgets配置信息:
Code: Select all
applematoMacBook-Pro:~ apple$ wx-config --list
Default config is osx_cocoa-unicode-static-3.0
Default config will be used for output
Alternate matches:
osx_cocoa-unicode-3.0
osx_cocoa-unicode-3.1
osx_cocoa-unicode-static-2.9
applematoMacBook-Pro:~ apple$ wx-config --cxxflags
-I/usr/local/lib/wx/include/osx_cocoa-unicode-static-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__
applematoMacBook-Pro:~ apple$ wx-config --libs
-L/usr/local/lib -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL /usr/local/lib/libwx_osx_cocoau-3.0.a -framework WebKit -lwxregexu-3.0 -lwxtiff-3.0 -lwxjpeg-3.0 -lwxpng-3.0 -lz -lpthread -liconv -llzma
applematoMacBook-Pro:~ apple$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/JayWon/cocos2dx/android/android-ndk-r9d:/Users/JayWon/cocos2dx/android/adt-bundle-mac-x86_64-20140321/sdk:/usr/local/mysql/bin
请各位帮忙解决下,谢谢了!!