Code Monkey home page Code Monkey logo

Comments (6)

Hothaifa avatar Hothaifa commented on May 12, 2024 6

I had the same problem and i'm still using gcc 4.8. you can fix it by adding --std=c++11 to NVCC_FLAG in the CMakeLists.txt. i created a pull request about this problem

from darknet_ros.

mbjelonic avatar mbjelonic commented on May 12, 2024

Hi,

I think the gnu compiler 4.8 does not fully support c++11. Please try to use gnu 4.9.2 or higher. For reference: I am using version 5.4.0 on my tx2.

Please let me know if this solves the issue. Thanks!

Best,
Marko

from darknet_ros.

Kn15263ss avatar Kn15263ss commented on May 12, 2024

I have install gcc and g++ version 7.1.0, but I don't know what is gnu.
image
image

from darknet_ros.

mbjelonic avatar mbjelonic commented on May 12, 2024

Check out this: https://gcc.gnu.org/

Updating gcc is exactly what I meant. Is it still not working?

from darknet_ros.

Kn15263ss avatar Kn15263ss commented on May 12, 2024

Yes! It is still not working

from darknet_ros.

BolinZhou avatar BolinZhou commented on May 12, 2024

I think this has to do with the darknet architecture supports. I think the original darknet had commented out the line -gencode arch=compute_20,code=[sm_20,sm_21] of the darknet_ros/darknet_ros/CMakeLists.txt try it without that line

from darknet_ros.

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.