Dear Users/Developers,
I am trying to compile 1.7.1 in Fedora 5 and my compilers are located as follows:
/usr/bin/gcc: /usr/bin/g++; /usr/bin/gfortran. My tcl Lib is /usr/local/bin/Tcl/usr/lib/ libtcl8.4.so, libtcl.so, and Tk lib is /usr/local/bin/Tk/usr/lib/libtk8.4.so ,libtk.so.
On the other hand, my Graphics lib is specified as /usr/lib/libGL.so.1.2 and /usr/lib/libGLU.so.1.3.060402. Also, the libblitz is at /home/user_name/blitz/lblitz-0.9/lib/libblitz.la , intead of libblitz.a. Accordingly I have modifed the Make_def_Fedora4 file. However, I am getting the following error messages while compiling/linking.
-------------------------------------------------------------------------------------------------
....I/home/sukumar/blitz -c OpenGlRenderer.cpp -o OpenGlRenderer.o
OpenGlRenderer.cpp:50:20: error: GL/glu.h: No such file or directory
OpenGlRenderer.cpp: In member function ‘virtual int OpenGLRenderer::startImage() ’:
OpenGlRenderer.cpp:360: error: ‘gluLookAt’ was not declared in this scope
OpenGlRenderer.cpp:330: warning: unused variable ‘zMin’
OpenGlRenderer.cpp:372: warning: converting to ‘int’ from ‘double’
OpenGlRenderer.cpp:373: warning: converting to ‘int’ from ‘double’
OpenGlRenderer.cpp:374: warning: converting to ‘int’ from ‘double’
OpenGlRenderer.cpp:375: warning: converting to ‘int’ from ‘double’
make[2]: *** [OpenGlRenderer.o] Error 1
make[2]: Leaving directory `/home/sukumar/OpenSees/SRC/renderer'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sukumar/OpenSees/SRC'
make[1]: Entering directory `/home/sukumar/OpenSees/OTHER/METIS'
make -f Makefile.lib
make[2]: Entering directory `/home/sukumar/OpenSees/OTHER/METIS'
Makefile.lib:18: warning: overriding commands for target `.c.o'
../../Makefile.def:203: warning: ignoring old commands for target `.c.o'
ar cqls /home/sukumar/lib/libMetis.a util.o match.o coarsen.o memory.o fm.o GKl ib.o htable.o list.o refine.o bucketlist.o stat.o mlevelpart.o separator.o mleve lorder.o smbfactor.o smbfct.o mincover.o initpart.o lanczos.o mmd.o balpart.o kw aypart.o kwayfm.o kwaygreedy.o entrypoint.o io.o
ranlib /home/sukumar/lib/libMetis.a
make[2]: Leaving directory `/home/sukumar/OpenSees/OTHER/METIS'
make[1]: Leaving directory `/home/sukumar/OpenSees/OTHER/METIS'
LIBRARIES BUILT ... NOW LINKING OpenSees PROGRAM
make[1]: Entering directory `/home/sukumar/OpenSees/SRC/tcl'
make[1]: Nothing to be done for `tcl'.
make[1]: Leaving directory `/home/sukumar/OpenSees/SRC/tcl'
make[1]: Entering directory `/home/sukumar/OpenSees/SRC/modelbuilder/tcl'
make[2]: Entering directory `/home/sukumar/OpenSees/SRC/tcl'
make[2]: Nothing to be done for `tcl'.
make[2]: Leaving directory `/home/sukumar/OpenSees/SRC/tcl'
g++: /home/sukumar/lib/libOpenSees.a: No such file or directory
make[1]: *** [tcl] Error 1
make[1]: Leaving directory `/home/sukumar/OpenSees/SRC/modelbuilder/tcl'
make: *** [all] Error 2
-------------------------------------------------------------------------------------------------
Would any of you advice me where is the problem and how to solve it? Pl forgive me if I have provided extra details. Being new to Linux, I want not to miss relevant things in stating the problem. Thanks in advance.
Looking forward to hear from you
(Sukumar)
Compiling 1.7.1 in FedoraCore5 : Error reg OpenGL renderer
Moderators: silvia, selimgunay, Moderators
-
- Posts: 31
- Joined: Sun Jul 11, 2004 5:48 am
- Location: NERIST, Arunachal Pradesh, India,791109
- Contact: