Skip to content

Suggested changes to the OpenCV Linux Installation Manual v1.7 #13

Description

@TL-4319

This outlines some problems and solution I found when installing E-con System OpenCV patch on an NVIDIA Jetson Orin with Jetpack 5.1.2. I ran into some problems installing your patch of OpenCV following the provided guide. Some of the problem that I encountered and resolved by doing the following.

First I need to ensure that the current machine does not have any other OpenCV installations (suggest to remove libopencv-dev in list of dependencies)

Another problem I encounter is during the make process of the custom OpenCV. Following this guide, I need to add

-D OPENCV_GENERATE_PKGCONFIG=YES -D WITH_GENERATE_PKGCONFIG=YES

Resulting in cmake command of

cmake ..  -D BUILD_TIFF=ON -D WITH_CUDA=OFF -D WITH_OPENGL=OFF -D WITH_OPENCL=OFF -D WITH_IPP=OFF -D WITH_TBB=OFF -D BUILD_TBB=OFF -D WITH_EIGEN=OFF -D WITH_V4L=ON -D WITH_VTK=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D WITH_GSTREAMER=OFF -D CMAKE_BUILD_TYPE=RELEASE -D BUILD_opencv_world=ON -D OPENCV_GENERATE_PKGCONFIG=YES -D WITH_GENERATE_PKGCONFIG=YES -D CMAKE_INSTALL_PREFIX=/usr/local

Finally, I ran into an issue with loading from libopencv_world.so. Following your guide wasn't working but I resolved it by following the guide here, essentially making new file name opencv.conf in /etc/ld.so.conf.d/. Then add "/usr/local/lib" in the file and run

sudo ldconfig -v

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions