Hi, im istall wxWidgets3.1.1 and compilation, i waiting 1hour and 'cmd' out thish error:
..\..\lib\gcc_dll\libwxscintillad.a
gcc_mswuddll\monodll_xh_timectrl.o: cloud not read symbols: Memory exhausted
collect2.exe: error: Id returned 1 exit status
makefile.gcc:5322:recipe for target '..\..\lib\gcc_dll\wxmsw311ud_gcc_custom.dll' failed
mingw32-make.exe: ***[...\lib\gcc_dll\wxmsw311ud_gcc_custom.dll] Error 1
*My steps in cmd:
1. cd C:\wxWidgets-3.1.1\build\msw
2. mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1
*Info:
TDM-GCC (last version)
wxWidgets 3.1.1
OS: Windows 7
Memory: 4Gb
Please help!!!
Not intalled wxWidgets3.1.1 [HELP]
-
- In need of some credit
- Posts: 2
- Joined: Mon Jun 25, 2018 2:50 pm
Re: Not intalled wxWidgets3.1.1 [HELP]
I would make sure there are no remnant from the previous build. If there are not, you could try changing the command line to
This was supposed to help with a similar issue for older GCC compilers, TDM-GCC was expected to be prone to this but you can still try it.
As always when changing the build options, clean the old build just to be sure...
TBH, I would also consider switching the toolchain (to MinGW-w64?), TDM-GCC seems to be abandoned....
Code: Select all
mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 CXXFLAGS="-fno-keep-inline-dllexport"
As always when changing the build options, clean the old build just to be sure...
TBH, I would also consider switching the toolchain (to MinGW-w64?), TDM-GCC seems to be abandoned....
Re: Not intalled wxWidgets3.1.1 [HELP]
I don't use MinGW, but maybe 4GB Ram is really not enough? Just an idea.
Can you try a non-monolithic build? AFAIK monolithic builds use more memory.
Can you try a non-monolithic build? AFAIK monolithic builds use more memory.
Use the source, Luke!
-
- In need of some credit
- Posts: 2
- Joined: Mon Jun 25, 2018 2:50 pm
Re: Not intalled wxWidgets3.1.1 [HELP]
I install to TDM-GCC in my bat file:
cd /d C:\wx\build\msw
color 02
mingw32-make.exe -f makefile.gcc MONOLITHIC=0 USE_XRC=1 SHARED=1 UNICODE=1 USE_OPENGL=1 BUILD=release
color 03
mingw32-make.exe -f makefile.gcc MONOLITHIC=0 USE_XRC=1 SHARED=1 UNICODE=1 USE_OPENGL=1 BUILD=debug
pause
Problem decided!!!
cd /d C:\wx\build\msw
color 02
mingw32-make.exe -f makefile.gcc MONOLITHIC=0 USE_XRC=1 SHARED=1 UNICODE=1 USE_OPENGL=1 BUILD=release
color 03
mingw32-make.exe -f makefile.gcc MONOLITHIC=0 USE_XRC=1 SHARED=1 UNICODE=1 USE_OPENGL=1 BUILD=debug
pause
Problem decided!!!
Re: Not intalled wxWidgets3.1.1 [HELP]
Yeah, as someone who used to use TDM-gcc I can confirm that switching to MinGW-w64 is definitely worth the trouble. I had some strange issues with the latest version of tdm-gcc that were never resolved as well (seemed like a tool chain bug). These went away when I switched to the latest MinGW-w64, so I wouldn't use TDM-gcc if I were you.