View Single Post
Old 06-01-09, 10:18 AM   #1
garyl
Registered User
 
Join Date: May 2009
Posts: 24
Default NVIDIA driver breaks DeSmuME compilation

I heard NVIDIA driver broke DeSmuME compilation, and it's true.
http://forums.desmume.org/viewtopic.php?id=1205

1. Get desmume-0.9.2-1.
http://sourceforge.net/project/downl....gz&a=52243207

2. Extract desmume and build it.
$ tar zxf desmume-0.9.2-1.tar.gz
$ cd desmume-0.9.2-1
$ ./configure --prefix=/usr/ --libdir=/usr/lib64/
$ make -j3

[with NVIDIA-Linux-x86_64-185.18.14]
Code:
OGLRender.cpp: In function ‘char OGLInit()’:
OGLRender.cpp:470: error: ‘glActiveTexture’ was not declared in this scope
OGLRender.cpp: In function ‘void setTexture(unsigned int, unsigned int)’:
OGLRender.cpp:535: error: ‘glActiveTexture’ was not declared in this scope
OGLRender.cpp: In function ‘void OGLRender()’:
OGLRender.cpp:698: error: ‘glActiveTexture’ was not declared in this scope
make[2]: *** [OGLRender.o] Error 1
[without NVIDIA driver]
# sh NVIDIA-Linux-x86_64-185.18.14-pkg2.run --uninstall
# exit
$ ./configure --prefix=/usr/ --libdir=/usr/lib64/
$ make -j3
=> I can build it without errors.

I know DeSmuME isn't important for most users, but the same thing might
happen to other softwares.
Attached Files
File Type: gz nvidia-bug-report.log.gz (32.7 KB, 71 views)
garyl is offline   Reply With Quote