Im getting the error when building the helloworld example:
Makefile:29: Building...
g++ -I../../include -I/usr/X11R6/include -O3 -ffast-math main.cpp -o ../../bin/Linux/01.HelloWorld -L/usr/X11R6/lib -L../../lib/Linux -lIrrlicht -lGL -lGLU -lXxf86vm -lXext -lX11
../../lib/Linux/libIrrlicht.a(COpenGLDriver.o): In function `irr::video::COpenGLDriver::loadExtensions()':
/home/dan/programming/irrlicht-1.3/source/Irrlicht/COpenGLDriver.cpp:581: undefined reference to `glXGetProcAddress'
collect2: ld returned 1 exit status
make: *** [all_linux] Error 1
What am i missing / doing wrong?
Anyone got this working with ubuntu?
First do a make clean to remove anything the failed make may have created.
Follow the instructions at this link
http://www.irrlicht3d.org/wiki/index.ph ... uildUbuntu
worked for me.
Can compile and run tutorial programs so I know it's working, just having trouble compiling and running my own code.
I can't get it to link.
Follow the instructions at this link
http://www.irrlicht3d.org/wiki/index.ph ... uildUbuntu
worked for me.
Can compile and run tutorial programs so I know it's working, just having trouble compiling and running my own code.
I can't get it to link.