jahnf / Projecteur

Linux Desktop Application for the Logitech Spotlight device (and similar devices) - Digital Laser Pointer
MIT License
379 stars 33 forks source link

Completing the build...? #59

Closed nineinchplate closed 4 years ago

nineinchplate commented 4 years ago

My apologies for this new message as it doesn't necessarily fit into the general discussion of making this project better. I'm relatively new to github and importing code into ubuntu. I only bring this up here because I am in charge of getting this up an running for my university chemistry department and some responsibility to complete everything (as opposed to giving up if it was a personal system! :) ).

Anyways, I am running Ubuntu 18.04 on a Raspberry Pi 4. I was able to successfully add the GCC/C++14, CMake, and Qt packages to ubuntu. For the last ~4 hours I have been trying to complete the "make" portion of the build. I get a "Fatal error: GLES3/gl31.h: No such file or directory"... etc

After quite a bit of searching, I have installed several libraries, including what I believe to be the correct one - namely the libgles2-mesa-dev library. I have installed several others along the way that were hinted at, including other mesa utility packages, etc. Seeing how I am missing the openGL files, I searched on my system for the folders, which didn't seem to be installed after the apt-get installs. I have tried to install this package several times. I have also tried to copy the /GLES3/ folder to /opt/vc/ directory to try to force it in there. That idea came from https://raspberrypi.stackexchange.com/questions/56137/fatal-error-gles2-gl2-h-no-such-file-or-directory.

I'm sort of lost if this is something that is a library that is not installed, or if it is somehow in the compiler code that is leading me astray. There doesn't seem to be too many google results for the GLES3 issues... Here is the full error: https://imgur.com/a/53KBky3

Thanks for any input anyone might have.

jahnf commented 4 years ago

In this case I only can can resort to a web search too. But basically you are looking to build an application that is using Qt5 (widgets+qml) on a Raspberry Pi.

This might help: https://stackoverflow.com/questions/14184542/qt-creator-qtgui-include-error

sudo apt-get install mesa-common-dev
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
jahnf commented 4 years ago

@nineinchplate Is your issue resolved?

jahnf commented 4 years ago

Closing due to inactivity.