Closed robinbansal08 closed 6 days ago
Hi @robinbansal08, I can confirm that I can reproduce this.
And actually, when building the library with BUILD_SHARED_LIBS=ON, I have a similar issue, when building our examples:
0.281 CMake Error at ods/CMakeLists.txt:44 (add_executable):
0.281 Target "ods_get_data" links to target "ifm3d::framegrabber" but the target
0.281 was not found. Perhaps a find_package() call is missing for an IMPORTED
0.281 target, or an ALIAS target is missing?
We will work on fixing this.
In the meantime, please use the official release of ifm3d, the latest right now is 1.5.3. The 1.6.0 is a pre-released and (as you noticed) not fully tested.
Thank you for checking the issue. I have already tried version 1.5.3 and faced some issues (https://github.com/ifm/ifm3d/issues/455) because of which I tried newer version 1.6.0.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
I built the ifm3d library version 1.6.0 from source with the option BUILD_SHARED_LIBS=OFF, and it was built successfully. However, in my C++ project, when I tried to include the ifm3d library, it failed to find it.
OS: Ubuntu 20.04
find_package(ifm3d 1.6.0 REQUIRED)
This issue does not occur if ifm3d library is built with the option BUILD_SHARED_LIBS=ON.