Closed wkyoun closed 8 years ago
I cannot compile OpenCV2.4.9 due to the above circumstance
but, OpenCV2.4.10.1 is compiled correctly on Jetson TK1,
Is OpenCV2.4.9 only compatible with ZED camera?
In ZED_Developer_Guide.pdf (https://www.stereolabs.com/developers/documentation/ZED_Developer_Guide.pdf) it only refer opencv 2.4.9
Installing the ZED SDK – Linux Before you start developing applications witht he ZED, download and install CUDA 6.5 toolkit .Compile and install OpenCV2.4.9
I fount solution but it seems incomplete
I change -DWITH_CUDA=ON -> OFF
as described in http://elinux.org/Jetson/Installing_OpenCV
But I don't know whether it is complete solution or not.
cmake -DWITH_CUDA=ON -DCUDA_ARCH_BIN="3.2" -DCUDA_ARCH_PTX="" -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF ..
cmake -DWITH_CUDA=OFF -DCUDA_ARCH_BIN="3.2" -DCUDA_ARCH_PTX="" -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF ..
I use OpenCV version 2.4.11 on Jetson TK1 and everything seems to work fine. I believe, that I use these settings for cmake (I can check later): cmake -DWITH_CUDA=ON -DCUDA_ARCH_BIN="3.2" -DCUDA_ARCH_PTX="3.0" -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF
Hi,
The ZED SDK is compatible with OpenCV 2.4.X (>=2.4.9 tested). On the Jetson, we only use the version provided by the Jetpack (closed source but optimized by Nvidia).
However, the solution provided by @axjensen should work. By default the jetson gpu arch (3.2) is not built.
You can also disable CUDA support for OpenCV if that solve your compilation issues and if you don't use it. The ZED SDK doesn't need it.
@adujardin Did you mean that ZED SDK can be used with OpenCV 2.4.X (>=2.4.9 tested)? I will try openCV 2.4.11 and let you know the results. Thank you
I tried to install opencv on Jetson TK1 as described in http://elinux.org/Jetson/Installing_OpenCV
When I type sudo make -j4 install, error is as followings:
CUDA 6.5 is installed correctly as we can find it in the following results:
there are some similar errors : http://ubuntuforums.org/showthread.php?t=2244063 http://www.btday.com/cmake-error-while-configuring-cuda-with-opencv/
http://code.opencv.org/issues/3814 http://code.opencv.org/issues/3938
ubuntu@tegra-ubuntu:~/opencv-2.4.9/build$ sudo make -j4 install