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. CL not recognized
Forum Updated to NodeBB v4.3 + New Features

CL not recognized

Scheduled Pinned Locked Moved Installation and Deployment
13 Posts 4 Posters 14.1k Views 1 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.
  • B Offline
    B Offline
    bjaustin
    wrote on last edited by
    #3

    [quote author="Tobias Hunger" date="1358761957"]You should not need to add anything to your PATH, creator should do that for you.
    [/quote]
    When would it do that?

    [quote author="Tobias Hunger" date="1358761957"]So try switching to a different flavor of the compiler. Does that fix the issue?[/quote]
    What do you mean by a different flavor?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      BelenMuñoz
      wrote on last edited by
      #4

      I had the same problems a few days ago and I solved it executing vcvarsall.bat before (I was using nmake) it's suposed to add the variable to the path.
      I hope it can help you.
      Regards.

      Me casé con un enano pa jartarme de reí.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bjaustin
        wrote on last edited by
        #5

        I tried that:
        @C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC> vcvarsall.bat
        ERROR: Cannot determine the location of the VS Common Tools folder.
        C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>@

        [My operating system is Windows 7 64bit. Besides Qt and VSC++, I also have RAD Studio XE3 installed (C++, Delphi, HTML5Builder, and Prism).]

        1 Reply Last reply
        0
        • B Offline
          B Offline
          BelenMuñoz
          wrote on last edited by
          #6

          It's a problem with VS Common Tools.
          I've found this thread, hope you find something useful.
          http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/3312be98-cf2b-4907-af89-d91170ee90c0/

          Regards.

          Me casé con un enano pa jartarme de reí.

          1 Reply Last reply
          0
          • B Offline
            B Offline
            bjaustin
            wrote on last edited by
            #7

            I read the first forum, and there was a link to another forum. I couldn't make heads or tails of the second; the first was helpful, but the suggestion that the environmental variable was not set was not true for my machine.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sahumada
              wrote on last edited by
              #8

              are you using msvc2010 express ?

              Sergio Ahumada

              1 Reply Last reply
              0
              • B Offline
                B Offline
                bjaustin
                wrote on last edited by
                #9

                [quote author="seahumad" date="1359174961"]are you using msvc2010 express ?[/quote]
                Yes I am.

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  sahumada
                  wrote on last edited by
                  #10

                  See the workaround for msvc2010 express 64 bit here http://qt-project.org/wiki/Qt500Beta2KnownIssues

                  Sergio Ahumada

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    bjaustin
                    wrote on last edited by
                    #11

                    When installing the SDK I get an error, and it just says to check the log.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      sahumada
                      wrote on last edited by
                      #12

                      well .. this is a windows/msvc problem rather than a Qt problem

                      Sergio Ahumada

                      1 Reply Last reply
                      0
                      • B Offline
                        B Offline
                        bjaustin
                        wrote on last edited by
                        #13

                        [quote author="seahumad" date="1359209110"]See the workaround for msvc2010 express 64 bit here http://qt-project.org/wiki/Qt500Beta2KnownIssues[/quote]
                        I think that this worked (I had uninstall MSVC++ first then reinstall after the SDK installed). However, now when I compile most example programs, I get the error:
                        @error: LNK1104: cannot open file 'gdi32.lib'@

                        1 Reply Last reply
                        0

                        • Login

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