Under Ubuntu22, some libraries don't build with the deps/VTK module, as they try to link to VTK::QtGuiSupport library, which is not build with the current flags.
Designs
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
Maybe this is a more general error in armarx's cmake and not related to the vtk module in axii. Under U18, when adding only the deps/vtk and h2t/PriorKnowledgeData to a workspace, I now get the following error:
CMake Error at /tmp/test/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:180 (add_library): Target "VisualizeObjects" links to target "armarx_vision::core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?Call Stack (most recent call first): /tmp/test/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:101 (armarx_create_library) /tmp/test/armarx/ArmarXCore/etc/cmake/legacy/ArmarXComponent.cmake:66 (armarx_add_library) source/PriorKnowledgeData/components/VisualizeObjects/CMakeLists.txt:23 (armarx_add_component)CMake Error at /tmp/test/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:180 (add_library): Target "VisualizeObjects" links to target "armarx_vision::core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?Call Stack (most recent call first): /tmp/test/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:101 (armarx_create_library) /tmp/test/armarx/ArmarXCore/etc/cmake/legacy/ArmarXComponent.cmake:66 (armarx_add_library) source/PriorKnowledgeData/components/VisualizeObjects/CMakeLists.txt:23 (armarx_add_component)CMake Error at /tmp/test/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:258 (add_executable): Target "VisualizeObjectsRun" links to target "armarx_vision::core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?Call Stack (most recent call first): /tmp/test/armarx/ArmarXCore/etc/cmake/legacy/ArmarXComponent.cmake:223 (armarx_add_executable) source/PriorKnowledgeData/components/VisualizeObjects/CMakeLists.txt:47 (armarx_generate_and_add_component_executable)CMake Error at /tmp/test/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:258 (add_executable): Target "VisualizeObjectsRun" links to target "armarx_vision::core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?Call Stack (most recent call first): /tmp/test/armarx/ArmarXCore/etc/cmake/legacy/ArmarXComponent.cmake:223 (armarx_add_executable) source/PriorKnowledgeData/components/VisualizeObjects/CMakeLists.txt:47 (armarx_generate_and_add_component_executable)
The problem was caused by the use of direnv to activate a workspace. If you are in a workspace that has been activated by direnv and then use axii to activate a different workspace, the environment variables are not deleted. Therefore, the other workspace was mixed into the new one.
How did you activate the workspace? axii w activate should clean up after itself, and consecutive axii w activates should also clean up the previous state. Or did you just source the workspace?
CMake Error at /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:180 (add_library): Target "ComputeBoundingBoxes" links to target "armarx_vision::core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?Call Stack (most recent call first): /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:101 (armarx_create_library) /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXComponent.cmake:66 (armarx_add_library) source/PriorKnowledgeData/components/ComputeBoundingBoxes/CMakeLists.txt:60 (armarx_add_component)CMake Error at /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:180 (add_library): Target "ComputeBoundingBoxes" links to target "armarx_vision::core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?Call Stack (most recent call first): /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:101 (armarx_create_library) /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXComponent.cmake:66 (armarx_add_library) source/PriorKnowledgeData/components/ComputeBoundingBoxes/CMakeLists.txt:60 (armarx_add_component)CMake Error at /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:180 (add_library): Target "ComputeBoundingBoxes" links to target "armarx_vision::core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?Call Stack (most recent call first): /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:101 (armarx_create_library) /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXComponent.cmake:66 (armarx_add_library) source/PriorKnowledgeData/components/ComputeBoundingBoxes/CMakeLists.txt:60 (armarx_add_component)CMake Error at /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:258 (add_executable): Target "ComputeBoundingBoxesRun" links to target "armarx_vision::core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?Call Stack (most recent call first): /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXComponent.cmake:223 (armarx_add_executable) source/PriorKnowledgeData/components/ComputeBoundingBoxes/CMakeLists.txt:82 (armarx_generate_and_add_component_executable)CMake Error at /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:258 (add_executable): Target "ComputeBoundingBoxesRun" links to target "armarx_vision::core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?Call Stack (most recent call first): /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXComponent.cmake:223 (armarx_add_executable) source/PriorKnowledgeData/components/ComputeBoundingBoxes/CMakeLists.txt:82 (armarx_generate_and_add_component_executable)CMake Error at /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:258 (add_executable): Target "ComputeBoundingBoxesRun" links to target "armarx_vision::core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?Call Stack (most recent call first): /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXComponent.cmake:223 (armarx_add_executable) source/PriorKnowledgeData/components/ComputeBoundingBoxes/CMakeLists.txt:82 (armarx_generate_and_add_component_executable)CMake Error at /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:258 (add_executable): Target "VisualizeObjectsRun" links to target "armarx_vision::core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?Call Stack (most recent call first): /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXComponent.cmake:223 (armarx_add_executable) source/PriorKnowledgeData/components/VisualizeObjects/CMakeLists.txt:47 (armarx_generate_and_add_component_executable)CMake Error at /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:258 (add_executable): Target "VisualizeObjectsRun" links to target "armarx_vision::core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?Call Stack (most recent call first): /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXComponent.cmake:223 (armarx_add_executable) source/PriorKnowledgeData/components/VisualizeObjects/CMakeLists.txt:47 (armarx_generate_and_add_component_executable)CMake Error at /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:180 (add_library): Target "VisualizeObjects" links to target "armarx_vision::core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?Call Stack (most recent call first): /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:101 (armarx_create_library) /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXComponent.cmake:66 (armarx_add_library) source/PriorKnowledgeData/components/VisualizeObjects/CMakeLists.txt:23 (armarx_add_component)CMake Error at /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:180 (add_library): Target "VisualizeObjects" links to target "armarx_vision::core" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?Call Stack (most recent call first): /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXCommands.cmake:101 (armarx_create_library) /home/christoph/Code/Cpp/ax_default/armarx/ArmarXCore/etc/cmake/legacy/ArmarXComponent.cmake:66 (armarx_add_library) source/PriorKnowledgeData/components/VisualizeObjects/CMakeLists.txt:23 (armarx_add_component)CMake Error in source/PriorKnowledgeData/components/ComputeBoundingBoxes/CMakeLists.txt: Imported target "VisionXPointCloudTools" includes non-existent path "/home/christoph/Code/Cpp/ax_default/deps/ivt/ivt/src/ivt" 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.
deps/ivt is not in my workspace anymore. The module was deleted, so the path /home/christoph/Code/Cpp/ax_default/deps/ivt does not exist anymore. Something is completely broken with the PriorKnowledgeData Cmake.