Giter Site home page Giter Site logo

Comments (8)

cocoa-xu avatar cocoa-xu commented on May 31, 2024 1

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!

from evision.

cocoa-xu avatar cocoa-xu commented on May 31, 2024 1

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.

from evision.

zacky1972 avatar zacky1972 commented on May 31, 2024 1

I did it! Thank you!

from evision.

cocoa-xu avatar cocoa-xu commented on May 31, 2024 1

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! ;)

from evision.

zacky1972 avatar zacky1972 commented on May 31, 2024

I found the issue: erlang-dev package isn't installed.

from evision.

zacky1972 avatar zacky1972 commented on May 31, 2024

I couldn't solve it even though I installed build-essential and erlang-dev.

The same error still occurred.

from evision.

zacky1972 avatar zacky1972 commented on May 31, 2024

Ah...

cmake --version
cmake version 3.10.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

from evision.

zacky1972 avatar zacky1972 commented on May 31, 2024

🎉

$ cmake --version
cmake version 3.22.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

from evision.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.