This is my first time posting on this forum and I am kinda desperate. I am taking a computer graphics class in college and we are using OpenGL. We are supposed to install Mesa in Linux if we want to work on our project at home which is what I am doing. Here is what I have accomplished so far
*I downloaded Mesalib-5.0.tar.gz and Mesademos-5.0.tar.gz from the Mesa website and extracted everything into a single directory.
*I ran make linux-86 to compile the libraries
*I copied over some of the libarary files to my lib directory as stated in the readme.x11 file in the docs directory that came with Mesa
Now I am trying to run a sample program that we were given and I am having no luck. When I type make, the program compiles fine, but when I try to run it a window pops up that says cannot find the program teatex_withmenu which is the name of the program I am trying to run. My make file is as follows...
INCLUDE_DIR = -I/usr/include/X11 -I/Marc/classwork/ceg477/Mesa-5.0 -I./ -I/usr/X11R6/include
LIBRARY_DIR = -L/usr/lib -L/Marc/classwork/ceg477/Mesa-5.0 -L/usr/X11R6/lib
LIBRARIES = -lglut -lGLw -lGLU -lGL -lX11 -lXext -lXm -lXt -lXmu -lm
COMPILER_FLAGS = -O -w
COMPILER = g++
OBJ_FILES = teatex_withMenu.o
EXEC = teatex_withMenu
$(COMPILER) $(COMPILER_FLAGS) -o $(EXEC) $(OBJ_FILES) \
teatex_withMenu.o : teatex_withMenu.c
$(COMPILER) $(COMPILER_FLAGS) $(INCLUDE_DIR) -c teatex_withMenu.c
\rm -f *.o *~ core
I was getting errors about bad symbols before I aded a couple more paths to the lib and include constants. Does anyone have any suggestions for me?? We have to fool with a bunch of sample programs and make some small changes to them before thursday and I can't even get them to run
I would greatly appreciate any help.