Unsolved C1083: ...'GL/gl.h': No such file or directory
-
Hi,
IIRC, you need to install the Windows SDK from Microsoft to get the OpenGL headers and libs.
-
Hi @DelNoble,
Does your computer have a graphics card that supports OpenGL? If so, you just need to install the latest drivers for your graphics card.
If you don't have an OpenGL-capable graphics card, then I suggest you skip the chapters that use OpenGL.
@SGaist said:
IIRC, you need to install the Windows SDK from Microsoft to get the OpenGL headers and libs.
Note that the Windows SDK only provides OpenGL 1.1, which is very old. (It might be sufficient for the example in the book, but I'm not sure)
-
@SGaist that was already done. Qt works perfectly if I want to use the RAD (Rapid Aid Design) tool, but if I want to do it from scratch it has the above problem.
Do you normally just throw your advice like that? Please be more considere when giving advice. If I was a rooky your would have sent me on never ending spiral. Just to later on hate Qt and go with another toolkit.
I speak from experience, a year ago I took it upon myself to learn qt, and your advice were nothing but deception!
You know what, just forget it, ignore this thread and keep your advice to yourself.
No offence intended, just sincerity. -
@DelNoble You ask other people for help. You get an answer for free and then you're becoming unfriendly just because you already did what was suggested?! How should SGaist know that?
-
@DelNoble, I'm sorry to hear that you had little luck with getting your problem(s) resolved last year, but please understand that this is normal in a community where the volunteers are vastly outnumbered by people seeking help, and yet no full-time helpers exist.
Please realize that @SGaist took the (limited) information that you provided and made a reasonable, educated guess for you. His approach has helped countless users who come to this forum with questions. During the times when his original guess was incorrect, a typical reasonable user would come back and say, "No, I tried what you suggested but I still get the same error message. Could you please have a closer look?"
If you want a solution that is carefully researched and tailored to your specific situation, with a high guarantee of success, your best bet is to hire a consultant.
You are welcome to continue using these forums, but please keep it civil.
-
@jsulm Thanks for your reply.
There is a direct correlation between my statements of unhappiness and the declarative of no intention of insult. However, I must say, as we grow accustomed to our rights we tend to forget its consequences, a fact that becomes more important as our authority, given or earned, grows.
Yes, it is SGaist right to give his opinion, but he also has to realized that he holds a position of authority and that his opinions *must be carefully considered [see] ( http://forum.qt.io/users/sort-reputation ).
I am glad that you have confronted me so aggressively regarding this matter, it show that there is a culture of honour and solidarity in here, I appreciate that, very much. However, in a study done at Yeshiva University, it was determined that, when telling the truth, the overall pattern is that people are not so much conformists or independents as they are cooperative truth tellers under social and moral constraints.Having stated that, I'd like to tell everyone who reads this message, that, though I am aware that there are certain groups in which its members compete to earn more batches, indiscriminately, and that this batch-earning-culture has made those group members arrogant and non-trustworthy as well as combatant and abusive towards one another, I don't believe that this is the case in Qt Forums. Certainly, I realize the lack to tactfulness in my request to SGaist not to provide any input on this subject, however, my request stands.
Throughout last year, I spent countless hours of my free time to learn and developing a interface using wxWidget. The toolkit is fascinatingly easy to use and very much adaptable to VS and GNU. However, prior to that I intended to do the same thing with Qt; it was a disaster! The VS version of Qt never worked properly, even the installation had a lot of problems. Asking questions in this forum lead me to no where else but frustration. SGaist was the main source of information at that time and I follow every advice he gave me, but it was not meant to be, so I abandoned Qt and chose wxWidget instead.
Please note that for personal reasons, I rather develop using Qt and not wxWidget.
It was until a co-worker took time, from his busy schedule, to explain to me why Qt was not even installing properly in my desktop that I realize that SGaist had ill advised me all along. That is there reason I don't accept his opinion and rather not have it.
I would ask but one thing from you @jsulm, please, refrain from advising future developers, like my self, to go somewhere else to find help. If you cannot help, just walk away and wait for the right opportunity to give your opinion, your words or advice don't hurting or benefit anyone else, but Qt.
-
Moving on with the Original Question, what would be the information you need to best understand the problem?
I am using Win10 on a Desktop PC, VSExpress 2013/Windows SDK and Qt (latest version).
If you ever had had a similar problem, please let me know how you solved it.
Thanks in advance. -
@DelNoble said:
C:\Qt\5.5\msvc2012\include\QtGui\qopengl.h:122: error: C1083: Cannot open include file: 'GL/gl.h': No such file or directory
I wonder about msvc2012 when you say VSExpress 2013 ?
there are these packs available
Qt 5.5.1 for Windows 64-bit (VS 2013, 823 MB) (info)
Qt 5.5.1 for Windows 32-bit (VS 2013, 804 MB) (info)
Qt 5.5.1 for Windows 32-bit (VS 2012, 747 MB) (info)so I wonder if you go the one that matches the compiler you are using. ?
Disclaimer:
I use only mingw so not expert on Visual Studio.
use at own risk. -
@DelNoble said:
what would be the information you need to best understand the problem?
- How did you create your project? (To understand how the problem appeared in the first place)
- Do you want to use Qt Designer, or code the whole GUI by hand? (To understand the type of solution you want)
I am using Win10 on a Desktop PC, VSExpress 2013/Windows SDK and Qt (latest version).
If you ever had had a similar problem, please let me know how you solved it.
Thanks in advance.I have not encountered a similar problem myself, but these people have:
-
@DelNoble I never tolled you to go somewhere else to find help. I only tolled you that you should not be unfriendly to people trying to help you! If some suggestions do not work for you just say that in a polite way. SGaist has a lot of experience and helped many people, why do you think you can be so disrespectful to him?