<div dir="ltr">hello<br><br>I am using gmsh for some time now. Untill I installed gmsh from a debian package. <br>I tried to install the latest version from source (gmsh 2.3.1) from source.<br>The following error appeared: <br>
<br>szahib@szahib-laptop:~/gmsh-2.3.1$ ./configure<br>checking for gcc... gcc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>
checking for suffix of executables... <br>checking for suffix of object files... o<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ISO C89... none needed<br>
checking for g++... g++<br>checking whether we are using the GNU C++ compiler... yes<br>checking whether g++ accepts -g... yes<br>checking how to run the C preprocessor... gcc -E<br>checking for ranlib... ranlib<br>checking for ar... /usr/bin/ar<br>
checking for fltk-config... no<br>configure: error: Could not find fltk-config. Try --with-fltk-prefix?<br><br>What shoul I do?<br><br>I installed fltk and got the following message:<br><br> Gmsh has been configured for Linux with the following options: Fltk TreeBrowser Ann Gmm Chaco Metis Netgen MathEval Have64BitSizeT<br>
<br>C compiler: gcc<br>C++ compiler: g++<br>Linker: g++<br>Optimization flags: -g -O2<br><br>gut when I tried to use make I got the error:<br><br>/usr/bin/ar ruvs ../../lib/libGmshNetgen.a *.o libsrc/*/*.o<br>ranlib ../../lib/libGmshNetgen.a<br>
make[1]: Leaving directory `/home/szahib/gmsh-2.3.1/contrib/Netgen'<br>make[1]: Entering directory `/home/szahib/gmsh-2.3.1/contrib/MathEval'<br>make[1]: `../../lib/libGmshMathEval.a' is up to date.<br>make[1]: Leaving directory `/home/szahib/gmsh-2.3.1/contrib/MathEval'<br>
g++ -g -O2 -o bin/gmsh -Llib -lGmshFltk -lGmshCommon -lGmshMesh -lGmshGeo -lGmshPost -lGmshPlugin -lGmshCommon -lGmshGraphics -lGmshParser -lGmshNumeric -lGmshTreeBrowser -Wl,-Bsymbolic-functions -lfltk_images -lfltk_gl -lfltk -lGLU -lGL -lGmshANN -lGmshChaco -lGmshMetis -lGmshNetgen -lGmshMathEval -lm<br>
/usr/bin/ld: cannot find -lGmshFltk<br>collect2: ld returned 1 exit status<br>make: *** [link] Error 1<br><br>What should I do?<br><br>Best<br>Tsachi<br></div>