Trouble linking to GLU.
Dirk Mittler <[email protected]> Mon, 29 Mar 2010 19:42:10 -0400
| Newsgroups | gmane.comp.video.cinepaint.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello.
I've just been pursuing a flight of fancy of mine, that I might be able
to custom-compile Cinepaint 0.25 for my Debian/Lenny box.
But after I do the CVS checkout successfully and run 'make', I run into
this link error:
Verknuepfen iccexamin ...
c++ -I/usr/local/include -I/usr/X11R6/include -I. -I/usr/include/g++
-I/usr/include -I/usr/local/include -I/usr/X11R6/include -I.
-I/usr/include/g++ -I/usr/include -I/usr/include/freetype2
-D_THREAD_SAFE -D_REENTRANT -I/usr/X11R6/include -I/usr/include -o
iccexamin \
icc_main.o icc_oyranos_extern.o flstring.o vsnprintf.o
icc_argyll.o agviewer.o icc_cgats_filter.o icc_draw.o icc_examin.o
icc_examin_farbraum.o icc_examin_io.o icc_examin_tagwahl.o icc_fenster.o
icc_formeln.o icc_gamut.o icc_gl.o icc_helfer.o icc_info.o icc_kette.o
icc_measurement.o icc_modell_beobachter.o icc_oyranos.o icc_profile.o
icc_profile_header.o icc_profile_tags.o icc_schnell.o icc_speicher.o
icc_thread_daten.o icc_ueber.o icc_utils.o icc_vrml.o icc_vrml_parser.o
threads.o icc_helfer_fltk.o icc_helfer_x.o icc_betrachter.o
my_file_chooser.o my_file_chooser2.o \
-L. -ldl -L/usr/local/lib -L./ fl_i18n/libfl_i18n.a
-lfltk_images -lfltk_gl -lfltk -L/usr/X11R6/lib -L/usr/lib
-L/usr/local/lib -lX11 -lXpm -lXext -lXinerama -llcms -L/lib -llcms
agviewer.o: In function `Agviewer::FlyLookFrom(float, float, float,
float, float)':
agviewer.cpp:(.text+0x2b37): undefined reference to `gluLookAt'
icc_gl.o: In function `GL_Ansicht::setzePerspektive()':
icc_gl.cpp:(.text+0x23f3): undefined reference to `gluPerspective'
icc_gl.cpp:(.text+0x2429): undefined reference to `gluPerspective'
icc_gl.o: In function `GL_Ansicht::punkteAuffrischen()':
icc_gl.cpp:(.text+0xacbf): undefined reference to `gluNewQuadric'
icc_gl.cpp:(.text+0xb43a): undefined reference to `gluSphere'
BTW, I've tried first without, and then with
./configure --with-gnu-ld
but the results are the same. Could anybody give me advice on how to
make these makefiles, which are auto-generated, link to opengl and glu?
I've also done a later CVS checkout of the code, but there haven't been
any updates to it since I first ran in to this error.
Dirk
--
You can visit my CGI at:
http://www.dirkmittler.net/GallIndex.htm
(Spelled ... lower-case el - el - Capital Eye ... ndex.htm)
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev