Emulator Issues #7462
closedIssues with compiling on Linux
0%
Description
I bypassed the template as this "issue" has nothing to do with any specific game. I'm trying to compile Dolphin on a x64 version of CrunchBang 11 with testing Debian repositories. I ran into this error: http://pastie.org/9369716
$ apt-cache policy libwxbase3.0-devlibwxbase3.0-dev:
Installed: 3.0.1-2
Candidate: 3.0.1-2
Version table:
*** 3.0.1-2 0
500 http://ftp.ro.debian.org/debian/ testing/main amd64 Packages
100 /var/lib/dpkg/status
Let me know if any additional info is needed.
Updated by Sonicadvance1 over 10 years ago
- Status changed from New to Questionable
Looks like you need to talk to your package maintainer for wxWidgets.
These are issues in the headers provided to us.
Updated by aekkusu over 10 years ago
Contacted the wxWidgets but they rejected what you said, and instead suggested me to contact the Dolphin maintainer for Dolphin. Here's the solution that he gave me, and made Dolphin compile properly:
I was able to reproduce your problem by setting up wx to use libwxbase
instead of libwxgtk. As root, run the following command:
update-alternatives --config wx-config
Make sure that the selected option has the keywords "gtk", "unicode",
and "3.0". I suspect that your current setting has "base" instead of
"gtk".
Alternatively, you could use the Debian source packages that I have on
mentors, and manually remove libpulse-dev from the control file. I think
that will allow you to create a Debian package of dolphin without
pulse, and I would expect it to work fine without it.
Updated by nicolaspanti over 10 years ago
I have the same error with dolphin-emu on Debian GNU/Linux Jessie/testing x86-64.
I do not have an option with "gtk", "unicode" and "3.0" :
"update-alternatives --config wx-config
Il existe 3 choix pour l'alternative wx-config (qui fournit /usr/bin/wx-config).
Sélection Chemin Priorité État¶
0 /usr/lib/x86_64-linux-gnu/wx/config/base-unicode-3.0 307 mode automatique
1 /usr/lib/x86_64-linux-gnu/wx/config/base-unicode-3.0 307 mode manuel
2 /usr/lib/x86_64-linux-gnu/wx/config/base-unicode-release-2.8 287 mode manuel
- 3 /usr/lib/x86_64-linux-gnu/wx/config/gtk2-unicode-release-2.8 288 mode manuel"
Updated by nicolaspanti over 10 years ago
Both wx3.0-headers and wx2.8-headers were installed. I have purged (apt-get purge pkg) wx3.0-headers, and now it build successfully.
Updated by Anonymous over 10 years ago
So...the HEAD revision of dolphin doesn't build against wx3.0 for you, only wx2.8? We should probably check that out if so...
Updated by nicolaspanti over 10 years ago
The last commit that I have for the version I have tried to build with wx3.0 is e10b0d1008915c72a1743cfd3109caf084f1d16a (Tue Sep 2 09:56:46 2014 -0400). You are right with wx2.8 it builds, but it does not with wx3.0.
Updated by Anonymous over 10 years ago
Can you look and see where the symbols the compiler is complaining about are defined in your wx3.0 headers? If they are really there, dolphin just isn't including the right wx headers...if they're not there, seems like a bug in the package (like Sonicadvance1 said).
Updated by nicolaspanti about 10 years ago
The problem does not occur anymore.
Commit: Oct 23 10:26:12 2014; hash 2f48d71ddfed60930a7bb7b347805d3047c81f54
OS: Debian GNU/Linux 8/jessie/testing up to date (23/10/2014)