<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#444444">Hello, </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#444444"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#444444">Build of GMSH and running test was done by 100%.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#444444"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#444444">But when I am trying to use it in my cmake project, it poduces tons of linking erros(some of them, full list in attachment):</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:#444444"><br></div><div class="gmail_default" style=""><div style="line-height:19px">[build] /home/oleg/Source/gmsh/Geo/GModelIO_OCC.cpp:173: error: undefined reference to 'TCollection_BasicMapIterator::Next()'<br>[build] /usr/include/oce/TopTools_DataMapOfIntegerShape.hxx:47: error: undefined reference to 'TopTools_DataMapOfIntegerShape::Clear()'<br>[build] /usr/include/oce/TopTools_DataMapOfShapeInteger.hxx:47: error: undefined reference to 'TopTools_DataMapOfShapeInteger::Clear()'<br>[build] /home/oleg/Source/gmsh/Geo/GModelIO_OCC.cpp:2510: error: undefined reference to 'BRepAlgoAPI_BooleanOperation::Generated(TopoDS_Shape const&)<br>[build] /usr/include/FL/Fl_Tooltip.H:72: error: undefined reference to 'Fl_Tooltip::size_'<br><br>Example of configuration in Cmake file: </div><div style="line-height:19px"><br>message("GMSH setup")<br>include_directories(/usr/local/gmsh/include)<br>link_directories(/usr/local/gmsh/lib)<br>add_executable(riversim ${sources})<br>target_link_libraries(riversim libgmsh.a)<div style=""><div style="line-height:19px"><div style=""><div style="line-height:19px"><div style="line-height:19px"><div style="line-height:19px"><div style=""><div style="line-height:19px"><br></div><div style="line-height:19px">With regards, </div><div style="line-height:19px">Oleg Kmechak</div></div></div></div></div></div></div></div></div></div></div>