Steven Lu
Steven Lu

Reputation: 43427

How can I get OpenGL headers without installing dev package?

The package (mesa-libGL) to install from yum has many dependencies and is rather large (35MB reported by yum)

I want to do some small amounts of code review and editing on my CentOS server. This is a server I primarily SSH into and runs no window manager, so all the X dependencies, etc. are useless.

But I would like to have my editor (vim with YouCompleteMe plugin for the libclang integration) not give me blocking errors for missing GL headers.

Is there a better solution than manually copying over headers from another linux setup? Maybe there is some repository somewhere that has the raw header files I can just curl to my server.

Upvotes: 0

Views: 408

Answers (1)

Drop
Drop

Reputation: 13003

Download Mesa sources. Take needed files in include folder and delete other stuff. Put these files in system folder or just point your editor to them.

Upvotes: 1

Related Questions