Real time object detection cmake ../ error?

Hi,
I am following the above link to carry out real time objection detection task, everything is smooth until 5:33, but when I cd build and then type cmake …/ it says

Note: this project uses git submodules in the source tree.
if you haven’t already, run the following command from
the project’s root directory:

       git submodule update --init

Note: required git submodules have not been detected.
first, please run the following command from the
the project’s root directory to clone them:

      git submodule update --init

CMake Error at CMakeLists.txt:21 (message):
missing required git submodules, see instructions above

– Configuring incomplete, errors occurred!
See also “/home/autonomous/jetson-inference/CMakeFiles/CMakeOutput.log”.

can anyone please help me out in this??

Thank you

Hi,

Your topic should be posted in the Jetson Nano category, not the Cumulus forum. I will move it over so the Jetson team has visibility.

Best,
Tom K

Hi @javeedashrafmr, when you clone the jetson-inference repo, you can either use the --recursive flag, or run git submodule update --init from the jetson-inference directory after you clone it.

See the steps for building the project here: https://github.com/dusty-nv/jetson-inference/blob/master/docs/building-repo-2.md

tried by that way and didn’t work, what i did was i built one more jetson-inference by git clone command inside cd jetson-inference/build, as a result it finally became cd jetson-inference/build/jetson-inference/build. and now cmake is working fine

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.