[Gmsh] gmsh 2.0.8 stable failed to compile on SuSE 10.1 64

=?windows-1252?Q?Jean-Fran=8D=E7ois_Remacle?= jean-francois.remacle at uclouvain.be
Thu Sep 20 09:25:36 CEST 2007


pei-ying.hsieh at siemens.com a écrit :
>
> Dear GMSH developers:
>
> I had no problem compiling gmsh-2.0.8-nightly-20070529 (and any 
> release before that)  on a SuSE 10.1 64-bit OS.
> I downloaded gmsh-2.0.8-stable-source and it failed to compile. 
>  Attached is the error.  Any suggestion will be highly
> appreciated.
>
It looks like you were not able to compile one of the libraries of gmsh, 
libGlshFltk (the GUI) for which the
sources are in gmsh/Fltk. Go into that directory and try to make the 
library. Perhaps you have a very old
version of fltk ??





> Best Regards,
>
> Pei
> ------------------------------------
> a - libsrc/general/symbolta.o
> a - libsrc/general/mystring.o
> a - nglib_addon.o
> ranlib ../../lib/libGmshNetgen.a
> make[1]: Leaving directory `/home/peiying/gmsh/gmsh-2.0.8/contrib/Netgen'
> make[1]: Entering directory 
> `/home/peiying/gmsh/gmsh-2.0.8/contrib/MathEval'
> g++ -g -O2 -DHAVE_LIBZ -DHAVE_GSL -DHAVE_MATH_EVAL -DHAVE_NETGEN 
> -DHAVE_ANN_ -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_FLTK 
>  -I/usr/local/include -I/usr/X11R6/include -DHAVE_64BIT_SIZE_T 
> -I../../Common -I../../DataStr  -c matheval.cpp
> g++ -g -O2 -DHAVE_LIBZ -DHAVE_GSL -DHAVE_MATH_EVAL -DHAVE_NETGEN 
> -DHAVE_ANN_ -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_FLTK 
>  -I/usr/local/include -I/usr/X11R6/include -DHAVE_64BIT_SIZE_T 
> -I../../Common -I../../DataStr  -c node.cpp
> g++ -g -O2 -DHAVE_LIBZ -DHAVE_GSL -DHAVE_MATH_EVAL -DHAVE_NETGEN 
> -DHAVE_ANN_ -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_FLTK 
>  -I/usr/local/include -I/usr/X11R6/include -DHAVE_64BIT_SIZE_T 
> -I../../Common -I../../DataStr  -c scanner.yy.cpp
> g++ -g -O2 -DHAVE_LIBZ -DHAVE_GSL -DHAVE_MATH_EVAL -DHAVE_NETGEN 
> -DHAVE_ANN_ -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_FLTK 
>  -I/usr/local/include -I/usr/X11R6/include -DHAVE_64BIT_SIZE_T 
> -I../../Common -I../../DataStr  -c parser.tab.cpp
> g++ -g -O2 -DHAVE_LIBZ -DHAVE_GSL -DHAVE_MATH_EVAL -DHAVE_NETGEN 
> -DHAVE_ANN_ -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_FLTK 
>  -I/usr/local/include -I/usr/X11R6/include -DHAVE_64BIT_SIZE_T 
> -I../../Common -I../../DataStr  -c symbol_table.cpp
> g++ -g -O2 -DHAVE_LIBZ -DHAVE_GSL -DHAVE_MATH_EVAL -DHAVE_NETGEN 
> -DHAVE_ANN_ -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_FLTK 
>  -I/usr/local/include -I/usr/X11R6/include -DHAVE_64BIT_SIZE_T 
> -I../../Common -I../../DataStr  -c xmath.cpp
> /usr/bin/ar ruvs ../../lib/libGmshMathEval.a matheval.o node.o 
> scanner.yy.o parser.tab.o symbol_table.o xmath.o
> /usr/bin/ar: creating ../../lib/libGmshMathEval.a
> a - matheval.o
> a - node.o
> a - scanner.yy.o
> a - parser.tab.o
> a - symbol_table.o
> a - xmath.o
> ranlib ../../lib/libGmshMathEval.a
> make[1]: Leaving directory 
> `/home/peiying/gmsh/gmsh-2.0.8/contrib/MathEval'
> g++ -g -O2 -o bin/gmsh -Llib -lGmshFltk -lGmshParser -lGmshGraphics 
> -lGmshMesh -lGmshGeo -lGmshPlugin -lGmshPost -lGmshCommon 
> -lGmshDataStr -lGmshNumeric -lGmshParallel -L/usr/local/lib 
> -L/usr/X11R6/lib64 -lfltk_images -lpng -lz -ljpeg -lfltk_gl -lGLU -lGL 
> -lfltk -ldl -lm -lXext -lX11 -ljpeg -lpng -lGmshANN -lGmshNetgen 
> -lGmshMathEval -lgsl -lgslcblas -lz -lm
> /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: 
> cannot find -lGmshFltk
> collect2: ld returned 1 exit status
> make: *** [link] Error 1
> peiying at pluto:~/gmsh/gmsh-2.0.8>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
>