yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #12455
[Question #291725]: Yade undefined symbol
New question #291725 on Yade:
https://answers.launchpad.net/yade/+question/291725
Dear Group,
I am trying to build yade on a Centos7 Box. I compiled the code but when I run it I get this error
yade-1.20.0
Welcome to Yade 1.20.0
Traceback (most recent call last):
File "/usr/local/yade/1.20.0/bin/yade-1.20.0", line 129, in <module>
import yade
File "/usr/local/yade/1.20.0/lib64/yade-1.20.0/py/yade/__init__.py", line 65, in <module>
import boot
ImportError: /usr/local/yade/1.20.0/lib64/yade-1.20.0/libyade.so: undefined symbol: _ZN4CGAL14assertion_failEPKcS1_iS1_
Could anyone please assist me with what went wrong?
I am using the following prerequisites (using modules)
1) gcc/4.9.1 3) libQGLViewer/2.6.3 5) cgal/4.8 7) gts/0.7.6
2) anaconda/2.1.0 4) gmp/6.0.0 6) loki/0.1.7
My cmake command was
cmake -v -DQGLVIEWER_INCLUDE_DIR=/usr/local/libQGLViewer/2.6.3/include -DQGLVIEWER_LIBRARIES=/usr/local/libQGLViewer/2.6.3/lib -DLOKI_INCLUDE_DIR=$LOKI_INCLUDE_DIR -DLOKI_LIBRARY=$LOKI_LIBRARY -DCMAKE_INSTALL_PREFIX=/usr/local/yade/1.20.0 -DCMAKE_PREFIX_PATH=/usr/local/cgal/4.8:/usr/include/vtk -DVTK_INCLUDE_DIRS=/usr/include/vtk -DCGAL_INCLUDE_DIR=/usr/local/cgal/4.8/include -DCGAL_LIBRARIES=/usr/local/cgal/4.8/lib ../trunk-1.20.0/
Despite the command, I found that an incorrect path to vtk was generated (-I//include/vtk) to I edited CMakeFiles/boot.dir/flags.make and CMakeFiles/yade.dir/flags.make to fix this. (I have no experience in CMAKE so was unclear on how to fix this via the command line options)
regards
Simon Michnowicz
--
You received this question notification because your team yade-users is
an answer contact for Yade.