[Gmsh] compile error: cannot find -lGmshPost
Yongjin Liu
yongjin.liu at gmail.com
Wed Oct 1 16:03:18 CEST 2008
Hi there,
I tried to compile 2.2.4 with opencascade support.
./configure --enable-occ --with-occ-prefix=/xxx/xxx with no problem
but when I 'make' it said:
g++ -g -O2 -o bin/gmsh -Llib -lGmshFltk -lGmshCommon -lGmshGeo -lGmshMesh
-lGmshPlugin -lGmshPost -lGmshCommon -lGmshGraphics -lGmshParser
-lGmshNumeric -lfltk_images -lfltk_gl -lfltk -lGLU -lGL -ljpeg -lpng
-lGmshANN -lGmshChaco -lGmshMetis -lGmshNetgen -lGmshMathEval -lgsl
-lgslcblas -lmed -lhdf5 -lz -lm
/usr/bin/ld: cannot find -lGmshPost
collect2: ld returned 1 exit status
make: *** [link] error 1
then I enter Post directory and 'make', and it said:
g++ -g -O2 -DHAVE_LIBZ -DHAVE_GSL -DHAVE_MATH_EVAL -DHAVE_NETGEN -DHAVE_ANN
-DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_FLTK -I/usr/include/freetype2
-DHAVE_CHACO -DHAVE_METIS -DHAVE_MED -I../Common -I../Geo -I../Mesh
-I../Post -I../Graphics -I../Numeric -I../Parser -I../Plugin -I../Fltk
-I../contrib/MathEval -I../contrib/ANN/include -c PViewDataGModelIO.cpp
PViewDataGModelIO.cpp: In member function 'bool
PViewDataGModel::readMED(std::string, int)':
PViewDataGModelIO.cpp:214: error: 'MED_NOEUD_MAILLE' was not declared in
this scope
PViewDataGModelIO.cpp: In member function 'virtual bool
PViewDataGModel::writeMED(std::string)':
PViewDataGModelIO.cpp:482: warning: deprecated conversion from string
constant to 'char*'
make: *** [PViewDataGModelIO.o] error 1
What's the problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20081001/ef54fce0/attachment.html>