[CIG-SHORT] install error of Virtual Quake 3.0

Zhou Yu zhouyuking39 at qq.com
Mon Mar 20 02:10:32 PDT 2017


Dear developers of Virtual Quake:
         I’ve got a problem when I tried to install Virtual Quake 3.0 from the source code.
I downloaded the source code tarball and followed instructions of chapter 3 the Virtual Quake 3.0 mannual exactly.
This is the procedure undertaken on my OS X 10.10:


mkdir build
cd build
cmake -DPYTHON_EXECUTABLE=/opt/anaconda/bin/python \
       -DPYTHON_LIBRARY=/opt/anaconda/lib/libpython2.7.dylib \
       -DPYTHON_INCLUDE_DIR=/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/ ..
make

Then an error prompted out as following:
[  2%] Building CXX object quakelib/CMakeFiles/quakelib.dir/src/QuakeLibElement.cpp.o
[  5%] Building CXX object quakelib/CMakeFiles/quakelib.dir/src/QuakeLibEQSim.cpp.o
[  7%] Building CXX object quakelib/CMakeFiles/quakelib.dir/src/QuakeLibIO.cpp.o
[ 10%] Building CXX object quakelib/CMakeFiles/quakelib.dir/src/QuakeLibOkada.cpp.o
[ 12%] Building CXX object quakelib/CMakeFiles/quakelib.dir/src/QuakeLibUtil.cpp.o
[ 15%] Linking CXX static library libquakelib.a
[ 15%] Built target quakelib
[ 17%] Building CXX object src/CMakeFiles/mesher.dir/mesher.cpp.o
[ 20%] Linking CXX executable mesher
Undefined symbols for architecture x86_64:
  "_H5LTset_attribute_string", referenced from:
      quakelib::ModelWorld::write_fault_hdf5(int const&) const in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelWorld::write_section_hdf5(int const&) const in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelWorld::write_element_hdf5(int const&) const in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelWorld::write_vertex_hdf5(int const&) const in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelSweeps::setup_sweeps_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelEvent::setup_event_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelStress::setup_stress_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      ...
  "_H5TBappend_records", referenced from:
      quakelib::ModelSweeps::append_sweeps_hdf5(int const&) const in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelEvent::append_event_hdf5(int const&) const in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelStress::append_stress_hdf5(int const&) const in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelStressState::append_stress_state_hdf5(int const&) const in libquakelib.a(QuakeLibIO.cpp.o)
  "_H5TBget_table_info", referenced from:
      quakelib::ModelWorld::read_fault_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelWorld::read_section_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelWorld::read_element_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelWorld::read_vertex_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelEventSet::read_events_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelEventSet::read_sweeps_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelEventSet::append_events_hdf5(int const&, double const&, unsigned int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      ...
  "_H5TBmake_table", referenced from:
      quakelib::ModelWorld::write_fault_hdf5(int const&) const in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelWorld::write_section_hdf5(int const&) const in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelWorld::write_element_hdf5(int const&) const in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelWorld::write_vertex_hdf5(int const&) const in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelSweeps::setup_sweeps_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelEvent::setup_event_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelStress::setup_stress_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      ...
  "_H5TBread_records", referenced from:
      quakelib::ModelWorld::read_fault_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelWorld::read_section_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelWorld::read_element_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelWorld::read_vertex_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelEventSet::read_events_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelEventSet::read_sweeps_hdf5(int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      quakelib::ModelEventSet::append_events_hdf5(int const&, double const&, unsigned int const&) in libquakelib.a(QuakeLibIO.cpp.o)
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/mesher] Error 1
make[1]: *** [src/CMakeFiles/mesher.dir/all] Error 2
make: *** [all] Error 2

My python environment is Anaconda, and I installed cmake  package via home-brew. I don’t think there are any problems in both of them.
Since the error message implies that the mistake occurred in linking, I’ve got no clue about it.

Would you please help me with this problem? Thanks.

Best regards,

yours faithfully
ZHOU Yu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20170320/0e395324/attachment-0001.html>


More information about the CIG-SHORT mailing list