I try to compile wxWidgets-3.0.2 under Win7 using TDM-GCC-64. To do this, I use this command:
mingw32-make -j4 -f makefile.gcc SHELL=CMD.exe MONOLITHIC=1 BUILD=release UNICODE=1 SHARED=1 CXXFLAGS="-std=gnu++11"
After a while I get this error:
Which is wired, because all files are stored in ./gcc_mswudll. The command above also tells the directory correct.g++ -shared -fPIC -o ..\..\lib\gcc_dll\wxmsw30u_gcc_custom.dll gcc_mswudll\monodll_dummy.o gcc_mswudll\monodll_any.o
(...)
LOTS AND LOTS OF STUFF
(...)
gcc_mswudll\monodll_cshelp.o gcc_mswudll\monodll_ctrlcmn.o gcc_mswudll\monodll_ctrlsub.o gcc_mswudll\monodll_dcbase.o
(...)
gcc_mswudll\monodll_xh_odcombo.o gcc_mswudll\monodll_xh_panel.o gcc_mswudll\monodll_xh_propdlg.o
(...)
gcc_mswudll\monodll_richtextstyles.o gcc_mswudll\monodll_richtextsymboldlg.o gcc_mswudll\monodll_richtextxml.o gcc_mswudll\monodll_xh_richtext.o gcc
_mswudll\monodll_stc.o gcc_mswudll\monodll_PlatWX.o gcc_mswudll\monodll_ScintillaWX.o gcc_mswudll\monodll_xml.o gcc_mswudll\monodll_xtixml.o gcc_mswudll\monodll_version_rc.o -mthreads -L..\..\lib\gcc_dll -Wl,--out-implib=..\..\lib\gcc_dll\libwxmsw30u.a -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lwininet ..\..\lib\gcc_dll\libwxscintilla.a
g++: error: cc_mswudll\monodll_ctrlsub.o: No such file or directory
g++: error: gc_mswudll\monodll_xh_panel.o: No such file or directory
makefile.gcc:5206: recipe for target '..\..\lib\gcc_dll\wxmsw30u_gcc_custom.dll' failed
mingw32-make: *** [..\..\lib\gcc_dll\wxmsw30u_gcc_custom.dll] Error 1
Where is my mistake?