Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#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)

fix-new-wxwidgets.patch (424 bytes ) - added by susnux 8 years ago.
My simple patch for fixing the build
config.log (20.7 KB ) - added by susnux 8 years ago.
Log file, interesting part start line 190

Download all attachments as: .zip

Change History (4)

by susnux, 8 years ago

Attachment: fix-new-wxwidgets.patch added

My simple patch for fixing the build

by susnux, 8 years ago

Attachment: config.log added

Log file, interesting part start line 190

comment:1 by criezy, 8 years ago

Owner: set to criezy
Resolution: fixed
Status: newclosed

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 Begasus, 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

Note: See TracTickets for help on using tickets.