You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
cmake find_package not able to find image and opencv module when using ifm3d binaries on windows.
To Reproduce
find_package(ifm3d 0.18.0 CONFIG
REQUIRED COMPONENTS image opencv
)
Expected behavior
.find package should work without showing the path issues for pcl and opencv libs
Output/Screenshots
CMake Error in CMakeLists.txt:
Imported target "ifm3d::image" includes non-existent path
"C:/deps/install/include/pcl-1.8"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
The path was deleted, renamed, or moved to another location.
An install or uninstall procedure did not complete successfully.
The installation package was faulty and references files it does not
provide.
Configuration/Environment (please complete the following information):
OS: [Windows 10]
ifm3d version: [e.g. 0.18.0]
using ROS: [no]
Additional context
The issue is with Github Binary, cmake *-target.config files contains local path. This is case with Linux system also but issue is not found on Linux systems as dependent lib are install at pre-defined system path. on further investigation it is found that only headers of pcl and opencv are used and hence libraries are not linked to this image and opencv module making cmake appending the local path of build system in the generated cmake target config files.
The text was updated successfully, but these errors were encountered:
Describe the bug
cmake find_package not able to find image and opencv module when using ifm3d binaries on windows.
To Reproduce
find_package(ifm3d 0.18.0 CONFIG
REQUIRED COMPONENTS image opencv
)
Expected behavior
.find package should work without showing the path issues for pcl and opencv libs
Output/Screenshots
CMake Error in CMakeLists.txt:
Imported target "ifm3d::image" includes non-existent path
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
The path was deleted, renamed, or moved to another location.
An install or uninstall procedure did not complete successfully.
The installation package was faulty and references files it does not
provide.
Configuration/Environment (please complete the following information):
Additional context
The issue is with Github Binary, cmake *-target.config files contains local path. This is case with Linux system also but issue is not found on Linux systems as dependent lib are install at pre-defined system path. on further investigation it is found that only headers of pcl and opencv are used and hence libraries are not linked to this image and opencv module making cmake appending the local path of build system in the generated cmake target config files.
The text was updated successfully, but these errors were encountered: