Hi everyone, first post, I'm trying to compile the glide64 plugin provided in the mupen 0.4 source thread, and I get the following error on "make":
In file included from wrapper/textures.cpp:9:
wrapper/main.h:19: error: `void (*glActiveTextureARB)(unsigned int)' redeclared
as different kind of symbol
/usr/X11R6/include/GL/gl.h:2041: error: previous declaration of `void
glActiveTextureARB(unsigned int)'
wrapper/main.h:20: error: `void (*glMultiTexCoord2fARB)(unsigned int, float,
float)' redeclared as different kind of symbol
/usr/X11R6/include/GL/gl.h:2053: error: previous declaration of `void
glMultiTexCoord2fARB(unsigned int, float, float)'
make: *** [wrapper/textures.o] Error 1
gl.h from /usr/X11R6/include/GL is from my NVIDIA closed-source driver (version 1.0-5336), I've changed the -mcpu option in the makefile to "pentium4" to get optimization for my CPU, but even when leaving "athlon" (the default one), I get the same error...
The glN64 plugin gives me an error too...
It looks like a hack for banjoo-tooie shadows:
Combiner.cpp:351: error: integer constant is too large for "long" type
Since I'm no programmer at all, I just commented the if statement since I don't play banjoo-tooie.
Some info to help you:
gcc (GCC) 3.3.4
NVIDIA closed-source driver version 1.0-5336
Linux 2.4.26 (I think it doesn't matter)
Good luck, by the way, the compare-pipe stops install.sh from ending the proccess.
Sorry for my bad english, good luck and thanks. (is the error on gln64 is about mux, just curious to know...)