Where is gl h on ubuntu
I downloaded VMWare, installed Ubuntu on a virtual machine, and now am trying to get my program to open. Would anyone happen to know why it can't find this file, when it can on my school computers? And what I'd need to do to download it or get it in the right spot?
I'd guess you don't have whatever dev package s provide gl. I don't have an ubuntu box just now to check, but I'd guess the result will be something like mesa-dev or opengl-dev. Once you know what package provides "gl. You can also build glproto link , libdrm link , and then mesa link from source. While many other packages may contain this header file, it's important to go to the source.
Ubuntu Community Ask! Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 8 years, 5 months ago. The issue is resolved. I had to reinstall: sudo apt-get install libglfw3-dev libgl1-mesa-dev libglu1-mesa-dev. Skip to content.
Star 5. New issue. Jump to bottom. Labels installation Linux. New issue. Jump to bottom. Labels bug external X Milestone None.
Linked pull requests. Copy link. My Matlab installation and steam work fine with OpenGL. It there anything I can do to resolve this? Hi, Thanks for the response. From the standard Mint repositories, I installed this version:. I notice that the error I get is slightly different from the one at the top of the topic: fatal error: QtOpenGL: No such file or directory but it appears to be related.
If you didn't use the Qt installer then you should check the Qt 5 packages that you have installed in Ming. You might be missing some of them. I found this in the software manager: Qt5-default: 5. I don't know if Mint does any customisation for the packaging however AFAIK, from the ubuntu repo, you should install qt5-default which should install the basics for Qt 5 development. I do however get this warning when running the OpenGL example "boxes".
Don't worry for that warning, it's a message that's currently shown whatever your hardware is. The example itself is pretty old and from a quick look there was a plan to only show it when hardware was underpowered but it seems it didn't happen yet. Good to hear.
0コメント