Giter Club home page Giter Club logo

Comments (9)

facug91 avatar facug91 commented on June 10, 2024 1

The problem was that Jetsons have Ubuntu 18.04, which has GCC 8.4 by default, which doesn't support C++20, and even with C++17, you need to link to "stdc++fs" to use std::filesystem.

from hwinfo.

lfreist avatar lfreist commented on June 10, 2024 1

Thank you Facundo!

PR #29 is merged!

from hwinfo.

lfreist avatar lfreist commented on June 10, 2024

ARM does not support the cpuid instructions (x86 specific).

However, I have just looked into the code and fixed an import. Can you try if it is working now? Thank you!

from hwinfo.

xinsuinizhuan avatar xinsuinizhuan commented on June 10, 2024

it do not work

from hwinfo.

lfreist avatar lfreist commented on June 10, 2024

I assume the error occurs in cpuid.h. This file is only used if the compiler recognizes your machine as x86. In your case, the file should not be included.

Could you please check what macro makes HWINFO_X86 defined in the following file/line: https://github.com/lfreist/hwinfo/blob/main/include/hwinfo/platform.h#L19

Sadly, I do not have an ARM machine to check it out myself...

from hwinfo.

xinsuinizhuan avatar xinsuinizhuan commented on June 10, 2024

how about arm linux,now?

from hwinfo.

lfreist avatar lfreist commented on June 10, 2024

Hi, Could you please provide more information about the issue?
Hardware, Compiler, ...

from hwinfo.

facug91 avatar facug91 commented on June 10, 2024

With this recently accepted PR #28, and this new PR #29 I just did, I've been able to compile and run Example in a Jetson Xavier.

from hwinfo.

facug91 avatar facug91 commented on June 10, 2024

Just to fix the wrong comment I made, Ubuntu 18.04 comes with gcc 7 installed by default, which doesn't even have C++17 support. In Jetsons you can install gcc 8, which allows you to use CUDA 10.2, and compile with C++17.

from hwinfo.

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.