当前位置:网站首页>Solving error: creating window glfw error: glew initialization error: missing GL version
Solving error: creating window glfw error: glew initialization error: missing GL version
2022-06-25 13:50:00 【Xiaoshuai acridine】
In the use of mujoco The following error appears :
Creating window glfw
ERROR: GLEW initalization error: Missing GL version

When this error occurs, the simulation will not be displayed .
Solution :
1. To configure bashrc
gedit ~/.bashrc
Add the following code to the last line of the document and save to exit the document
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so

Then run the following code source once bashrc file :
source ~/.bashrc
2. To configure pycharm
Click on pycharm Medium Run->Edit Configurations->Environment variables Then add variables Name yes LD_PRELOAD, Corresponding Value yes /usr/lib/x86_64-linux-gnu/libGLEW.so, Save exit and rerun the code .
You can see the following figure , Normal simulation screen appears .
边栏推荐
- Component: is to switch between multiple components
- Logistic Regression VS Linear Regression
- 数据库中显示error1822,error1824
- Storage related contents of data in memory
- Rust, the best choice for programmers to start a business?
- The starting point for learning programming.
- Restful and RPC
- Hash table, hash conflict
- OpenStack学习笔记之-Nova组件深入了解
- 国信证券股票账户开户安全吗?请问。
猜你喜欢

DE2-115 FPGA开发板的VGA显示

权益NFT开创者Hash Eagle如何重新定义NFT,用权益赋能长续价值?

专家建议|8大措施加速你的创新职业规划和成长

Network remote access using raspberry pie

初始c语言时的一些知识

Of binary tree_ Huffman tree_ Huffman encoding

Discuz copy today's headlines template /discuz news and information business GBK template

Logistic Regression VS Linear Regression

Some knowledge of the initial C language

Scope of ES6 variable
随机推荐
Graph contractual learning with augmentations
1024 hydrology
Where can the brightness of win7 display screen be adjusted
电脑必须打开的设置
专家建议|8大措施加速你的创新职业规划和成长
Deep parsing and implementation of redis stream advanced message queue [10000 words]
Cesium model Daquan glb/glft format
[proteus simulation] 51 MCU +ds1302+lcd1602 display
Gorm---- Association query
解决报错:Creating window glfw ERROR: GLEW initalization error: Missing GL version
Hash table, hash conflict
Parabolic motion in unity 2D games
Unity 2D游戏中的抛物运动
Knowledge of initial C language 2.0
Cesium--- figure loading
Logistic Regression VS Linear Regression
Component: is to switch between multiple components
Leetcode: Sword finger offer II 091 Painting house [2D DP]
Asp.net WebForm使用NPOI导出Excel
Rust,程序員創業的最佳選擇?