c++ - Codelite Build Error 'No such file or directory' -


im new @ programming codelite, created simple frames wxcrafter, codelight not install (yes, have mingw installed, worked on console program). tought, made did mistake frames, decided create new project without changing , build project. same error code:

c:\windows\system32\cmd.exe /c c:/tdm-gcc-64/bin/mingw32-make.exe -j4 shell=cmd.exe -e -f  makefile "----------building project:[ test - debug ]----------"  please use --prefix flag (as in wx-config --prefix=c:/wxwidgets) or set environment variable wxwin (as in wxwin=c:/wxwidgets) specify installation of wxwidgets.  please use --prefix flag (as in wx-config --prefix=c:/wxwidgets) or set environment variable wxwin (as in wxwin=c:/wxwidgets) specify installation of wxwidgets.  please use --prefix flag (as in wx-config --prefix=c:/wxwidgets) or set environment variable wxwin (as in wxwin=c:/wxwidgets) specify installation of wxwidgets. mingw32-make.exe[1]: entering directory 'c:/users/stephan lachnit/documents/codelite/gravitation_simulator/test' 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: 'c:\program: invalid argument g++.exe: error: files'.: no such file or directory mingw32-make.exe[1]: *** [debug/main.cpp.o.d] error 1 mingw32-make.exe[1]: *** waiting unfinished jobs.... 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: 'c:\program: invalid argument g++.exe: error: files'.: no such file or directory test.mk:99: recipe target 'debug/main.cpp.o.d' failed mingw32-make.exe[1]: *** [debug/mainframe.cpp.o.d] error 1 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: 'c:\program: invalid argument g++.exe: error: files'.: no such file or directory mingw32-make.exe[1]: *** [debug/wxcrafter.cpp.o.d] error 1 mingw32-make.exe: *** [all] error 2 test.mk:107: recipe target 'debug/mainframe.cpp.o.d' failed test.mk:115: recipe target 'debug/wxcrafter.cpp.o.d' failed mingw32-make.exe[1]: leaving directory 'c:/users/stephan lachnit/documents/codelite/gravitation_simulator/test' makefile:4: recipe target 'all' failed ====1 errors, 0 warnings====` 

the problem not mingw. need have set environment variables wxcfg , wxwin can within codelite: settings->environment variales

for example, if installed wxwidgets development package under c:\src\wxwidgets

you should add 2 entries environment variables section in codelite this:

wxcfg=gcc_dll\mswu wxwin=c:\src\wxwidgets 

this should fix these warning you.

eran


Comments