JuanitoAlfa / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

video-glide64mk2 compilation fails on OSX #578

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Describe your system:
 - Operating System (be specific): OSX 10.8.4
 - Machine type (32-bit or 64-bit): x86_64
 - Mupen64Plus version: 2.0.0
 - Plugins used: video-glide64mk2

Essentially, downloading the source tar and running ./m64p-build.sh on OSX 
works, except for video-glide64mk2, which fails to build due to missing support 
for c++11 using Apple's GCC.

You need to use clang to get it to compile.

As a side note, it seems a bit strange that the plugin requires the boost lib, 
but alright.

Original issue reported on code.google.com by n.pepi...@gmail.com on 18 Sep 2013 at 7:24

GoogleCodeExporter commented 8 years ago
Couple other notes after looking at the makefile:

On line 178, you use -L/opt/local/lib, which is fine if people use Macports are 
a package manager, but anyone using Homebrew will have stuff in /usr/local/lib

Compiling with high resolution textures also required me to add the flag 
-I/usr/local/include so that it could find the boost headers.

Original comment by n.pepi...@gmail.com on 18 Sep 2013 at 7:37

GoogleCodeExporter commented 8 years ago
See 
https://bitbucket.org/richard42/mupen64plus-core/src/7974979802d39e2fd926dc9b1a1
02bb525b1cf41/tools/osx_build_instructions.txt?at=default

Original comment by s...@narfation.org on 28 Sep 2013 at 7:46

GoogleCodeExporter commented 8 years ago
If you use Homebrew, I installed Boost like this and now video-glide64mk2 
compiles properly for me:

brew install boost --build-from-source --c++11

After that, the plugin compiled with a simple "make all" from the relevant 
directory.

Original comment by i...@consoleemu.com on 6 Dec 2013 at 9:44