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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 19 20 21 22 23 ... 117 Next »

Build Error on Linux Mint 18.3
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Build Error on Linux Mint 18.3
04-16-2018, 06:23 AM
#4
seebs Offline
Junior Member
**
Posts: 11
Threads: 2
Joined: Apr 2018
So I did complete a build. I ran into two other issues on this version of Ubuntu. One was in Core/PowerPC/BreakPoints.cpp:

@@ -215,8 +215,8 @@ bool MemChecks::OverlapsMemcheck(u32 address, u32 length)
if (!HasAny())
return false;

- const u32 page_end_suffix = length - 1;
- const u32 page_end_address = address | page_end_suffix;
+ u32 page_end_suffix = length - 1;
+ u32 page_end_address = address | page_end_suffix;

This triggers an internal compiler error. Removing the const qualifiers avoids the error. (I think the compiler was trying to optimize the values away entirely, and this broke it, but I didn't explore further because I doubt anyone cares about an ICE from gcc 5.4.)

The second was, spread throughout a fair bit of Core/IOS, namespace declarations using "namespace A:B:C", which gcc couldn't handle. Breaking them out into separate/nested entries fixed that:

-namespace IOS::HLE::FS
+namespace IOS
+{
+namespace HLE
+{
+namespace FS

I also had a number of issues which weren't Dolphin's fault at all, having to do with Debian's llvm packaging being wrong, generally solved with things roughly like "ln -s llvm-3.8 llvm" and similar things in /usr/include and in a couple of other paths. With all of that done, I can in fact build the whole thing. (I haven't actually tried the resulting emulator, mind, but at least it built.)
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Build Error on Linux Mint 18.3 - AutoFire - 04-02-2018, 12:05 PM
RE: Build Error on Linux Mint 18.3 - seebs - 04-15-2018, 04:11 AM
RE: Build Error on Linux Mint 18.3 - JosJuice - 04-15-2018, 05:32 PM
RE: Build Error on Linux Mint 18.3 - seebs - 04-16-2018, 06:23 AM

  • 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