Comments (7)
Can you point out the specific location of this error? I saw a warning above the error message in the picture that shouldn't appear: "Framebuffer with requested attributes not available, Using available framebuffer...". This warning does not come from our library.
I searched and found that it comes from the visualization library Pangolin. And this problem is also explained in its readme. Hope this helps!
from river.
I've identified that the error occurred here
from river.
I've identified that the error occurred here
from river.
This doesn't seem to make sense. We don't have any problems with our computer at all. What do you think is the problem? 😭
from river.
"Hi bro, I had a similar problem once. I solved the problem by modifying the CMakeLists.txt file. Modify lines 10 and 11 as follows:"
Before modification
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -march=native")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -march=native")
After modification
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")
from river.
“嗨兄弟,我曾经遇到过类似的问题。我通过修改CMakeLists.txt文件解决了该问题。修改第10行和第11行如下:” 修改前
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -march=native") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -march=native")修改后
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")
Bro, you're really talented!"
from river.
Awesome, problem solved 😃 .
The -march=native
option in GCC compiler is used to automatically set compilation flags based on the features supported by your CPU. If you're using an Intel or AMD CPU and a GCC version 4.2.3 or higher, it's recommended to use -march=native
.
This option adjusts the compilation settings according to your CPU architecture and instruction set extensions, optimizing the generated machine code. It selects the best instruction set based on your CPU's capabilities, which can improve program performance.
In summary, -march=native
is a convenient option that automatically optimizes compilation results based on your hardware environment .
from river.
Related Issues (3)
- 能否创建一个DOCKER 容器 HOT 5
- What kind of Radar in your work? HOT 2
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 river.