Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Fix issues while running ./build_gaps.sh #12

Description

@YunYunY

Platform: Ubuntu 18.04.3 LTS

./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

Ready to go!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions