Closed zacky1972 closed 2 years ago
I found the issue: erlang-dev
package isn't installed.
I couldn't solve it even though I installed build-essential
and erlang-dev
.
The same error still occurred.
Hi @zacky1972, I encountered this issue before, and may I know the CMake version on the NVIDIA Jetson AGX Xavier?
It seems that the CMake on your device concatenates the path to the source code and some compile options because it doesn't support the -S
option.
"/mnt/nvme/home/zacky/evision/_build/dev/lib/evision/cmake_opencv_4.5.5/BUILD_OPENEXR=ON"
According to the docs on the CMake website, CMake didn't have the -S
option to specify the source directory for versions <=3.12. It was available since 3.13.
I'll update the Makefile accordingly!
I've addressed this issue in #39. I adjusted the CMake commands to the most basic ones, and now the minimal required CMake version is 3.1 for the bindings part.
And the minimal version required by OpenCV will decide the actual minimal required version of CMake. For OpenCV 4.5.5, the minimal required version is 3.5.1.
Ah...
cmake --version
cmake version 3.10.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
🎉
$ cmake --version
cmake version 3.22.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
I did it! Thank you!
The build script on the main branch should now work with CMake >= 3.5.1. But it's (almost) always good to have a newer version! ;)
Hi,
I compiled evision on NVIDIA Jetson AGX Xavier (Ubuntu 18.04 Linux Kernel 4.9.201-tegra, aarch64), but the following error occurred:
Are Linux and aarch64 not supported?