• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 279 280 281 282 283 ... 1189 Next »

Error compiling Dolphin's netplay build (5.0-321) under Pop!_OS Linux (Ubuntu 17.10)
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Error compiling Dolphin's netplay build (5.0-321) under Pop!_OS Linux (Ubuntu 17.10)
12-10-2017, 02:56 PM
#1
safsom2
Unregistered
 
Hello, I am attempting to compile Dolphin 5.0-321 under Ubuntu 17.10. I have installed all the right dependencies, however, compilation fails with this error:
In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h:194:0,
                from /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/syslimits.h:7,
                from /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h:34,
                from /home/safsom2/Documents/dolphin-be9416c462b1b5f0074d8a3a2b35171f2a154693/build/Source/CMakeFiles/pch.dir/pch.h:34,
                from <command-line>:0:
/home/safsom2/Documents/dolphin-be9416c462b1b5f0074d8a3a2b35171f2a154693/Source/Core/VideoBackends/OGL/RasterFont.cpp:17:18: error: expected unqualified-id before numeric constant
static const int CHAR_WIDTH = 8;
                 ^
What is the problem here? I am running a 64 bit system with an i7-7700HQ.
Thanks in advance.
Reply
12-10-2017, 05:46 PM
#2
JosJuice Online
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,835
Threads: 7
Joined: Oct 2014
This problem was fixed in 5.0-1823. If you need to use 5.0-321, you can backport the fix by opening Source/Core/VideoBackends/OGL/RasterFont.cpp and replacing every instance of CHAR_ with CHARACTER_ (or something else that isn't CHAR_), like in this changeset: https://github.com/dolphin-emu/dolphin/pull/4496/files
Find
Reply
12-11-2017, 04:47 PM
#3
safsom2
Unregistered
 
(12-10-2017, 05:46 PM)JosJuice Wrote: This problem was fixed in 5.0-1823. If you need to use 5.0-321, you can backport the fix by opening Source/Core/VideoBackends/OGL/RasterFont.cpp and replacing every instance of CHAR_ with CHARACTER_ (or something else that isn't CHAR_), like in this changeset: https://github.com/dolphin-emu/dolphin/pull/4496/files

Thank you! It compiled, however, I still could not Netplay with my brother. We both just ended up getting the Faster Melee build.
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode