davidstutz/mesh-fusion

Error: GL/glew.h: No such file or directory

UncleTom111 opened this issue · 4 comments

Hi David,

Thanks for your nice tools.
When building pyrender, I encountered the problem below.
Should I install OpenGL, GLEW and GLUT first? And could you please tell me how to install these pakcages or libraries properly?

================================================
In file included from pyrender.cpp:770:0:
offscreen.h:4:10: fatal error: GL/glew.h: No such file or directory
#include "GL/glew.h"
^~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

sudo apt install freeglut3-dev mesa-utils
sudo apt-get install libglew-dev

sudo apt install freeglut3-dev mesa-utils sudo apt-get install libglew-dev

image
I tried this method and encountered the following errors. I tried to find the answers on the Internet myself, but it didn't work out. Can you help me? Thank you

@UncleTom111 Thanks! This worked for me

sudo apt install freeglut3-dev mesa-utils sudo apt-get install libglew-dev

image I tried this method and encountered the following errors. I tried to find the answers on the Internet myself, but it didn't work out. Can you help me? Thank you

you can try to update the source.list