[Gmsh] Linking errors
Oleg Kmechak
ofcrashbash at gmail.com
Tue Oct 16 04:01:07 CEST 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20181016/c59c0f11/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkingerror.zip
Type: application/zip
Size: 22741 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20181016/c59c0f11/attachment-0001.zip>
More information about the gmsh
mailing list