isaac_ros_nvblox icon indicating copy to clipboard operation
isaac_ros_nvblox copied to clipboard

Update CMakeLists.txt

Open nakai-omer opened this issue 3 years ago • 1 comments

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 avatar Aug 22 '22 00:08 nakai-omer

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?

nakai-omer avatar Dec 01 '22 10:12 nakai-omer