[Gmsh] configure bug.

billy at dem.uminho.pt billy at dem.uminho.pt
Mon Jul 3 19:03:39 CEST 2006


Hi,

Although config does not find -ljpeg it still compiles with that option. There
must be something wrong with the configure file. 

g++ -g -O2 -o bin/gmsh -Llib -lGmshFltk -lGmshParser -lGmshGraphics -lGmshMesh
-lGmshGeo -lGmshPlugin -lGmshCommon -lGmshDataStr -lGmshNumeric -lGmshParallel
-L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib -lfltk_images -lpng -ljpeg -lz
-lfltk_gl -lGLU -lGL -lfltk -lm -lXext -lX11 -lsupc++ -lpng -lz -lGmshANN
-lGmshMetis -lGmshNetgen -lGmshMathEval -lgsl -lgslcblas -lm

/usr/bin/ld: cannot find -ljpeg
collect2: ld returned 1 exit status
make: *** [link] Error 1

I remove the flag -ljpeg and run it again and it compiles.

Billy.