User forums > Help

Problem compiling wxWidgets to use in codeblocks

(1/2) > >>

Nucleorion:
Hi.

I've tried configuring wxWidgets-3.1.0 to use it with codeblocks

After cleaning using the line with the clean command I try to compile with the line

--- Code: ---mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=debug UNICODE=1 USE_OPENGL=1 VENDOR=cb CXXFLAGS="-fno-keep-inline-dllexport"
--- End code ---

But I get this error when finished.


--- Code: ---makefile.gcc:7722: recipe for target 'gcc_mswudll\monodll_app.o' failed
mingw32-make: *** [gcc_mswudll\monodll_app.o] Error 1
--- End code ---

I have tried several times with several lines changing commands and values but I can not make wxWidgets-3.1.0 work

I have added to the path the minGW path and the version I have is 4.9.3

The last time I followed the instructions here:
Umh1467.edu.umh.es/cajon-desastre/requisitos-wxwidgets/codeblocks/

stahta01:
From http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Windows#wxWidgets_3.0.2

I suggest trying the adding of "-std=gnu++11" to CXXFLAGS.

NOTE: If you ever built MONOLITHIC=0 in that folder you likely need to delete that folder and start over cleaning is NOT enough to switch to MONOLITHIC=1.

Edit: I removed the spaces that might NOT work; I have never used spaces (except for after the -f).

--- Code: ---mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=debug UNICODE=1 USE_OPENGL=1 VENDOR=cb CXXFLAGS="-fno-keep-inline-dllexport -std=gnu++11"

--- End code ---

Edit2: I suggest NOT using "VENDOR=cb" unless you are self building Code::Blocks.

Tim S.
 

Nucleorion:
Sorry, I fix spaces added for the translator.

I try:

--- Code: ---mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=debug UNICODE=1 USE_OPENGL=1 VENDOR=cb CXXFLAGS="-fno-keep-inline-dllexport -std=gnu++11"
--- End code ---

And uninstall wxWidgets to try:

--- Code: ---mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=debug UNICODE=1 USE_OPENGL=1 CXXFLAGS="-fno-keep-inline-dllexport -std=gnu++11"
--- End code ---

but I get same error:

--- Code: ---makefile.gcc:7722: recipe for target 'gcc_mswuddll\monodll_app.o' failed
mingw32-make: *** [gcc_mswuddll\monodll_app.o] Error 1

--- End code ---

I go to 'C:\wxWidgets-3.1.0\build\msw\gcc_mswuddll' folder, the monodll_app.o don't exist really

I have Windows 7 64bit

How are a command for log compilation in a txt file?

Nucleorion:
I try also with 2.8.12 version and get this error:

--- Code: ---akefile.gcc:4723: recipe for target 'gcc_mswuddll\monodll
ingw32-make: *** [gcc_mswuddll\monodll_appbase.o] Error 1
--- End code ---

and try with monolithics=0 after restore msw to clean installation and get:

--- Code: ---makefile.gcc:8542: recipe for target 'gcc_mswuddll\basedll_appbase.o' failed
mingw32-make: *** [gcc_mswuddll\basedll_appbase.o] Error 1

--- End code ---

stahta01:
Might be a Compiler issue; what Compiler are you using?

Who packaged it?
Based on MinGW32 or MinGW64?

Tim S.

Navigation

[0] Message Index

[#] Next page

Go to full version