Results 1 to 6 of 6

Thread: Error spawning c1.exe?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2006
    Posts
    211
    Thanks
    27
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question Error spawning c1.exe?

    Hi All,

    I have just started to work with qt on windows.
    Earlier I was working on MAc.

    I have the commercial version of Qt 4.3.4 and the Qt is installed successfully even all the qmake command is running correctly.

    But when I compile my simple hello world program from VC6 then it is giving the error
    Error spawning c1.exe.

    So plz help me what this error is all about.

    Thanks.

  2. #2
    Join Date
    Sep 2006
    Posts
    46
    Thanks
    2
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Error spawning c1.exe?

    Are you sure its not cl.exe instead of c1.exe? Sounds like it is a path issue to the exe builder. My best guess would be to make sure all you path information is correct.

  3. #3
    Join Date
    Dec 2006
    Posts
    211
    Thanks
    27
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Error spawning cl.exe?

    yes it is cl.exe not c1.exe.

    So how should I check the paths.

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Error spawning c1.exe?

    How did you install Qt? What was the exact name of the package you installed and what steps did you take?
    J-P Nurmi

  5. #5
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Error spawning c1.exe?

    Your environment is not set up correctly. Make sure to call vsvars32.bat to set it up. Or use Visual Studio Command prompt (don't know if this is already available in this ancient compiler)

  6. #6
    Join Date
    Dec 2006
    Posts
    211
    Thanks
    27
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Error spawning c1.exe?

    Thanks for reply.
    But now there is a strange situation if I simply click the .dsw file and then open and run the application then I am getting the same error but if I launch the Visual Studio from the bat file from the program menu then there is no error.
    The application just run correctly.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.