#9554 closed defect (fixed)
Build: GUI part build fails
Reported by: | susnux | Owned by: | criezy |
---|---|---|---|
Priority: | normal | Component: | Tools |
Version: | Keywords: | ||
Cc: | Game: |
Description
Trying to build on openSUSE I faced a problem with the gui part:
wxWidgets detection will fail, configure output:
[ 60s] Checking for iconv... yes [ 60s] Looking for wx-config... /usr/bin/wx-config [ 61s] Checking for wxwidgets gui dev component... not found
I have attached the config.log.
System: openSUSE Tumbleweed, gcc 6.1.1+r239476, wxWidgets 2.8.12
The problem seems to be the "-ansi" flag set in the configure script,
it looks like wxWidgets requires a c++11 header (maybe also TR1).
I could fix the build by removing the -ansi flag (gcc6 will default to c++14).
Attachments (2)
Change History (4)
by , 8 years ago
Attachment: | fix-new-wxwidgets.patch added |
---|
comment:1 by , 8 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I changed configure to use c++11 by default if this is supported by the compiler. Hopefully this will fix the compilation for you. If not, please reopen this ticket.
comment:2 by , 4 years ago
Hit the same problem/issue when trying to bump the scummvm_tools to version 2.2.0 on haiku, proposed fix showed me the gui dev component were found, haven't finished a build to see if it actually works, but just wanted to drop a note here
My simple patch for fixing the build