Closed OsamaAlAhmadieh closed 1 year ago
@OsamaAlAhmadieh Yes, this is a problem with VTK. I don't think there is anything we can do on the PCL side. But are you sure that these are errors? I think they are just warnings which you can (safely) ignore.
@mvieth Thanks for the quick reply! I was so focused on getting rid of them didn't think of trying to run my code. Yes they were just warnings. Thanks
I have the same problem, have you solved it?
@mvieth感谢您的快速回复!我太专注于摆脱它们了,没有想到尝试运行我的代码。是的,它们只是警告。谢谢 Hello, I have the same warning as you, and I also have some additional errors regarding PCL. Could you help me with those?
WARNING io features related to pcap will be disabled
WARNING io features related to png will be disabled
CMake Warning (dev) at /home/rain/software/ide/clion/clion-2022.2.4/bin/cmake/linux/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(libusb-1.0)
does not match the name of the calling package (PCL). This can lead to
problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/usr/local/share/pcl-1.10/PCLConfig.cmake:285 (find_package_handle_standard_args)
/usr/local/share/pcl-1.10/PCLConfig.cmake:332 (find_libusb)
/usr/local/share/pcl-1.10/PCLConfig.cmake:535 (find_external_library)
CMakeLists.txt:45 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
WARNING io features related to libusb-1.0 will be disabled
-- QHULL found (include: /usr/include, lib: optimized;/usr/lib/x86_64-linux-gnu/libqhull.so;debug;/usr/lib/x86_64-linux-gnu/libqhull.so)
-- looking for PCL_COMMON
CMake Warning (dev) at /home/rain/software/ide/clion/clion-2022.2.4/bin/cmake/linux/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(PCL_COMMON)
does not match the name of the calling package (PCL). This can lead to
problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/usr/local/share/pcl-1.10/PCLConfig.cmake:603 (find_package_handle_standard_args)
CMakeLists.txt:45 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- looking for PCL_KDTREE
CMake Warning (dev) at /home/rain/software/ide/clion/clion-2022.2.4/bin/cmake/linux/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(PCL_KDTREE)
does not match the name of the calling package (PCL). This can lead to
problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/usr/local/share/pcl-1.10/PCLConfig.cmake:603 (find_package_handle_standard_args)
CMakeLists.txt:45 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
I get an error when building a project that uses pcl. I have the configuration in my CMakeLists.txt. The error is related to some vtk modules that can't be found.
Please paste the compilation results/errors.
To Reproduce
install pcl using
sudo apt install libpcl-dev
create dummy project to include pcl in its CMakeLists.txt according to this link form the documentation (minor changes for the version)
Screenshots/Code snippets/Build information Then the error that I get is the following:
Your Environment (please complete the following information):
Possible Solution
Additional context
It seems like a problem with vtk, I am sure I have the correct version of vtk installed for the corresponding pcl version (pcl 1.10 and vtk 7.1) I also made sure that these are the correct ones by running
dpkg -s libpcl-dev
and got the following result.In the dependencies we can see libvtkdev7.
Please Help!
Thank you!