When trying to "make" the HelloWorld example I get the following errors...
Code: Select all
[caecus@localhost 1.HelloWorld]$ make
g++ main.cpp -o example -I"../../include" -I"/usr/X11R6/include" -L"/usr/X11R6/lib" -L"../../source" -L"../../source/jpeglib" -L"../../source/zlib" -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lz -ljpeg
/lib/libIrrlicht.a(CSurfaceLoaderJPG.o)(.text+0x25f): In function `irr::video::CSurfaceLoaderJPG::loadImage(irr::io::IReadFile*)':
: undefined reference to `jpeg_std_error'
/lib/libIrrlicht.a(CSurfaceLoaderJPG.o)(.text+0x27e): In function `irr::video::CSurfaceLoaderJPG::loadImage(irr::io::IReadFile*)':
: undefined reference to `jpeg_CreateDecompress'
/lib/libIrrlicht.a(CSurfaceLoaderJPG.o)(.text+0x2d9): In function `irr::video::CSurfaceLoaderJPG::loadImage(irr::io::IReadFile*)':
: undefined reference to `jpeg_resync_to_restart'
/lib/libIrrlicht.a(CSurfaceLoaderJPG.o)(.text+0x2f4): In function `irr::video::CSurfaceLoaderJPG::loadImage(irr::io::IReadFile*)':
: undefined reference to `jpeg_read_header'
/lib/libIrrlicht.a(CSurfaceLoaderJPG.o)(.text+0x306): In function `irr::video::CSurfaceLoaderJPG::loadImage(irr::io::IReadFile*)':
: undefined reference to `jpeg_start_decompress'
/lib/libIrrlicht.a(CSurfaceLoaderJPG.o)(.text+0x430): In function `irr::video::CSurfaceLoaderJPG::loadImage(irr::io::IReadFile*)':
: undefined reference to `jpeg_read_scanlines'
/lib/libIrrlicht.a(CSurfaceLoaderJPG.o)(.text+0x468): In function `irr::video::CSurfaceLoaderJPG::loadImage(irr::io::IReadFile*)':
: undefined reference to `jpeg_finish_decompress'
/lib/libIrrlicht.a(CSurfaceLoaderJPG.o)(.text+0x47a): In function `irr::video::CSurfaceLoaderJPG::loadImage(irr::io::IReadFile*)':
: undefined reference to `jpeg_destroy_decompress'
collect2: ld returned 1 exit status
make: *** [all] Error 1
And when trying to "make" the engine lib after unzipping source I get the following errors...
Code: Select all
g++ -c CVideoOpenGL.cpp -o CVideoOpenGL.o --static -I"include/"
CVideoOpenGL.cpp: In member function `virtual void
irr::video::CVideoOpenGL::drawIndexedTriangleList(const
irr::video::S3DVertex*, int, const u16*, int)':
CVideoOpenGL.cpp:311: `glClientActiveTextureARB' undeclared (first use this
function)
CVideoOpenGL.cpp:311: (Each undeclared identifier is reported only once for
each function it appears in.)
CVideoOpenGL.cpp: In member function `void
irr::video::CVideoOpenGL::setTexture(int, irr::video::ITexture*)':
CVideoOpenGL.cpp:626: `glActiveTextureARB' undeclared (first use this function)
make: *** [CVideoOpenGL.o] Error 1
I have MesaGL devel RPM and the jpeglib devel rpm installed (as well as the non devel counterparts)...
I'm really new to all this Linux stuff, I hope someone here can give me some help.