Hi all!
I’m trying to get IMX219 camera calibration parameters from eeprom and on the forum I read that syncStereo shall do the magic.
I’m having problem compiling it though.
I started with compiling Argus in /usr/src/jetson_multimedia_api/argus/build
with
cd build && sudo cmake …
make -j nproc
sudo make install’
I didn’t see any errors…
Installing: /usr/local/bin/argus_camera
and all targets are built (including argussampleutils).
I then copied /usr/src/jetson_multimedia_api/argus/samples/syncStereo to my home folder.
When I try to cmake it and I get
Could not find a package configuration file provided by “Argus” with any of
the following names:
nvidia@nvidia-desktop:~/syncStereo/build$ make -j nproc
[ 50%] Building CXX object CMakeFiles/argus_syncstereo.dir/main.cpp.o
/home/nvidia/syncStereo/main.cpp:29:10: fatal error: ArgusHelpers.h: No such file or directory
I also tried to copy utils in syncStereo folder, adjusting the headers but then it cannot find -largussampleutils
Hi @JerryChang
I’d like to wait before upgrading since we’re using ISAAC-ROS with the rootfs mounted on the SD card. ISAAC-ROS hasn’t been tested for 5.1 yet (according to the repo) and I don’t have time to rebuild ROS(sources)+OpenCV(CUDA) this week.
Is syncStereo fixed in 5.1 only? I think my errors could be managed with 5.0.2 too.
I’ve double check this internally. there’s no failure with compiling Argus sample on JetPack-5.0.2.
you may try copy the whole jetson_multimedia_api/ to your home folder for compiling the sample.
Hi @JerryChang
I copied jetson_multimedia_api in my home folder.
I recompiled argus and installed it: argusBuild.log (32.4 KB)
Then I tried to compile syncStereo without editing CMakeFiles.txt:
nvidia@nvidia-desktop:~/jetson_multimedia_api/argus/samples/syncStereo/build$ rm -rf *
nvidia@nvidia-desktop:~/jetson_multimedia_api/argus/samples/syncStereo/build$ cmake …
CMake Deprecation Warning at CMakeLists.txt:27 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument value or use a … suffix to tell
CMake that the project does not need compatibility with older versions.
– The C compiler identification is GNU 9.4.0
– The CXX compiler identification is GNU 9.4.0
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /usr/bin/cc - skipped
– Detecting C compile features
– Detecting C compile features - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++ - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
CMake Error at CMakeLists.txt:34 (find_package):
By not providing “FindArgus.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “Argus”, but
CMake did not find one.
Could not find a package configuration file provided by “Argus” with any of
the following names:
ArgusConfig.cmake
argus-config.cmake
Add the installation prefix of “Argus” to CMAKE_PREFIX_PATH or set
“Argus_DIR” to a directory containing one of the above files. If “Argus”
provides a separate development package or SDK, be sure it has been
installed.
– Configuring incomplete, errors occurred!
See also “/home/nvidia/jetson_multimedia_api/argus/samples/syncStereo/build/CMakeFiles/CMakeOutput.log”.
this header file should be exist under argus/samples/utils/ folder, right?
how you copy the jetson_multimedia_api , did you have sudo included for folder copy?
please examine the file information for the owner and/or group.
thanks
I see something wrong…
this build folder should created under Argus as following. for example, ~/jetson_multimedia_api/argus/build/
you should execute cmake .. in the build folder,
$ cmake ..
...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nvidia/jetson_multimedia_api/argus/build
and,
you should be able to build individual executable as following.
$ make argus_syncstereo
[ 88%] Built target argussampleutils
[100%] Built target argus_syncstereo