Where to find gl.h




















Ubuntu sudo apt-get update OpenGL: sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev Windows Locate your Visual Studio folder for where it puts libraries and also header files, download and copy lib files to lib folder and header files to header.

Waldir Leoncio 9, 16 16 gold badges 70 70 silver badges 98 98 bronze badges. Amir Zadeh Amir Zadeh 3, 2 2 gold badges 25 25 silver badges 45 45 bronze badges. This answer is 10 years old but still helped me Ubuntu LTS. CoatedMoose just don't say what is not, we don't need to know that something is not, could you kindly someday say what it actually is??

What operating system? Dirk Eddelbuettel Dirk Eddelbuettel k 54 54 gold badges silver badges bronze badges. Mark Ingram Mark Ingram Some of the answers above, in regards to linux, are either incomplete, or flat out wrong. Sign up or log in Sign up using Google. Sign up using Facebook.

Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete? Podcast Do polyglots have an edge when it comes to mastering programming Featured on Meta. Now live: A fully responsive profile. Linked 0. Related Hot Network Questions. Question feed. Stack Overflow works best with JavaScript enabled. Please download a browser that supports JavaScript, or enable it if it's disabled i.

Hello, I am trying to use the Qt Creator qt 5. I've tried to solve this by following various tutorials online. The instructions say to run the code. Is there a way for me to re-install or verify the GL library because I am still getting the error. Development packages usually have "-dev" package suffix, like somepackage-dev. You have version 2. In other words, you can run programs that need OpenGL 2.

For programmers: In your case, you need to install the development package. I know that there are a few header files. There is also a few OS specific functions. I think on Linux, it is the glx. This makes it easier to use GL 1. Qt Forum. Only users with topic management privileges can see it.

When ever I try to run my make file however, I get an error that says gcc -I.. Improve this question. Braiam Seldom Seldom 1 1 gold badge 6 6 silver badges 5 5 bronze badges. Add a comment. Active Oldest Votes. First, make sure it's up to date: apt-file update Now you can write a search to answer "what package provides the gl. Improve this answer. Thanks for the help. I tried what you suggested and updated the original post with the output of the search.

Decided to just play around with it and downloaded the mesa-common-dev package. But then my project was giving an error that it needed a "glu. After putting that in the correct folder, and running the make command, the project compiles and will run. So thank you very much for the help. Now I just need to get the graphics to slow down.

Oh, man thank you so much for teaching me to fish instead of just giving me the name of the package! Thanks for the info on apt-file. Give a man a fish and you feed him for one day, teach a man to fish and you feed him for a life time. Thank you! Show 8 more comments.



0コメント

  • 1000 / 1000