Compiler errors 与VTK相关的PCL链接器错误

Compiler errors 与VTK相关的PCL链接器错误,compiler-errors,makefile,vtk,archlinux,Compiler Errors,Makefile,Vtk,Archlinux,试图编译EPCL 1.7.2 机器:Archlinux 其他LIB: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/libvtkIOParalle

试图编译EPCL 1.7.2 机器:Archlinux

其他LIB: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] 
构建CXX对象io/tools/cmakfiles/pcl\u convert\u pcd\u ascii\u binary.dir/convert\u pcd\u ascii\u binary.cpp.o
[6%]链接CXX可执行文件.././bin/pcl\u convert\u pcd\u ascii\u二进制文件
/usr/lib/libvtkIOParallel.so.1:Json::Value::operator[]的未定义引用
/usr/lib/libvtkIOParallel.so.1:Json::Value::getMemberNames[abi:cxx11]()const的未定义引用
/usr/lib/libvtkIOParallel.so.1:Json::Reader::getFormattedErrorMessages[abi:cxx11]()const的未定义引用
/usr/lib/libvtkIOParallel.so.1:Json::Value::asString[abi:cxx11]()const的未定义引用
collect2:错误:ld返回了1个退出状态
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\u convert\u pcd\u ascii\u binary.dir/all]
谁能告诉我这些引用是什么Json::Value吗? 这是VTK的一部分还是一些可选库


有什么解决方法吗?

看来Archlinux&pcl也需要安装jsoncpp库。 (它是VTK的可选依赖项)