I'm trying to compile the HelloWorld example on Linux. I previously had it working
until I re-installed because I screwed something up. :P
Now when I go to the HelloWorld directory, and execute a make there, I get:
Code: Select all
me@linux:~/Irrlicht/examples/01.HelloWorld> make
g++ main.cpp -o example -I"../../include" -I"/usr/X11R6/include" -L"/usr/X11R6/lib" -L"../../lib/Linux" -lIrrlicht -lGL -lGLU -lXxf86vm -lXext -lX11
/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
make: *** [all] Error 1
I've been using C# lately, and I just came back to C++ after a long time off. What do I do? ;)
Thanks in advance.
[EDIT]: I just did a search, and somehow I don't have lGLU on my system. 0.o Do I recompile it from source or get the .a file from the internet? Then I'll hopefully be on my way.