Giter Club home page Giter Club logo

Comments (4)

mdegans avatar mdegans commented on July 20, 2024

@Hongbo-Miao

Thank you for reporting the issue. I can't replicate.

  • What version of bash are you running (bash --version)?
  • What version of the script are you running (it should have #!/usr/bin/env bash at the top of the file)?

from nano_build_opencv.

Hongbo-Miao avatar Hongbo-Miao commented on July 20, 2024
  1. I am using the macOS to ssh into Jetson Nano to run the script.

    This is what returned after running

    bash --version
    

    on my macOS.

    GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18)
    Copyright (C) 2007 Free Software Foundation, Inc.

  2. I downloaded and ran this script two days ago, it has #!/usr/bin/env bash on the top of the file.

from nano_build_opencv.

mdegans avatar mdegans commented on July 20, 2024

Sorry for not specifying. I meant the version of bash on the Nano, not your host.

The version of bash reported by my nano is:

GNU bash, version 4.4.20(1)-release (aarch64-unknown-linux-gnu)

When you ssh into the Nano run the build script, are you running it directly like ./build_opencv.sh or are you doing sh build_opencv.sh? If it's the latter, that could explain the error. The latter would use the bourne shell (/bin/sh) or a clone, rather than bash, and some syntax is slightly different. The script won't work if launched with /bin/sh.

from nano_build_opencv.

Hongbo-Miao avatar Hongbo-Miao commented on July 20, 2024

Oh, I think you are right, I remembered I was using sh build_opencv.sh. Thanks for explanation!

from nano_build_opencv.

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.