Comments (3)
@sbradnick
Do you wanna try moving line 163 in btop_collect.cpp:
#define RSMI_DEVICE_NAME_BUFFER_SIZE 128
up two lines so it looks like this:
namespace Rsmi {
#define RSMI_DEVICE_NAME_BUFFER_SIZE 128
#if !defined(RSMI_STATIC)
//? RSMI defines, structs & typedefs
#define RSMI_MAX_NUM_FREQUENCIES_V5 32
and then try compiling again.
from btop.
@sbradnick Do you wanna try moving line 163 in btop_collect.cpp:
#define RSMI_DEVICE_NAME_BUFFER_SIZE 128up two lines so it looks like this:
namespace Rsmi { #define RSMI_DEVICE_NAME_BUFFER_SIZE 128 #if !defined(RSMI_STATIC) //? RSMI defines, structs & typedefs #define RSMI_MAX_NUM_FREQUENCIES_V5 32and then try compiling again.
That makes the build successful. Only other oddity is how different the spacing is (tabs vs. spaces) for that line vs. the others and what the expected indentation should be (if it matters), when comparing to your "so it looks like this" example. Thanks for getting back to me! 😄
from btop.
That makes the build successful.
Great :)
Only other oddity is how different the spacing is (tabs vs. spaces) for that line vs. the others and what the expected indentation should be
That's probably just github messing up the formatting when I moved it around in the code snippet.
Anyways, fixed in latest commits.
from btop.
Related Issues (20)
- [BUG] - Snap version no longer runs on old distros like Centos 7 HOT 1
- [BUG] Estimated battery life over 24 hours wraps around to 00:00
- [BUG] macOS arm64: Crash (SIGSEGV) on launch
- [REQUEST] Optionally report statistics as moving average
- [BUG] Invalid RAM usage on MacBook Pro M3 Pro
- arrow key not working
- [BUG] swap shows different size under different terminal window size.
- [REQUEST] Show detailed I/O usage
- [BUG] Crash in btop 1.3.2
- [BUG] Crash in btop 1.3.2 (nvidia-related?)
- [BUG] Invalid ram usage on Intel MacBook pro
- [BUG] signal gets send to wrong process HOT 1
- free memory maybe wrong~ HOT 1
- [BUG] Hard drive available size is wrong HOT 8
- [BUG] Themes use commented-out directives
- multiple gpus HOT 1
- [BUG] Btop freezes when booting if logfile is large HOT 3
- [BUG] crashes before drawing starts with a certain configuration
- [REQUEST] Add GPU processes to the GPU box
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 btop.