当前位置:网站首页>解决报错:Creating window glfw ERROR: GLEW initalization error: Missing GL version
解决报错:Creating window glfw ERROR: GLEW initalization error: Missing GL version
2022-06-25 13:10:00 【小帅吖】
在使用mujoco时出现以下报错:
Creating window glfw
ERROR: GLEW initalization error: Missing GL version

出现这个报错然后显示不出仿真。
解决方案:
1.配置bashrc
gedit ~/.bashrc
在文档最后一行加入下面代码然后保存退出文档
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so

然后运行下面代码source一下bashrc文件:
source ~/.bashrc
2.配置pycharm
点击 pycharm中的 Run->Edit Configurations->Environment variables 然后添加变量Name是LD_PRELOAD,对应的Value是/usr/lib/x86_64-linux-gnu/libGLEW.so,保存退出之后重新运行代码。
可以看到如下图,出现了正常的仿真画面。
边栏推荐
- Gorm---- Association query
- Analyse de l'optimisation de la réécriture des requêtes lazyagg de l'entrepôt
- 一篇文章讲清楚MySQL的聚簇/联合/覆盖索引、回表、索引下推
- Unity 2D游戏中的抛物运动
- Sword finger offer II 028 Flatten multi-level bidirectional linked list
- untiy强制刷新UI
- 初始c语言时的一些知识
- Cold migration and resize of Nova component source code analysis
- Prototype and prototype chain - constructor and instanceof
- 解析數倉lazyagg查詢重寫優化
猜你喜欢
![[open source Hongmeng system display] the rk3568 development board is equipped with openharmony 3.1 release](/img/c4/0bfb380d38b5205a02a10175ee6888.png)
[open source Hongmeng system display] the rk3568 development board is equipped with openharmony 3.1 release
Deep parsing and implementation of redis stream advanced message queue [10000 words]

Sword finger offer day 3 string (simple)

Discuz仿今日头条模板/Discuz新闻资讯商业版GBK模板
![leetcode:456. 132 mode [monotone stack]](/img/fa/44a5194b244f30383409ef40966453.png)
leetcode:456. 132 mode [monotone stack]

关于数据在内存中的存储下

Implementation of a small book system

Win7显示屏幕亮度在哪里可以调节

Maui's learning path (II) -- setting

關於一道教材題的講解
随机推荐
关于数据在内存中的存储下
一篇文章讲清楚MySQL的聚簇/联合/覆盖索引、回表、索引下推
揭秘GaussDB(for Redis):全面对比Codis
关于三子棋游戏的简易实现与N子棋胜利判断方法
NVM installation and use tutorial
删库跑路、“投毒”、改协议,开源有哪几大红线千万不能踩?
Solve the problem that yarn cannot load files in vs Code
Custom vertical table
There is a problem with the date when MySQL imports and exports data to excel
. NET in China - What's New in . NET
leetcode:918. Maximum sum of circular subarray [reverse thinking + maximum subarray sum]
Prototype relationship between constructor and instance (1)
Uncover gaussdb (for redis): comprehensive comparison of CODIS
The starting point for learning programming.
[data visualization] antv L7 realizes map visualization, drilldownlayer drill asynchronously obtains data, and suspends the warning box
Related examples of data storage in memory
OpenStack学习笔记-Glance组件深入了解
Accidentally modify or delete the system variable path to restore
New Gospel of drug design: Tencent, together with China University of science and technology and Zhejiang University, developed an adaptive graph learning method to predict molecular interactions and
JVM parameter interpretation