Guten Abend zusammen,
ich möchte für die Uni eine .cpp-Datei kompilieren und nutze dafür das mitgelieferte Makefile. Meine Konsole gibt mir da aber nur folgendes aus:
Außerdem hab ich den neuen ATI-Treiber drauf und im ReadMe dazu steht irgendwas von wegen
Ach ja, noch was:
bringen beide nix...
Vielen Dank schon mal für alles
PS. bin übrigens Linux-noob
ich möchte für die Uni eine .cpp-Datei kompilieren und nutze dafür das mitgelieferte Makefile. Meine Konsole gibt mir da aber nur folgendes aus:
Code:
linux:/home/ckw/Documents/MaPra/a2_2 # make
g++ -Wall -W -g -o a2 meina2.o unit2.o -L/usr/X11R6/lib -lGL -lGLU -lglut -lpthread -lX11 -lXi -lXmu -L. -lIGL
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot fi nd -lGL
collect2: ld returned 1 exit status
make: *** [a2] Fehler 1
Außerdem hab ich den neuen ATI-Treiber drauf und im ReadMe dazu steht irgendwas von wegen
Update on ATI GL library
------------------------
Since release 8.08/8.8.25 the ATI driver no longer works together
(hardware accelerated) with the standard OpenGL library. Therefore
LD_LIBRARY_PATH is now set to
/usr/lib/fglrx/lib:$LD_LIBRARY_PATH (IA32)
/usr/lib64/fglrx/lib:/usr/lib/fglrx/lib:$LD_LIBRARY_PATH (AMD64)
by default (by specifying this in /etc/profile.d/fglrx.{sh,csh}).
Unfortunately the use of LD_LIBRARY_PATH does not work for
setuid/setgid binaries (e.g. chromium/trackballs) because of obvious
security reasons. If you rely on such programs you might consider to
add "/usr/lib/fglrx/lib" (and "/usr/lib64/fglrx/lib" on AMD64) to
your /etc/ld.so.conf and call "ldconfig" right after this. Make sure
you insert it before /usr/lib and /usr/lib64 on AMD64.
Ach ja, noch was:
Code:
find /usr -name libGL.a
find /usr -name libGL.*.so
bringen beide nix...
Vielen Dank schon mal für alles
PS. bin übrigens Linux-noob