Can't build lr-parallel-n64 on x86
-
End of error log follows:
mupen64plus-rsp-paraLLEl/jit.cpp:3:43: fatal error: clang/Basic/DiagnosticOptions.h: No such file or directory
compilation terminated.
Makefile:493: recipe for target 'mupen64plus-rsp-paraLLEl/jit.o' failed
make: *** [mupen64plus-rsp-paraLLEl/jit.o] Error 1
make: *** Waiting for unfinished jobs....
Removing additional swap
~/RetroPie-Setup
Could not successfully build lr-parallel-n64 - N64 emu - Highly modified Mupen64Plus port for libretro (/home/anton/RetroPie-Setup/tmp/build/lr-parallel-n64/parallel_n64_libretro.so not found).Log ended at: Tue May 2 17:00:58 EDT 2017
Total running time: 0 hours, 1 mins, 4 secs -
@august
I just tried installing lr-parallel-n64 on my Lubuntu 17.04 x86 running in VirtualBox and it compiled okay.What version of Linux are you using?
Make sure you've updated your OS packages and updated the RetroPie-Setup script.Also any other information about your build could be helpful (read this):
https://retropie.org.uk/forum/topic/3/read-this-first -
I'm using GalliumOSm which is a spin of Xubuntu 16.04 with some modifications for Chromebook/Chromeboxes. Updated all packages/sources, rebuilt all installed retropie packages from source a couple day ago. Maybe I'll ditch Gallium and try Xubuntu 17.04 at some point.
-
@august
I've heard of GalliumOS but I've never tried it. I assume you're using a Chromebook? As long as the Chromebook has an Intel x86 compatible processor, you should be okay with any of the official Ubuntu family (like Xubuntu). I haven't had any issues in Lubuntu 17.04 yet. -
Everything else is working fine (mame, snes9x, etc) I'm just getting this build failure for some reason only on this one package. edit: it looks like it might have something to do with Clang but I know very little about building software.
-
I just tried to build on a new install of Xubuntu 17.04 and am getting the exact same error. Is there anywhere I could file a bug report or something?
edit: looks like there's already a bug report for this on github.
-
I also get that error on Ubuntu 16.04 x64. The issue is described here:
https://github.com/libretro/parallel-n64/issues/441After installing
libclang-dev
and adding/usr/lib/llvm-3.8/include
to the include path I had this error:In file included from /usr/lib/llvm-3.8/include/clang/Basic/DiagnosticOptions.h:13:0, from mupen64plus-rsp-paraLLEl/jit.cpp:3: /usr/lib/llvm-3.8/include/clang/Basic/LLVM.h:22:34: fatal error: llvm/Support/Casting.h: No such file or directory
So I installed
llvm-dev
and then I could compile fine.Any chance to get this incorporated into RetroPie?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.