Page 1 of 1

Build issues

Posted: Sun Dec 31, 2017 4:12 am
by rodrigofbm
All the times I've seen have this same problem. Videos from 2014-2017 and this problem still exists? I searched for solutions but none could solve.
Can the author finally solve this issue?

Code: Select all

C:\Windows\system32\cmd.exe /C C:/TDM-GCC-64/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f  Makefile
"----------Building project:[ Testando - 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:/Users/Rodrigo Torres/Documents/CodeLite/Testando'
g++.exe: error: wx-config: No such file or directory
g++.exe: error: Error:: Invalid argument
g++.exe: error: No: No such file or directory
g++.exe: error: valid: No such file or directory
g++.exe: error: setup.h: No such file or directory
g++.exe: error: of: No such file or directory
g++.exe: error: wxWidgets: No such file or directory
g++.exe: error: has: 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: at: No such file or directory
g++.exe: error: location:: Invalid argument
g++.exe: error: C:/wxWidgets-3.1.0/lib/gcc_dll/mswud/wx/setup.h: No such file or directory
g++.exe: error: wx-config: No such file or directory
g++.exe: error: Error:: Invalid argument
g++.exe: error: No: No such file or directory
g++.exe: error: valid: No such file or directory
g++.exe: error: setup.h: No such file or directory
g++.exe: error: of: No such file or directory
g++.exe: error: wxWidgets: No such file or directory
g++.exe: error: has: 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: at: No such file or directory
g++.exe: error: location:: Invalid argument
g++.exe: error: C:/wxWidgets-3.1.0/lib/gcc_dll/mswud/wx/setup.h: No such file or directory
g++.exe: error: wx-config: No such file or directory
g++.exe: error: Error:: Invalid argument
g++.exe: error: No: No such file or directory
g++.exe: error: valid: No such file or directory
g++.exe: error: setup.h: No such file or directory
g++.exe: error: of: No such file or directory
g++.exe: error: wxWidgets: No such file or directory
g++.exe: error: has: 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: at: No such file or directory
g++.exe: error: location:: Invalid argument
g++.exe: error: C:/wxWidgets-3.1.0/lib/gcc_dll/mswud/wx/setup.h: No such file or directory
mingw32-make.exe[1]: *** [Debug/main.cpp.o.d] Error 1
mingw32-make.exe[1]: *** Waiting for unfinished jobs....
Testando.mk:101: recipe for target 'Debug/main.cpp.o.d' failed
mingw32-make.exe[1]: *** [Debug/MainFrame.cpp.o.d] Error 1
mingw32-make.exe[1]: *** [Debug/wxcrafter.cpp.o.d] Error 1
Testando.mk:109: recipe for target 'Debug/MainFrame.cpp.o.d' failed
Testando.mk:117: recipe for target 'Debug/wxcrafter.cpp.o.d' failed
mingw32-make.exe[1]: Leaving directory 'C:/Users/**/Documents/CodeLite/Test'
mingw32-make.exe: *** [All] Error 2
Makefile:4: recipe for target 'All' failed
====1 errors, 0 warnings====

Re: Build issues

Posted: Mon Jan 01, 2018 1:42 am
by eranif
You are tying to build your application in debug mode and you don't seem to have wxWidgets built in debug mode