PDA

View Full Version : where to download the library for Mesatk and how to compile it



ResearchI49a
08-17-2004, 09:23 AM
I am using SuSE 8.2 and have installed mesaglu-devel,mesaglut-devel and mesa-devel libraries. But when I compile a simple program from http://www.opengltutorial.co.uk/ by gcc -o Hello_World Hello_World.cpp -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lMesaGL -lMesaGLU -lMesatk -lm, following errors are informed:

/usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld: cannot find -lMesatk
collect2: ld returned 1 exit status

So where to find the TK lib and how to install and compile it?

Thanks.

dorbie
08-17-2004, 09:32 AM
Just eliminate mesatk, I doubt a hello world program needs it. FWIW real programs link to glx and gl on linux using the standard ABI, as I said in my other reply.

Moving this thread to the Linux forum.