Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. C1083 - Visual Studio 2015 standard headers aren't detected
Forum Updated to NodeBB v4.3 + New Features

C1083 - Visual Studio 2015 standard headers aren't detected

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
34 Posts 4 Posters 15.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jBesserer
    wrote on last edited by
    #14

    So nothing really changed, Qt still fails to detect any of the standard visual studio headers and given that i've been working on this for over 2 weeks. I'm starting to be rather irritated (sorry, just venting.)

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jBesserer
      wrote on last edited by
      #15

      On a side note, when I installed Visual Studio and Qt, when I tried to run the plain program, it just said 'cannot find 'cl' did you set up your environment?

      I might as well ask, is setting up my environment just going in my system environment variables and adding the path to my compiler ?

      0_1518014531769_systemEnvironment.PNG

      All I did was add the last two lines.

      I'm working on windows 10 also, if that does anything.

      aha_1980A 1 Reply Last reply
      0
      • J jBesserer

        On a side note, when I installed Visual Studio and Qt, when I tried to run the plain program, it just said 'cannot find 'cl' did you set up your environment?

        I might as well ask, is setting up my environment just going in my system environment variables and adding the path to my compiler ?

        0_1518014531769_systemEnvironment.PNG

        All I did was add the last two lines.

        I'm working on windows 10 also, if that does anything.

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #16

        @jBesserer said in C1083 - Visual Studio 2015 standard headers aren't detected:

        On a side note, when I installed Visual Studio and Qt, when I tried to run the plain program, it just said 'cannot find 'cl' did you set up your environment?

        That seems to describe you problem more clearly. Adding paths to the environment will probably not help you.

        Have you checked QTCREATORBUG-17474?

        Qt has to stay free or it will die.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jBesserer
          wrote on last edited by
          #17

          Am I supposed to run vcvarsall in the cmd, I thought qt just did it when you start compiling. if I was to try it, what would be the syntax for the command?

          0_1518017681536_settings1.PNG
          0_1518017688053_settings2.PNG

          Here are my settings, I know the error says it has no path for the compiler but that was after I removed the 2 lines from my system environment variables.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jBesserer
            wrote on last edited by
            #18

            Here is what I get when I run the command from the cmd
            0_1518017993155_commontools.PNG

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #19

              What if you start directly the command line through one of the shortcuts provided with Visual Studio ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1
              • J Offline
                J Offline
                jBesserer
                wrote on last edited by
                #20

                Here you go:

                0_1518018611214_commontools2.PNG

                aha_1980A 2 Replies Last reply
                0
                • J jBesserer

                  Here you go:

                  0_1518018611214_commontools2.PNG

                  aha_1980A Offline
                  aha_1980A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on last edited by
                  #21

                  @jBesserer At least you have a hint now what could be the problem...

                  Qt has to stay free or it will die.

                  J 1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #22

                    Could be something like described here.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    J 1 Reply Last reply
                    1
                    • aha_1980A aha_1980

                      @jBesserer At least you have a hint now what could be the problem...

                      J Offline
                      J Offline
                      jBesserer
                      wrote on last edited by
                      #23

                      @aha_1980 I would like to share your optimism, but I mostly don't understand anything from the answers to 'fix' this problem. As soon as we go into cmd or system32 related things I lose track of where to go and what to do because I can't conceptualize how to fix it.

                      aha_1980A 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        Could be something like described here.

                        J Offline
                        J Offline
                        jBesserer
                        wrote on last edited by
                        #24

                        @SGaist I already explored that possibility some days ago, but I have the system32 path in my system environment variables

                        1 Reply Last reply
                        0
                        • J jBesserer

                          @aha_1980 I would like to share your optimism, but I mostly don't understand anything from the answers to 'fix' this problem. As soon as we go into cmd or system32 related things I lose track of where to go and what to do because I can't conceptualize how to fix it.

                          aha_1980A Offline
                          aha_1980A Offline
                          aha_1980
                          Lifetime Qt Champion
                          wrote on last edited by
                          #25

                          @jBesserer So what happens if you enter reg in a Command Prompt?

                          Can you show us the contentes of your PATH variable? (as text please).

                          Sometimes windows has problems traversing the PATH if it contains an invalid directory.

                          Qt has to stay free or it will die.

                          J 1 Reply Last reply
                          0
                          • aha_1980A aha_1980

                            @jBesserer So what happens if you enter reg in a Command Prompt?

                            Can you show us the contentes of your PATH variable? (as text please).

                            Sometimes windows has problems traversing the PATH if it contains an invalid directory.

                            J Offline
                            J Offline
                            jBesserer
                            wrote on last edited by jBesserer
                            #26

                            @aha_1980 Here you go.

                            0_1518019907000_regPath.PNG

                            C:\Python27;C:\PCI Geomatics\Geomatica 2015\exe;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;c:\MATLAB\R2016a\bin;%USERPROFILE%.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\

                            1 Reply Last reply
                            0
                            • J Offline
                              J Offline
                              jBesserer
                              wrote on last edited by
                              #27

                              In a different vein, it is okay if Visual Studio installed 2 different versions of the 2015 redist for (x64) ? Could that also cause a conflict?

                              0_1518021600445_redists.PNG

                              1 Reply Last reply
                              0
                              • J jBesserer

                                Here you go:

                                0_1518018611214_commontools2.PNG

                                aha_1980A Offline
                                aha_1980A Offline
                                aha_1980
                                Lifetime Qt Champion
                                wrote on last edited by aha_1980
                                #28

                                @jBesserer: Is it correct that you used the "Cross Tools" Command Prompt?

                                In a different vein, it is okay if Visual Studio installed 2 different versions of the 2015 redist for (x64) ? Could that also cause a conflict?

                                Honestly, I don't know. The only tip I can give you is to debug the vcvars.bat and maybe ask for help in a Visual Studio forum. As the reg command is available for you, it must be something else that disallows your compiler usage.

                                Qt has to stay free or it will die.

                                J 1 Reply Last reply
                                0
                                • aha_1980A Offline
                                  aha_1980A Offline
                                  aha_1980
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #29

                                  @jBesserer: I just have another idea.

                                  On http://www.randygaul.net/2016/06/03/faster-vcvars32-bat is a description on how to speed up the vcvars32.bit.

                                  As the essence, he describes the variables that are set by this batch file. Maybe doing it like him gives you a running Visual Studio prompt that can also be used from Creator.

                                  Qt has to stay free or it will die.

                                  1 Reply Last reply
                                  0
                                  • aha_1980A aha_1980

                                    @jBesserer: Is it correct that you used the "Cross Tools" Command Prompt?

                                    In a different vein, it is okay if Visual Studio installed 2 different versions of the 2015 redist for (x64) ? Could that also cause a conflict?

                                    Honestly, I don't know. The only tip I can give you is to debug the vcvars.bat and maybe ask for help in a Visual Studio forum. As the reg command is available for you, it must be something else that disallows your compiler usage.

                                    J Offline
                                    J Offline
                                    jBesserer
                                    wrote on last edited by
                                    #30

                                    @aha_1980 I used the cross tool because i'm building with the x86_amd64 compiler in Qt...So I assumed that was how to do it. I don't really know.

                                    aha_1980A 1 Reply Last reply
                                    0
                                    • J jBesserer

                                      @aha_1980 I used the cross tool because i'm building with the x86_amd64 compiler in Qt...So I assumed that was how to do it. I don't really know.

                                      aha_1980A Offline
                                      aha_1980A Offline
                                      aha_1980
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #31

                                      @jBesserer said in C1083 - Visual Studio 2015 standard headers aren't detected:

                                      @aha_1980 I used the cross tool because i'm building with the x86_amd64 compiler in Qt...

                                      I'm confused too. if you have a 64 bit OS and want to create 64 bit apps then you don't cross compile...

                                      I cannot help further here, don't have Windows and no MSVC. Maybe someone else can. Sorry.

                                      Qt has to stay free or it will die.

                                      J 1 Reply Last reply
                                      0
                                      • aha_1980A aha_1980

                                        @jBesserer said in C1083 - Visual Studio 2015 standard headers aren't detected:

                                        @aha_1980 I used the cross tool because i'm building with the x86_amd64 compiler in Qt...

                                        I'm confused too. if you have a 64 bit OS and want to create 64 bit apps then you don't cross compile...

                                        I cannot help further here, don't have Windows and no MSVC. Maybe someone else can. Sorry.

                                        J Offline
                                        J Offline
                                        jBesserer
                                        wrote on last edited by
                                        #32

                                        @aha_1980 Thank you very much for your earnest efforts in helping. :) I'm pretty much starting to assume that this is an internal network or user properties because when I try to install it anywhere at the University (my internship location) it doesn't compile and has always the same errors, but when I install it on my personal laptop and personal desktop, it compiles perfectly.

                                        I looked around everywhere and compared left and right, but I couldn't find an answer. I wanted to just install a VM on work computer yesterday but vt-x is disabled in the BIOS and the university's admin added a admin password to the BIOS, so i'm pretty much out of options.

                                        1 Reply Last reply
                                        1
                                        • SGaistS Offline
                                          SGaistS Offline
                                          SGaist
                                          Lifetime Qt Champion
                                          wrote on last edited by
                                          #33

                                          In that case, did you try to ask your university IT folks ?

                                          Interested in AI ? www.idiap.ch
                                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                          1 Reply Last reply
                                          1

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved