0
我當我安裝CLHEP得到了一個錯誤,並鍵入「製作」這樣的:在安裝CLHEP的,我有這樣的錯誤:對建築x86_64的未定義符號:
Undefined symbols for architecture x86_64:
"CLHEP::HepVector::num_row() const", referenced from:
CLHEP::HepRandomVector::operator()() in RandomVector.cc.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]: *** [lib/libCLHEP-RandomObjects-2.1.4.1.dylib] Error 1
make[1]: *** [RandomObjects/src/CMakeFiles/RandomObjects.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 99%] Building CXX object RandomObjects/src/CMakeFiles/RandomObjectsS.dir/RandomVector.cc.o
[ 99%] Built target ExceptionsS
Linking CXX static library ../../lib/libCLHEP-RandomObjects-2.1.4.1.a
[ 99%] Built target RandomObjectsS
Linking CXX executable testInstanceRestore
[ 99%] Built target testInstanceRestore
make: *** [all] Error 2
你能不能幫我找出怎麼了?