You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
./build_gaps.sh
fatal error: GL/osmesa.h: No such file or directory
Fix for this error
apt-get install libosmesa6-dev
Second error while running
./build_gaps.sh
In file included from scn2cam.cpp:13:0:
/usr/include/GL/osmesa.h:124:1: error: ‘GLAPI’ does not name a type; did you mean ‘GLEWAPI’?
GLAPI OSMesaContext GLAPIENTRY
Fix for this error
Near the end of glew.h is the line:
#undef GLAPI
Delete it