Fedora 5 Nvidia install problem

Every time I install Fedora with the Nvidia driver I have a new adventure.

I have a longstanding program in flight simulation that ran fine on Fedora 4 with about a 6xxx installer. Now redoing the system I installed Fedora 5 with the 8762 Nvidia drivers. X windows work fine, but I get the following types of errors (see below) and I present some of the top of the Makefile. I cannot find where the bloody libraries went? I think that is the root of the problem.

Makefile:

CC = g++

CFLAGS = -g -Wall -D__USE_FIXED_PROTOTYPES__ -w -Wno-deprecated

LDFLAGS = -lGL -lGLU -lglut -lm -lX11

LIBDIR = -L/usr/local/lib -L/usr/lib -L/usr/X11R6/lib

INCDIR = -I/usr/include -I/usr/X11R6/include

SRCS = flightdetail20.cc landdetail55.cc comm001.cc texture.cc constants.cc comm_variables.cc flight_variables.cc 3ds.cc

OBJS = $(SRCS:.cc=.o)
PROGS = teapotdetail

default : $(PROGS)

$(PROGS) : depend $(OBJS)
$(CC) -o $@ $(OBJS) $(LIBDIR) $(LDFLAGS) /usr/local/lib/lib3ds.a

depend:: Makefile.dependencies $(SRCS) $(HDRS)

Makefile.dependencies:: $(SRCS) $(HDRS)
$(CC) $(CFLAGS) $(INCDIR) -MM $(SRCS) > Makefile.dependencies

-include Makefile.dependencies

clean :
/bin/rm -f *.o a.out core $(PROGS) Makefile.dependencies ~ #

TAGS : $(SRCS) $(HDRS)
etags -t $(SRC8iS) $(HDRS)

Errors:

[root@localhost detailFiles]# make
g++ -c -o flightdetail20.o flightdetail20.cc
In file included from flightdetail20.cc:15:
flight.h:4:21: error: GL/glut.h: No such file or directory
flight.h:32: error: ‘GLfloat’ does not name a type
flight.h:33: error: ‘GLfloat’ does not name a type
flight.h:34: error: ‘GLfloat’ does not name a type
flight.h:35: error: ‘GLfloat’ does not name a type
flight.h:37: error: ‘GLfloat’ does not name a type
flight.h:39: error: ‘GLfloat’ does not name a type
flight.h:42: error: ‘GLfloat’ does not name a type
land1.h:51: error: expected initializer before ‘’ token
land1.h:53: error: ‘GLfloat’ does not name a type
land1.h:54: error: ‘GLfloat’ does not name a type
land1.h:56: error: expected initializer before ‘
’ token
land1.h:59: error: ‘GLint’ does not name a type
land1.h:60: error: ‘GLint’ does not name a type
land1.h:61: error: ‘GLint’ does not name a type
land1.h:62: error: ‘GLint’ does not name a type
land1.h:63: error: ‘GLint’ does not name a type
land1.h:64: error: ‘GLint’ does not name a type
land1.h:65: error: ‘GLint’ does not name a type
land1.h:66: error: ‘GLint’ does not name a type
land1.h:67: error: ‘GLint’ does not name a type
land1.h:68: error: ‘GLint’ does not name a type
land1.h:69: error: ‘GLint’ does not name a type
land1.h:70: error: ‘GLint’ does not name a type
land1.h:71: error: ‘GLint’ does not name a type
land1.h:72: error: ‘GLint’ does not name a type
land1.h:73: error: ‘GLint’ does not name a type
land1.h:74: error: ‘GLint’ does not name a type
land1.h:75: error: ‘GLint’ does not name a type
land1.h:76: error: ‘GLint’ does not name a type
land1.h:77: error: ‘GLint’ does not name a type
land1.h:78: error: ‘GLint’ does not name a type
land1.h:79: error: ‘GLint’ does not name a type
land1.h:80: error: ‘GLint’ does not name a type
land1.h:81: error: ‘GLint’ does not name a type
land1.h:82: error: ‘GLint’ does not name a type
land1.h:83: error: ‘GLint’ does not name a type
land1.h:84: error: ‘GLint’ does not name a type

First, make sure you have glut.h file in /usr/include/GL directory. Or, query if a glut lib is installed on your system.

If it is not there, install a glut package in your system. I guess the default one is freeglut.

Thanks. I thought I did not have to install glut last time, but indeed I did. I also had to reinstall the 3ds libvraries and they went to a new place. It is compilking, but I have another problem, which I will make a new post about.