I stumbled upon the nehe tutorial and have found it absolutely incredible,
the depth and clarity make it invaluable. I have successfully compiled
under Delphi, but ultimately want to compile under Linux and finally use
togl to implement a tcl interface. But right now I am stuck. My problem
is such: I successfully(?) downloaded and installed Glut 3.7. I then
successfully got the first lesson to run correctly without drawing anything
on the screen. However, when I tried to run the second lesson (linux source
code), it compiled fine, but on running, it gave me the following error and
ended:
GenuineIntel cpu detected.
Katmai cpu detected.
Illegal instruction (core dumped)
This error only occurrs when I try to draw polygons or triangles, or anything on the screen.
I do not know how to make it work and would appreciate it if you could help
me pinpoint the problem. Thank you very much,
It sounds like you are using precompiled code somewhere that was not intended for your CPU. Make sure all the bits and pieces are compiled for your machine (binaries and libraries).
I first installed Mesa from some file I downloaded off of the internet. I then went and downloaded MEsaLib-3.2.1.tar.gz amd MesaDemos-3.3.zip. and installed them both. This time, I had to run make to install all of the files which made me feel better. However, upon recompiling, I still got the same message. Could my original install still be in there causing problems, and if so, how can I get rid of it?