<div dir="ltr">Hi there,<br><br>I tried to compile 2.2.4 with opencascade support.<br>./configure --enable-occ --with-occ-prefix=/xxx/xxx with no problem<br>but when I 'make' it said:<br><br>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<br>
/usr/bin/ld: cannot find -lGmshPost<br>collect2: ld returned 1 exit status<br>make: *** [link] error 1<br><br>then I enter Post directory and 'make', and it said:<br><br>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<br>
PViewDataGModelIO.cpp: In member function 'bool PViewDataGModel::readMED(std::string, int)':<br>PViewDataGModelIO.cpp:214: error: 'MED_NOEUD_MAILLE' was not declared in this scope<br>PViewDataGModelIO.cpp: In member function 'virtual bool PViewDataGModel::writeMED(std::string)':<br>
PViewDataGModelIO.cpp:482: warning: deprecated conversion from string constant to 'char*'<br>make: *** [PViewDataGModelIO.o] error 1<br><br>What's the problem? <br><br></div>