NatronGitHub / Natron

Open-source video compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry.
http://NatronGitHub.github.io
GNU General Public License v2.0
4.64k stars 338 forks source link

Cannot find egl.h #906

Closed a01163125 closed 11 months ago

a01163125 commented 1 year ago

hi:

I encountered a problem when I was using docker command. (BTW: before the error egl.h, there are two files CImg.h Inpaint.h could not be downloaded directly, I used docker cp to solve this. ) ../SupportExt/glad/gladegl.cpp:6:10: fatal error: EGL/egl.h: No such file or directory a little help pls. thx!

luzpaz commented 11 months ago

no version info

Googling around it seems that

EGL/egl.h is in libegl1-mesa-dev, so apt-get install libegl1-mesa-dev should help.

Not sure this is the answer though

luzpaz commented 11 months ago

@devernay can you weigh in ?

rodlie commented 11 months ago

EGL is needed if Wayland is found during configure (before build).

luzpaz commented 11 months ago

@rodlie looks like there is a line in CMake that addresses this https://github.com/NatronGitHub/Natron/blob/526e05e9b1e9efbbedb99167c334ee7e98d23541/CMakeLists.txt#L76

a01163125 commented 11 months ago

no version info

Googling around it seems that

EGL/egl.h is in libegl1-mesa-dev, so apt-get install libegl1-mesa-dev should help.

Not sure this is the answer though

hi, thank you much.

But how can I pause docker run to install packages?

devernay commented 10 months ago

you mean that? https://github.com/NatronGitHub/Natron/tree/RB-2.5/tools/docker#debugging-a-build

a01163125 commented 7 months ago

you mean that? https://github.com/NatronGitHub/Natron/tree/RB-2.5/tools/docker#debugging-a-build

Looks like very helpful. I am trying with a VM in windows, I will also try in your way when time is possible. Cheers.