pangolin icon indicating copy to clipboard operation
pangolin copied to clipboard

Make error

Open ghost opened this issue 5 years ago • 4 comments

When I try to build through make, the following error cannot be resolved: 'GL/glew.h' is not found. Although I found glew.h at /usr/local/Cellar/glew/2.1.0/include/GL/ and /usr/local/include/GL, how can I include the header file correctly? Thank you in advance:)

ghost avatar Mar 23 '19 00:03 ghost

Try sudo apt install libglew-dev

lken01 avatar Jun 02 '19 13:06 lken01

When I try to build through make, the following error cannot be resolved: 'GL/glew.h' is not found. Although I found glew.h at /usr/local/Cellar/glew/2.1.0/include/GL/ and /usr/local/include/GL, how can I include the header file correctly? Thank you in advance:)

i have the same problem, do you have any idea to solve it ?

YingjieYin avatar May 06 '20 08:05 YingjieYin

So I was running into this issue and was unable to fix it by manually building and linking the glew library so I ended up switching to pypangolin bindings. For anyone else running into this issue you can get python bindings by doing the following:

git clone https://github.com/stevenlovegrove/Pangolin.git
cd Pangolin
sudo python -mpip install numpy pyopengl Pillow pybind11
git submodule init && git submodule update
mkdir build
cd build
cmake ..
cmake --build .

Output will be in build/src.

All credits go to stevenlovegrove for his submodule.

markoelez avatar May 17 '20 23:05 markoelez

I got the same problem. Glew not found(Mac Os Big Sur)

kir486680 avatar Jan 05 '21 15:01 kir486680