Moin,
When try to compile the source code under Linux, I get this error:
g++ -c CVideoOpenGL.cpp -o CVideoOpenGL.o -I"include/" -DIRRLICHT_EXPORTS=1
CVideoOpenGL.cpp: In member function `virtual void
irr::video::CVideoOpenGL::drawIndexedTriangleList(const
irr::video::S3DVertex*, int, const u16*, int)':
CVideoOpenGL.cpp:348: error: `glClientActiveTextureARB' undeclared (first use
this function)
CVideoOpenGL.cpp:348: error: (Each undeclared identifier is reported only once
for each function it appears in.)
CVideoOpenGL.cpp: In member function `virtual void
irr::video::CVideoOpenGL::drawIndexedTriangleList(const
irr::video::S3DVertex2TCoords*, int, const u16*, int)':
CVideoOpenGL.cpp:418: error: `glClientActiveTextureARB' undeclared (first use
this function)
CVideoOpenGL.cpp: In member function `virtual void
irr::video::CVideoOpenGL::drawIndexedTriangleFan(const
irr::video::S3DVertex*, int, const u16*, int)':
CVideoOpenGL.cpp:463: error: `glClientActiveTextureARB' undeclared (first use
this function)
CVideoOpenGL.cpp: In member function `virtual void
irr::video::CVideoOpenGL::drawIndexedTriangleFan(const
irr::video::S3DVertex2TCoords*, int, const u16*, int)':
CVideoOpenGL.cpp:533: error: `glClientActiveTextureARB' undeclared (first use
this function)
CVideoOpenGL.cpp: In member function `void
irr::video::CVideoOpenGL::setTexture(int, irr::video::ITexture*)':
CVideoOpenGL.cpp:782: error: `glActiveTextureARB' undeclared (first use this
function)
CVideoOpenGL.cpp: In member function `void
irr::video::CVideoOpenGL::setRenderStates3DMode()':
CVideoOpenGL.cpp:937: error: `glActiveTextureARB' undeclared (first use this
function)
CVideoOpenGL.cpp: In member function `void
irr::video::CVideoOpenGL::setRenderStates2DMode(bool, bool, bool)':
CVideoOpenGL.cpp:1177: error: `glActiveTextureARB' undeclared (first use this
function)
make: *** [CVideoOpenGL.o] Error 1
Do I miss some header files or is there something wrong with the source or makefile?
"installing" the pre-compiled libIrrlicht.a and compiling/running the examples worked great, but I wanted to play around more with Irrlicht.
Here are some details:
SuSe 8.2, running Nvidia's driver (h/w accel. OpenGL), gcc/g++ v3.3.3 (just installed). If you need any additional details, just ask.
Best wishes,
Tels
Compiling under Linux
Compiling under Linux
Perl + Irrlicht + Audiere = Game: http://bloodgate.com/perl/game
Techdemo patch
Moin,
to warm-up, I tried to compile the techdemo. Since this failed, too, I added some files (Makefile, main_linux.cpp), and fixed some linux-specific problems and got it to run under linux.
A page where you can find the patch (or an archive with the changes), screenshots, and some experiences:
http://bloodgate.com/perl/irrlicht/techdemo.html
Cheers,
Tels
to warm-up, I tried to compile the techdemo. Since this failed, too, I added some files (Makefile, main_linux.cpp), and fixed some linux-specific problems and got it to run under linux.
A page where you can find the patch (or an archive with the changes), screenshots, and some experiences:
http://bloodgate.com/perl/irrlicht/techdemo.html
Cheers,
Tels
Perl + Irrlicht + Audiere = Game: http://bloodgate.com/perl/game
I simple used the source posted over here:
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1533
and it compiles fine :-) I think we need a central developer forum for this, because two threads discussing the same in Beginners and Advanced is strange :)
Cheers,
Tels
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=1533
and it compiles fine :-) I think we need a central developer forum for this, because two threads discussing the same in Beginners and Advanced is strange :)
Cheers,
Tels
Perl + Irrlicht + Audiere = Game: http://bloodgate.com/perl/game