I am trying to compile a test project in codelite IDE, and this project is a GUI wxfb Frame based project. I am workin under a WINDOWS 7 environment.
What I have done until now:
1) I installed codelite 5.4 + UnitTest++ + MinGW-4.8.1.
2) I downloaded the source code of wxWidget 3.0.0 (but I also tried 2.8.12) and I compiled with the following command from the directory C:\wxWidget-3.0.0\build\msw\ :
Code: Select all
"C:\MinGW-4.8.1\bin\mingw32-make.exe" -f makefile.gcc UNICODE=1 SHARED=0 MONOLITHIC=1 BUILD=RELEASE
4) I created a new project in my workspace, based on GUI wxfb Frame.
5) I set the following environment variables:
WXWIN=C:/wxWidgets-3.0.0/
WXCFG=gcc_lib/mswu/
6) I tried to compile (Rebuild) the project obtaining:
Code: Select all
C:\Windows\system32\cmd.exe /c "mingw32-make.exe -j 8 -e -f Makefile"
"----------Building project:[ test1_wxfbFrame - Debug ]----------"
Please use the --wxcfg flag (as in wx-config --wxcfg=gcc_dll/mswud)
or set the environment variable WXCFG (as in WXCFG=gcc_dll/mswud)
to specify which configuration exactly you want to use.
Please use the --wxcfg flag (as in wx-config --wxcfg=gcc_dll/mswud)
or set the environment variable WXCFG (as in WXCFG=gcc_dll/mswud)
to specify which configuration exactly you want to use.
Please use the --wxcfg flag (as in wx-config --wxcfg=gcc_dll/mswud)
or set the environment variable WXCFG (as in WXCFG=gcc_dll/mswud)
to specify which configuration exactly you want to use.
mingw32-make.exe[1]: Entering directory 'C:/CodeLite/myworkspace/test1_wxfbFrame'
windres -i "C:/CodeLite/myworkspace/test1_wxfbFrame/win_resources.rc" --use-temp-file --define __WXMSW__ --define _UNICODE --include-dir C:/wxWidgets-3.0.0/lib/gcc_lib/mswu --include-dir C:/wxWidgets-3.0.0/include -o ./Debug/win_resources.rc.o
g++: error: wx-config: No such file or directory
g++: error: Error:: Invalid argument
g++: error: No: No such file or directory
g++: error: valid: No such file or directory
g++: error: setup.h: No such file or directory
g++: error: of: No such file or directory
g++: error: wxWidgets: No such file or directory
g++: error: has: No such file or directory
g++: error: been: No such file or directory
g++: error: found: No such file or directory
g++: error: at: No such file or directory
g++: error: location:: Invalid argument
g++: error: C:/wxWidgets-3.0.0/lib/gcc_lib/mswud/wx/setup.h: No such file or directory
mingw32-make.exe[1]: *** [Debug/gui.o.d] Error 1
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
g++: error: wx-config: No such file or directory
g++: error: Error:: Invalid argument
g++: error: No: No such file or directory
g++: error: valid: No such file or directory
g++: error: setup.h: No such file or directory
g++: error: of: No such file or directory
g++: error: wxWidgets: No such file or directory
g++: error: has: No such file or directory
g++: error: been: No such file or directory
g++: error: found: No such file or directory
g++: error: at: No such file or directory
g++: error: location:: Invalid argument
g++: error: C:/wxWidgets-3.0.0/lib/gcc_lib/mswud/wx/setup.h: No such file or directory
mingw32-make.exe[1]: *** [Debug/main.o.d] Error 1
test1_wxfbFrame.mk:99: recipe for target 'Debug/gui.o.d' failed
test1_wxfbFrame.mk:107: recipe for target 'Debug/main.o.d' failed
windres: warning: 24: 1: 1033: duplicate value
mingw32-make.exe: *** [All] Error 2
mingw32-make.exe[1]: Leaving directory 'C:/CodeLite/myworkspace/test1_wxfbFrame'
Makefile:4: recipe for target 'All' failed
0 errors, 0 warnings
Clearly there is something I am missing, since the output points to a "mswud" folder I don't have!!!
What did I miss?