I understand that there's a binary available (what a godsend), but I wanted to try my hand at compiling from source too. I've read the instructions found here carefully, many times, but everything I try turns up some kind of error. I thought I'd post the shell output here and perhaps Auria or someone who's done this successfully can pinpoint the root problem.
My system is 10.6.4, if that matters.
Here's what I get when attempting to run the included "m64p_build.sh" script:
"Emulation64" forum skin stretches this out a lot, use another skin to fix.
EDIT: I found and posted the solution in post #5.
I also tried building the Glide64 plugin from here. That gives me some strange messages as well:
The file is generated, so I decided to try it even with all those warnings. This is what I get when I try to run the emulator:
EDIT: Finally got Glide working. It turns out it wouldn't work with an older version of the core library for whatever reason (even though it was only a week old, more or less). Compiling the most recent core allows Glide to run properly, though I still can't get rid of those warnings.
My system is 10.6.4, if that matters.
Here's what I get when attempting to run the included "m64p_build.sh" script:
"Emulation64" forum skin stretches this out a lot, use another skin to fix.
Code:
Last login: Sat Aug 7 15:02:44 on ttys000
HDLs-MacBook:~ HDL$ cd /Users/HDL/Desktop/mupen64plus-bundle-src-1.99.3
HDLs-MacBook:mupen64plus-bundle-src-1.99.3 HDL$ ./m64p_build.sh
************************************ Building core library
rm -f -rf libmupen64plus.dylib ./_obj
cc -o _obj/api/callbacks.o -Wall -ffast-math -funroll-loops -fexpensive-optimizations -fno-strict-aliasing -I../../src -pipe -O3 -mmmx -msse -arch i686 -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -fomit-frame-pointer -I/opt/local/include/SDL -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -DDYNAREC -c ../../src/api/callbacks.c
cc -o _obj/api/common.o -Wall -ffast-math -funroll-loops -fexpensive-optimizations -fno-strict-aliasing -I../../src -pipe -O3 -mmmx -msse -arch i686 -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -fomit-frame-pointer -I/opt/local/include/SDL -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -DDYNAREC -c ../../src/api/common.c
cc -o _obj/api/config.o -Wall -ffast-math -funroll-loops -fexpensive-optimizations -fno-strict-aliasing -I../../src -pipe -O3 -mmmx -msse -arch i686 -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -fomit-frame-pointer -I/opt/local/include/SDL -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -DDYNAREC -c ../../src/api/config.c
cc -o _obj/api/debugger.o -Wall -ffast-math -funroll-loops -fexpensive-optimizations -fno-strict-aliasing -I../../src -pipe -O3 -mmmx -msse -arch i686 -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -fomit-frame-pointer -I/opt/local/include/SDL -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -DDYNAREC -c ../../src/api/debugger.c
cc -o _obj/api/frontend.o -Wall -ffast-math -funroll-loops -fexpensive-optimizations -fno-strict-aliasing -I../../src -pipe -O3 -mmmx -msse -arch i686 -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -fomit-frame-pointer -I/opt/local/include/SDL -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -DDYNAREC -c ../../src/api/frontend.c
cc -o _obj/api/vidext.o -Wall -ffast-math -funroll-loops -fexpensive-optimizations -fno-strict-aliasing -I../../src -pipe -O3 -mmmx -msse -arch i686 -mmacosx-version-min=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -fomit-frame-pointer -I/opt/local/include/SDL -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -DDYNAREC -c ../../src/api/vidext.c
../../src/api/vidext.c: In function ‘VidExt_GL_SetAttribute’:
../../src/api/vidext.c:282: error: ‘SDL_GL_SWAP_CONTROL’ undeclared (first use in this function)
../../src/api/vidext.c:282: error: (Each undeclared identifier is reported only once
../../src/api/vidext.c:282: error: for each function it appears in.)
make: *** [_obj/api/vidext.o] Error 1
HDLs-MacBook:mupen64plus-bundle-src-1.99.3 HDL$
EDIT: I found and posted the solution in post #5.
I also tried building the Glide64 plugin from here. That gives me some strange messages as well:
Code:
Last login: Sat Aug 7 15:13:16 on ttys000
HDLs-MacBook:~ HDL$ cd /Users/HDL/Desktop/mupen64plus-bundle-src-1.99.3/source/mupen64plus-video-glide64/projects/unix
HDLs-MacBook:unix HDL$ make all
CC _obj/osal_dynamiclib_unix.o
CXX _obj/3dmath.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/rdp.h:48,
from ../../src/3dmath.h:37,
from ../../src/3dmath.cpp:42:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/CRC.o
CXX _obj/Combine.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/rdp.h:48,
from ../../src/Util.h:41,
from ../../src/Combine.cpp:45:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/Config.o
CXX _obj/Debugger.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/rdp.h:48,
from ../../src/Util.h:41,
from ../../src/Debugger.cpp:41:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/DepthBufferRender.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/Gfx1.3.h:98,
from ../../src/DepthBufferRender.cpp:43:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/Ini.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/Gfx1.3.h:98,
from ../../src/Ini.cpp:44:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/Main.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/rdp.h:48,
from ../../src/Util.h:41,
from ../../src/Main.cpp:37:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/TexBuffer.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/rdp.h:48,
from ../../src/TexBuffer.cpp:42:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/TexCache.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/Gfx1.3.h:98,
from ../../src/Combine.h:38,
from ../../src/TexCache.cpp:43:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/Util.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/rdp.h:48,
from ../../src/Util.h:41,
from ../../src/Util.cpp:41:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/rdp.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/rdp.h:48,
from ../../src/3dmath.h:37,
from ../../src/rdp.cpp:42:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/wrapper/2xsai.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/wrapper/../Gfx1.3.h:98,
from ../../src/wrapper/2xsai.cpp:22:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/wrapper/combiner.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/wrapper/combiner.cpp:30:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/wrapper/config.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/wrapper/config.cpp:25:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/wrapper/filter.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/wrapper/main.h:93,
from ../../src/wrapper/filter.cpp:27:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/wrapper/geometry.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/wrapper/geometry.cpp:24:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/wrapper/hq2x.o
CXX _obj/wrapper/hq4x.o
CXX _obj/wrapper/main.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/wrapper/main.cpp:32:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
CXX _obj/wrapper/textures.o
In file included from ../../src/wrapper/glide.h:42,
from ../../src/wrapper/textures.cpp:25:
../../src/wrapper/3dfx.h:101:4: warning: #warning define FX_ENTRY & FX_CALL for your compiler
LD mupen64plus-video-glide64.dylib
strip -x mupen64plus-video-glide64.dylib
HDLs-MacBook:unix HDL$
The file is generated, so I decided to try it even with all those warnings. This is what I get when I try to run the emulator:
Code:
Last login: Sat Aug 14 12:16:26 on ttys000
HDLs-MacBook:~ HDL$ cd ~/Desktop
HDLs-MacBook:Desktop HDL$ ./glide.sh "/Users/HDL/Desktop/Main/Emulators/N64/Conker's Bad Fur Day.z64"
__ __ __ _ _ ____ _
| \/ |_ _ _ __ ___ _ __ / /_ | || | | _ \| |_ _ ___
| |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
| | | | |_| | |_) | __/ | | | (_) |__ _| __/| | |_| \__ \
|_| |_|\__,_| .__/ \___|_| |_|\___/ |_| |_| |_|\__,_|___/
|_| http://code.google.com/p/mupen64plus/
Mupen64Plus Console User-Interface Version 1.99.3
UI-console: attached to core library 'Mupen64Plus Core' version 1.99.3
Includes support for Dynamic Recompiler.
Core: Goodname: Conker's Bad Fur Day (U) [!]
Core: Name: CONKER BFD
Core: MD5: 00E2920665F2329B95797A7EAABC2390
Core: CRC: 30c7ac50 7704072d
Core: Imagetype: .z64 (native)
Core: Rom size: 67108864 bytes (or 64 Mb or 512 Megabits)
Core: Version: 1447
Core: Manufacturer: Nintendo
Core: Country: USA
UI-Console: Cheat codes disabled.
UI-console: using Video plugin: 'Glide64' v1.99.3
UI-console: using Audio plugin: 'Mupen64Plus SDL Audio Plugin' v1.99.3
UI-console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v1.99.3
UI-console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin' v1.99.3
Core Error: broken Video plugin; function(s) not found.
UI-Console: error from core while attaching Video plugin.
Core Status: Rom closed.
HDLs-MacBook:Desktop HDL$
EDIT: Finally got Glide working. It turns out it wouldn't work with an older version of the core library for whatever reason (even though it was only a week old, more or less). Compiling the most recent core allows Glide to run properly, though I still can't get rid of those warnings.
Last edited: