Hello,

Build of GMSH and running test was done by 100%.

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):

[build] /home/oleg/Source/gmsh/Geo/GModelIO_OCC.cpp:173: error: undefined
reference to 'TCollection_BasicMapIterator::Next()'
[build] /usr/include/oce/TopTools_DataMapOfIntegerShape.hxx:47: error:
undefined reference to 'TopTools_DataMapOfIntegerShape::Clear()'
[build] /usr/include/oce/TopTools_DataMapOfShapeInteger.hxx:47: error:
undefined reference to 'TopTools_DataMapOfShapeInteger::Clear()'
[build] /home/oleg/Source/gmsh/Geo/GModelIO_OCC.cpp:2510: error: undefined
reference to 'BRepAlgoAPI_BooleanOperation::Generated(TopoDS_Shape const&)
[build] /usr/include/FL/Fl_Tooltip.H:72: error: undefined reference to
'Fl_Tooltip::size_'

Example of configuration in Cmake file:

message("GMSH setup")
include_directories(/usr/local/gmsh/include)
link_directories(/usr/local/gmsh/lib)
add_executable(riversim ${sources})
target_link_libraries(riversim libgmsh.a)

With regards,
Oleg Kmechak

<<attachment: linkingerror.zip>>

_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to