Difficulty compiling with changed Include path
Posted: Fri Aug 16, 2013 5:27 am
I can't get codelite to ignore old include path and follow the new.
I am attempting to build a sample using wx2.9.5 rather than 2.9.4.
Any Suggestions?
Dave
Details:
---------
I changed environment vars, added paths for include & lib in both Debug and Release Settings.
I followed the instructions on 'The Configuration Manager' docs page and cloned & edited the release settings to a Release-(2.95) config.
I rebooted the machine
I tried both 'append to global' and 'overwrite global' options
Old include folder:
-IC:\bin\wxWidgets-2.9.4\include
New include folder (yes the files are in there):
-IC:/bin/MinGW-4.7.1/MSYS/1.0/local/include/wx-2.9
Note the peculiar placement of the include directives at the end of the g++ command line.
I am using Codelite 5.2 with Win 7.
Projects using wx2.9.4 work fine.
Path to workspace (7 project) is:
C:/bin/wxWidgets-2.9.5/samples/webview/wvgnu/
Path to only source file is:
C:/bin/wxWidgets-2.9.5/samples/webview/webview.cpp (above the project)
Environment variables:
I am attempting to build a sample using wx2.9.5 rather than 2.9.4.
Any Suggestions?
Dave
Details:
---------
I changed environment vars, added paths for include & lib in both Debug and Release Settings.
I followed the instructions on 'The Configuration Manager' docs page and cloned & edited the release settings to a Release-(2.95) config.
I rebooted the machine
I tried both 'append to global' and 'overwrite global' options
Old include folder:
-IC:\bin\wxWidgets-2.9.4\include
New include folder (yes the files are in there):
-IC:/bin/MinGW-4.7.1/MSYS/1.0/local/include/wx-2.9
Note the peculiar placement of the include directives at the end of the g++ command line.
I am using Codelite 5.2 with Win 7.
Projects using wx2.9.4 work fine.
Path to workspace (7 project) is:
C:/bin/wxWidgets-2.9.5/samples/webview/wvgnu/
Path to only source file is:
C:/bin/wxWidgets-2.9.5/samples/webview/webview.cpp (above the project)
Environment variables:
Code: Select all
CodeLiteDir=C:\bin\CodeLite
UNIT_TEST_PP_SRC_DIR=C:\bin\UnitTest++-1.3
LIB=C:\bin\wxWidgets-2.9.5\lib\
INCLUDE=C:\bin\wxWidgets-2.9.5\include
Code: Select all
C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 2 -e -f Makefile"
"----------Building project:[ wvg - Release-(2.95) ]----------"
mingw32-make.exe[1]: Entering directory `C:/bin/wxWidgets-2.9.5/samples/webview/wvgnu'
g++ -c "C:/bin/wxWidgets-2.9.5/samples/webview/webview.cpp" -O2 -Wall -mthreads -DHAVE_W32API_H -D__WXMSW__ -DNDEBUG -D_UNICODE -IC:\bin\wxWidgets-2.9.4\lib\gcc_dll\mswu -IC:\bin\wxWidgets-2.9.4\include -DWXUSINGDLL -Wno-ctor-dtor-privacy -pipe -fmessage-length=0 -fno-keep-inline-dllexport -o ./Release/webview_webview.o -IC:/bin/MinGW-4.7.1/MSYS/1.0/local/include/wx-2.9 -IC:/bin/MinGW-4.7.1/MSYS/1.0/local/include/wx-2.9
C:/bin/wxWidgets-2.9.5/samples/webview/webview.cpp: In constructor 'WebFrame::WebFrame(const wxString&)':
C:/bin/wxWidgets-2.9.5/samples/webview/webview.cpp:285:19: error: 'wxWEBVIEW_FIND_DEFAULT' was not declared in this scope
C:/bin/wxWidgets-2.9.5/samples/webview/webview.cpp:414:35: error: 'wxWEBVIEW_ZOOM_TYPE_LAYOUT' was not declared in this scope
...etc...