Error spawning 'cl.exe'.

im new so i dont understand what that means i looked it up line and it says that the directories are not set up correctly but i checked it and the folder that contains that files is in the list

coulod someone please help me thank you


  

Rebuild started: Project: Game, Configuration: Debug|Win32


Command Lines
  
Creating temporary file "c:\Documents and Settings\m\My Documents\Visual Studio 2005\Projects\Game\Game\Debug\RSP0000013700348.rsp" with contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\" /Fd"Debug\vc80.pdb" /W3 /c /Wp64 /ZI /TP ".\main.cpp"
]
Creating command line "cl.exe @"c:\Documents and Settings\m\My Documents\Visual Studio 2005\Projects\Game\Game\Debug\RSP0000013700348.rsp" /nologo /errorReport:prompt"
Output Window
  
Compiling...
Project : error PRJ0003 : Error spawning 'cl.exe'.
Results
  
Build log was saved at "file://c:\Documents and Settings\milad\My Documents\Visual Studio 2005\Projects\Game\Game\Debug\BuildLog.htm"
Game - 1 error(s), 0 warning(s)




#include <windows.h>

#include <GL/glut.h>



void display(void)

{
    /* clear window */

     glClear(GL_COLOR_BUFFER_BIT);


    /* draw unit square polygon */

    glBegin(GL_POLYGON);
         glVertex2f(-0.5, -0.5);
         glVertex2f(-0.5, 0.5);
         glVertex2f(0.5, 0.5);
         glVertex2f(0.5, -0.5);
    glEnd();

    /* flush GL buffers */

    glFlush();

}


void init()
{

    /* set clear color to black */

    /*     glClearColor (0.0, 0.0, 0.0, 0.0); */
    /* set fill  color to white */

    /*     glColor3f(1.0, 1.0, 1.0); */

    /* set up standard orthogonal view with clipping */
    /* box as cube of side 2 centered at origin */
    /* This is default view and these statement could be removed */

    /* glMatrixMode (GL_PROJECTION);
    glLoadIdentity ();
    glOrtho(-1.0, 1.0, -1.0, 1.0, -1.0, 1.0);  */
}

int WinMain(int argc, char** argv)
{

    /* Initialize mode and open a window in upper left corner of screen */
    /* Window title is name of program (arg[0]) */

    /* You must call glutInit before any other OpenGL/GLUT calls */
    glutInit(&argc,argv);
    glutInitDisplayMode (GLUT_SINGLE | GLUT_RGB); 
    glutInitWindowSize(500,500);
    glutInitWindowPosition(0,0);
    glutCreateWindow("simple");
    glutDisplayFunc(display);
    init();
    glutMainLoop();

}



Answer this question

Error spawning 'cl.exe'.

  • Nallasivan

    Tools + Options, ensure Show all settings is turned on, Projects and Solutions, VC++ directories, select "Executable files" in the "Show Directories for" combobox. $(VCInstallDir)bin should be at the top. You seem to have a lot of configuration problems, consider reinstalling so that everything gets set back to the defaults.



  • Error spawning 'cl.exe'.