【发布时间】:2016-02-01 18:27:50
【问题描述】:
尝试编译 pcl 1.7.2 机器: Archlinux
其他库: vtk 6.2.x
我收到以下错误:
Building CXX object io/tools/CMakeFiles/pcl_convert_pcd_ascii_binary.dir/convert_pcd_ascii_binary.cpp.o
[ 6%] Linking CXX executable ../../bin/pcl_convert_pcd_ascii_binary
/usr/lib/libvtkIOParallel.so.1: undefined reference to `Json::Value::operator[](std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/lib/libvtkIOParallel.so.1: undefined reference to `Json::Value::getMemberNames[abi:cxx11]() const'
/usr/lib/libvtkIOParallel.so.1: undefined reference to `Json::Reader::getFormattedErrorMessages[abi:cxx11]() const'
/usr/lib/libvtkIOParallel.so.1: undefined reference to `Json::Value::asString[abi:cxx11]() const'
collect2: error: ld returned 1 exit status
io/tools/CMakeFiles/pcl_convert_pcd_ascii_binary.dir/build.make:287: polecenia dla obiektu 'bin/pcl_convert_pcd_ascii_binary' nie powiodły się
make[2]: *** [bin/pcl_convert_pcd_ascii_binary] Błąd 1
CMakeFiles/Makefile2:332: polecenia dla obiektu 'io/tools/CMakeFiles/pcl_convert_pcd_ascii_binary.dir/all' nie powiodły się
make[1]: *** [io/tools/CMakeFiles/pcl_convert_pcd_ascii_binary.dir/all]
谁能告诉我那些引用 Json::Value 是什么? 这是 VTK 的一部分 - 还是一些可选的库?
有什么解决办法吗?
【问题讨论】:
标签: compiler-errors makefile vtk archlinux