Emulator Issues #7853
closedWon't build on debian sid (up to date)
0%
Description
[READ THIS: https://forums.dolphin-emu.org/showthread.php?pid=276132 <<<
Your answers are there!]
[Leave the questions as they are and answer them in the next line]
[Remove lines written inside brackets [], but nothing else]
What's the problem? Describe what went wrong in few words.
dolphin-emu won't build (make fails). It began with my update of gcc/g++ from 4.8 to 4.9 I think.
Here is the whole build log :
http://pastie.org/9719887
I last tried with 4.0-4149.
What did you expect to happen instead?
It should build.
What steps will reproduce the problem?
[Don't assume we have ever played the game and know any level names. Be as
specific as possible.]
Try to build 4.0-4149 dolphin with an up to date debian sid.
Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?
4.0-4149
Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
Well I'm not very familiar with git, so I don't know how to git pull/checkout (whatever the name of the operation is) an old version of dolphin. Since it used to work (my last working try was with 4.0-3482) it could tell me if it's my system or some src in dolphin.
What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
OS
Debian Sid with free radeon drivers.
Processeur CPU
Intel Core i7 920 @ 2.67GHz
Technologie Bloomfield 45nm
RAM
4,00 Go Canal-Triple DDR3 @ 534 MHz (8-8-8-20)
Carte mère Mothercard
ASUSTeK Computer INC. P6T (LGA1366)
Graphiques
PL2409HD (1920x1080@60Hz)
SyncMaster (1280x1024@60Hz)
ATI Radeon HD 5800 Series (XFX Pine Group)
Disques durs HDD/SSD
932 Go SAMSUNG HD103SJ ATA Device (SATA)
112 Go Corsair Force 3 SSD SCSI Disk Device (SSD)
224 Go INTEL SS DSC2CT240A3 SCSI Disk Device (SSD)
Disques optiques
SJE 6RGDM3K5MZK SCSI CdRom Device
HL-DT-ST BD-RE BH08LS20 ATA Device
Audio
Creative X-Fi Audio Processor (WDM)
Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
[Upload big files to a hosting service and post links here!]
[Do not attach files to this issue. Upload them to another site and
link here. Use imgur.com for images and pastie.org for logs. Monitor the
email address that was used to create this issue.]
Updated by OmegaPhil almost 10 years ago
I have also tried to build with '-DCMAKE_C_COMPILER=/usr/bin/gcc-4.8 -DCMAKE_CXX_COMPILER=/usr/bin/g++-4.8', however I still get issues with wxWidgets compilation.
Debian Testing environment here - build fails with 4.0.1, 4.0.2 and latest git.
Updated by nicolaspanti almost 10 years ago
There is still a problem.
OS: Debian 8/jessie/testing x86_64
Arch: x86_64
g++ 4.9.1
Linking C static library libpolarssl.a
[ 9%] Built target polarssl
Scanning dependencies of target wx
[ 9%] Building CXX object Externals/wxWidgets3/CMakeFiles/wx.dir/src/aui/auibar.cpp.o
In file included from /usr/include/c++/4.9/type_traits:35:0,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/strvararg.h:25,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/string.h:46,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/memory.h:15,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/object.h:19,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/event.h:16,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/window.h:18,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/control.h:22,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/statline.h:23,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/src/aui/auibar.cpp:29:
/usr/include/c++/4.9/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the
^
In file included from /home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/string.h:46:0,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/memory.h:15,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/object.h:19,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/event.h:16,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/window.h:18,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/control.h:22,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/statline.h:23,
from /home/rydroid/dolphin-emu/Externals/wxWidgets3/src/aui/auibar.cpp:29:
/home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/strvararg.h:345:18: error: ‘is_enum’ in namespace ‘std’ does not name a template type
typedef std::is_enum is_enum;
^
/home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/strvararg.h:349:54: error: ‘is_enum’ was not declared in this scope
enum { value = wxFormatStringSpecifierNonPodType<is_enum::value>::value };
^
/home/rydroid/dolphin-emu/Externals/wxWidgets3/include/wx/strvararg.h:349:68: error: template argument 1 is invalid
enum { value = wxFormatStringSpecifierNonPodType<is_enum::value>::value };
^
Externals/wxWidgets3/CMakeFiles/wx.dir/build.make:54: recipe for target 'Externals/wxWidgets3/CMakeFiles/wx.dir/src/aui/auibar.cpp.o' failed
make[2]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/src/aui/auibar.cpp.o] Error 1
CMakeFiles/Makefile2:382: recipe for target 'Externals/wxWidgets3/CMakeFiles/wx.dir/all' failed
make[1]: *** [Externals/wxWidgets3/CMakeFiles/wx.dir/all] Error 2
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2
https://github.com/rohit-n/dolphin/blob/6bd7b1a42a7edb215176974f20e2d39970216f50/Externals/wxWidgets3/CMakeLists.txt
https://github.com/dolphin-emu/dolphin/pull/1569
It fixes the bug.
Updated by OmegaPhil almost 10 years ago
There is still an issue with wxWidgets here - I have done a fresh build from the just-merged source, it almost finishes compiling but not quite... see the attached log from 'make -j 8 &> make-error' where everything that could be compiled has already been compiled.