Skip to content

CMake configuration error when building examples on Ubuntu 24.04.2 #2

@osqzss

Description

@osqzss

I am trying to build the LuPNT examples on Ubuntu 24.04.2. After successfully executing scripts/dependencies_ubuntu.sh, I ran the following command as described in the documentation:

cmake -S examples/cpp -B build/examples

However, the configuration step failed with the following CMake errors:

CMake Error at /home/pnt/Work/LuPNT/thirdparty/CMakeLists.txt:66 (set_target_properties):
  set_target_properties Can not find target to add properties to: demos

CMake Error at /home/pnt/Work/LuPNT/thirdparty/CMakeLists.txt:67 (set_target_properties):
  set_target_properties Can not find target to add properties to: uninstall

I would appreciate it if you could advise on how to resolve this issue. Is there any additional step or dependency required before running the cmake command? Or should the thirdparty/CMakeLists.txt file be modified?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions