...
Then, I can build the wx-config.exe, but where should I put the wx-config.exe? It is currently under:
E:\code\wx\wxWidgets-3.0.0\wx-config-win
When I open the samples.workspace (under E:\code\wx\wxWidgets-3.0.0\samples) , build any project certainly get failed.
What's the next step?
Thanks.
Put it in you system path or add it to your Compiler path.
Note: You need to re-start CB for either option.
Tim S.
Hi, Tim, it still doesn't work.
I put the exe under: E:\code\common_bin
When I try to build minimal sample, I get those:
[100.0%] Running target pre-build steps
cmd /c echo \lib\
\lib\
-------------- Build: win_gcc in minimal (compiler: GNU GCC Compiler)---------------
[ 50.0%] g++.exe wx-config Error: wxWidgets hasn't been found installed at 'E:\code'. -c minimal.cpp -o .objs\win_gcc\minimal.o
g++.exe: error: wx-config: No such file or directory
g++.exe: error: Error:: Invalid argument
g++.exe: error: wxWidgets: No such file or directory
g++.exe: error: hasn't: No such file or directory
g++.exe: error: been: No such file or directory
g++.exe: error: found: No such file or directory
g++.exe: error: installed: No such file or directory
g++.exe: error: at: No such file or directory
g++.exe: error: 'E:\code'.: Invalid argument
Process terminated with status 1 (0 minute(s), 0 second(s))
7 error(s), 0 warning(s) (0 minute(s), 0 second(s))
It looks like it try to search the parent folder of where I put the exe? (E:\code\common_bin)
EDIT:If I put this wx-config.exe file under the folder: E:\code\wx\wxWidgets-3.0.0\lib, I get different build error
[100.0%] Running target pre-build steps
cmd /c echo \lib\
\lib\
-------------- Build: win_gcc in minimal (compiler: GNU GCC Compiler)---------------
[ 50.0%] g++.exe -c minimal.cpp -o .objs\win_gcc\minimal.o
minimal.cpp:21:23: fatal error: wx/wxprec.h: No such file or directory
compilation terminated.
Process terminated with status 1 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
Do I need to specify some custom variables?
EDIT2:See
[100.0%] Running target pre-build steps
cmd /c echo \lib\
\lib\
It looks like I set wrong path?
EDIT3:cmd /c echo $(WXWIN)\lib\$(WXCFG)
I just do not know where I can define those variables? Global variable does not work. They should have some expression like $(#WXWIN).