Comments (9)
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.
Thank you Facundo!
PR #29 is merged!
from hwinfo.
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.
it do not work
from hwinfo.
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.
how about arm linux,now?
from hwinfo.
Hi, Could you please provide more information about the issue?
Hardware, Compiler, ...
from hwinfo.
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.
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)
- Why OS Architecture not the same on my windows system info? HOT 3
- Why can't build hwinfo library on MACOS? HOT 1
- Msys2/MinGW build doesn't work on Windows HOT 1
- I'm literally lost with cmake... please help HOT 2
- Support for more monitoring features HOT 2
- Make OpenCL an optional dependency HOT 8
- Please allow using an external `libfmt`
- GitHub Action fails for MSVC build
- [Linux] PCIMapper pci.ids file location bug HOT 1
- RAM on Windows only returns the information for 1 DIMM HOT 2
- Memory Module information in Linux HOT 1
- Bringing back OSX support
- Return objects by value to exploit NRVO
- Can you provide Findhwconfig.cmake for ease of use with CMake?
- ubuntu20.04 arm,compile errors: HOT 1
- memory leak HOT 4
- Setup Release
- Touchpad support HOT 2
- Add support for uwp apps HOT 1
- Expose GPU vendor_id and device_id on Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hwinfo.