"invoking 'cmake' failed"

Hey everyone,

I’m working from the jetbot_ros github page, just trying to install everything necessary and get things setup on my nano when I hit this snag:

CMake Error at ros_deep_learning/CMakeLists.txt:6 (find_package):
By not providing “Findjetson-utils.cmake” in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
“jetson-utils”, but CMake did not find one.

Could not find a package configuration file provided by “jetson-utils” with
any of the following names:


Add the installation prefix of “jetson-utils” to CMAKE_PREFIX_PATH or set
“jetson-utils_DIR” to a directory containing one of the above files. If
“jetson-utils” provides a separate development package or SDK, be sure it
has been installed.

– Configuring incomplete, errors occurred!
See also “/home/turkey/catkin_ws/build/CMakeFiles/CMakeOutput.log”.
See also “/home/turkey/catkin_ws/build/CMakeFiles/CMakeError.log”.
Invoking “cmake” failed

This occurred under the “Build ROS deep learning” part of the page. I’m wondering if I installed something incorrectly? Any info would be awesome. Thanks!

Hi @nbarrow85, did you build/install the jetson-inference project first? That should have also installed jetson-utils and those .cmake files it is looking for (which get installed under /usr/local/share/jetson-utils/cmake)

These are the steps to build/install that project: https://github.com/dusty-nv/jetson-inference/blob/master/docs/building-repo-2.md#quick-reference

Hey Dusty,

So I may have confused myself. I had built the jetson-inference project before when working through the hello AI world tutorials. Did I need to build it again, if it was already on my local system?

On top of this potential discrepancy, I built jetson-inference in ~/catkin_ws but not in my src folder-is this an issue?

well, I went to that link you posted and followed the instructions and went back to my ~/catkin_ws and input catkin_make and it built without error!

Oh! Also can I command and test out the jetbot via ssh?