Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CMakeLists.txt #31

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

nakai-omer
Copy link

@nakai-omer nakai-omer commented Aug 22, 2022

Fix build issue with glog missing:

CMake Error at CMakeLists.txt:51 (add_library):
  Target "nvblox_ros_lib" links to target "glog::glog" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:51 (add_library):
  Target "nvblox_ros_lib" links to target "glog::glog" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:84 (add_executable):
  Target "nvblox_node" links to target "glog::glog" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:84 (add_executable):
  Target "nvblox_node" links to target "glog::glog" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:89 (add_executable):
  Target "3dmatch_node" links to target "glog::glog" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?


CMake Error at CMakeLists.txt:89 (add_executable):
  Target "3dmatch_node" links to target "glog::glog" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?

Also added install and log directories to .gitignore

@nakai-omer
Copy link
Author

Updated PR to also add it to nvblox_performance_measurment, as without it you get the following:

--- stderr: nvblox_performance_measurement                                 
CMake Error at CMakeLists.txt:54 (add_executable):
  Target "results_collector_node" links to target "glog::glog" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at CMakeLists.txt:54 (add_executable):
  Target "results_collector_node" links to target "glog::glog" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at CMakeLists.txt:68 (add_executable):
  Target "nvblox_performance_measurement_node" links to target "glog::glog"
  but the target was not found.  Perhaps a find_package() call is missing for
  an IMPORTED target, or an ALIAS target is missing?


CMake Error at CMakeLists.txt:68 (add_executable):
  Target "nvblox_performance_measurement_node" links to target "glog::glog"
  but the target was not found.  Perhaps a find_package() call is missing for
  an IMPORTED target, or an ALIAS target is missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants