connot find -lGL - how to recover?
-
I do not know what I did to "loose " this library.
What are my options to recover it?
Clean download of Qt or else ?
My main project gives me over 7000 "issues "
New test project is much skimpier and to the point
ORIGINAL POST EDIT
After exhausting my options
i am posting ONE of the original errors hoping that somebody can (really) help me to resolve this issue.I can assure anybody interested in resolving this
it is NOT related to missing CL , some other reference got wiped out.I had TWO different issues and missing CL appears NOT to be related to this.
If it is I like to know best guess what is missing and mainly HOW to fix it .PS
It may be related to 15.5.2 but I am not sure .
I am trying to implement 6.2.0 but so far no luck./home/qt/Qt/5.15.2/gcc_64/include/QtOpenGL/qgl.h:284: error: ‘GLuint’ does not name a type; did you mean ‘uint’?
In file included from /home/qt/Qt/5.15.2/gcc_64/include/QtOpenGL/QGLContext:1,
from ../application/mainwindow.h:55,
from moc_mainwindow.cpp:10:
/home/qt/Qt/5.15.2/gcc_64/include/QtOpenGL/qgl.h:284:5: error: ‘GLuint’ does not name a type; did you mean ‘uint’?
284 | GLuint bindTexture(const QImage &image, GLenum target, GLint format,
| ^~~~~~
| uint -
Hi,
Please use the search feature of the forum, this is a question that has been answer many times already.
-
@AnneRanch said in connot find -lGL - how to recover?:
> What are my options to recover it? -
@AnneRanch
Hi
Those look like openGl libs for the OS. They are not part of Qt.Unless you uninstalled them, im not sure how they can "go away"
Maybe if you uninstalled something that also took them.
Else they normally just stay.For ubuntu its often
sudo apt-get install libgl1-mesa-dev -
@AnneRanch
Hi
Those look like openGl libs for the OS. They are not part of Qt.Unless you uninstalled them, im not sure how they can "go away"
Maybe if you uninstalled something that also took them.
Else they normally just stay.For ubuntu its often
sudo apt-get install libgl1-mesa-dev@mrjj
Update
Appreciate yuor post very much.
it sort of worked. when I build "NEW PROJECT" - no problem.
To my knowledge I did not monkey with OpenGl.
But I added another subproject - again without anything intentionally with OpenGL.
some of the subprojects build and run , so I need to "go back" to find out which addition is causing this massive error output.
ThanksMore update
My SUBDIR main project was (it is broken) "standard" windows menu driven widget and it is "generating" these errors. No more menu interface...My "examples" no longer have "pictures" - another missing GL (?)
If I run the menu selection directly. as independent sub project, it works as expected.
-
@AnneRanch Mid-term observation
Reinstalled the bellow, still getting the same error - missing WHAT ?
And why new project do not have similar / same problem ?qt@qt-desktop:~$ sudo apt-get install build-essential
1.
1.
1.- sudo apt-get install libgl1-mesa-dev
- sudo apt-get install libglu1-mesa-dev
- sudo apt-get install freeglut3-dev
- [sudo] password for qt:
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- build-essential is already the newest version (12.8ubuntu3).
- 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- libgl1-mesa-dev is already the newest version (21.0.1-2).
- 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- libglu1-mesa-dev is already the newest version (9.0.1-1build1).
- 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
- Reading package lists... Done
- Building dependency tree... Done
- Reading state information... Done
- freeglut3-dev is already the newest version (2.8.1-6).
- 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
- qt@qt-desktop:~$