[Gmsh] Compiling Gmsh - undefined reference to `Fl::w()

mglocken at aol.com mglocken at aol.com
Sun Jul 20 01:04:43 CEST 2008


Hello,

I have tried to compile Gmsh. Everything works fine up to the final call of g++. Then this error message is printed:

...
g++ -mwindows -I/c/Programme/FEM_GMSH/fltk-1.1.9 -I/c/Programme/FEM_GMSH/fltk-1.1.9/FL -o bin/gmsh.exe -Llib -lGmshFltk -lGmshParser -lGmshGraphics -lGmshPlugin -lGmshMesh -lGmshGeo -lGmshPost -lGmshCommon -lGmshDataStr -lGmshNumeric -lGmshParallel -L/c/Programme/FEM_GMSH/fltk-1.1.9/lib -lGmshNativeFileChooser -L/c/Programme/FEM_GMSH/fltk-1.1.9/lib -lGmshANN -lGmshNetgen -lGmshMathEval -L/c/Programme/FEM_GMSH/gsl-1.11 -L/c/Programme/FEM_GMSH/gsl-1.11/.libs -L/c/Programme/FEM_GMSH/gsl-1.11/cblas/.libs -lgsl -lgslcblas -lm Fltk/Win32Icon.res
lib/libGmshFltk.a(GUI.o)(.text+0x536):GUI.cpp: undefined reference to `Fl::w()'
lib/libGmshFltk.a(GUI.o)(.text+0x5b6):GUI.cpp: undefined reference to `Fl::test_shortcut(int)'
...
(there are a lot more lines with "undefined reference to `Fl:: ... " and with "undefined reference to `gl ... ", too)

The path to Fl.H is set with -I/c/Programme/FEM_GMSH/fltk-1.1.9/FL .

What´s wrong?



Greetings,

   Michael Glockenmeier

----------------------------------------------
Fa. Michael Glockenmeier
Dipl.-Ing. Michael Glockenmeier
Hauptstr. 55 c
D-86926 Greifenberg
Germany

Tel ++49 (0) 8192/933 185
Fax ++49 (0) 8192/933 186
Email mglocken at aol.com

Visit my site: www.femcfd.com

________________________________________________________________________
AOL eMail auf Ihrem Handy! Ab sofort können Sie auch unterwegs Ihre AOL email abrufen. Registrieren Sie sich jetzt kostenlos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20080719/5b539405/attachment.html>