Can't Build: cl16.exe has stopped working

Mar 21, 2008 at 5:48 PM
Edited Mar 21, 2008 at 5:52 PM
I'm trying to build on Vista Business. I first had trouble because I didn't have .NET 1.1. I downloaded and installed it and then deleted base.obj and did a clean. I then did msb Distro\Tiny.proj. It built for a while and then I got a pop-up saying that cl16.exe has stopped working. After I closed the pop-up the build continued and eventually reported failure.

Here's the section of the log from the failed project:

Target CopySourceFilesForCL16:
Copying file from "FatDevice.cpp" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\FatDevice.cpp".
Target CopySourceFilesForCL16:
Copying file from "jolietdevice.cpp" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\jolietdevice.cpp".
Target CopySourceFilesForCL16:
Copying file from "usbdevice.cpp" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\usbdevice.cpp".
Target CopySourceFilesForCL16:
Copying file from "inifile.cpp" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\inifile.cpp".
Target CopySourceFilesForCL16:
Copying file from "fnames.cpp" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\fnames.cpp".
Target CopySourceFilesForCL16:
Copying file from "pxe.cpp" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\pxe.cpp".
Target CopySourceFilesForCL16:
Skipping target "CopySourceFilesForCL16" because all output files are up-to-date with respect to the input files.
Target CopySourceFilesForCL16:
Copying file from "C:\Users\Scott Finley\Documents\School\CS 736\project\singularity\singularity-6709\base\Boot\Include\Minidump.h" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\Minidump.h".
Target CopySourceFilesForCL16:
Copying file from "C:\Users\Scott Finley\Documents\School\CS 736\project\singularity\singularity-6709\base\Boot\Include\printf.cpp" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\printf.cpp".
Target CopySourceFilesForCL16:
Copying file from "C:\Users\Scott Finley\Documents\School\CS 736\project\singularity\singularity-6709\base\Boot\Include\winctx.h" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\winctx.h".
Target CopySourceFilesForCL16:
Copying file from "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Kernel\Prototype.x86.LegacyPC.Min.MarkSweep.native\halclass.h" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\halclass.h".
Target CopySourceFilesForCL16:
Copying file from "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Kernel\Prototype.x86.LegacyPC.Min.MarkSweep.native\halclass.inc" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\halclass.inc".
Target CopySourceFilesForCL16:
Copying file from "bootdevice.h" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\bootdevice.h".
Target CopySourceFilesForCL16:
Copying file from "debug.h" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\debug.h".
Target CopySourceFilesForCL16:
Copying file from "fatdevice.h" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\fatdevice.h".
Target CopySourceFilesForCL16:
Copying file from "fnames.h" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\fnames.h".
Target CopySourceFilesForCL16:
Copying file from "inifile.h" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\inifile.h".
Target CopySourceFilesForCL16:
Copying file from "jolietdevice.h" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\jolietdevice.h".
Target CopySourceFilesForCL16:
Copying file from "pci.h" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\pci.h".
Target CopySourceFilesForCL16:
Copying file from "pxe.h" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\pxe.h".
Target CopySourceFilesForCL16:
Copying file from "singldr.h" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\singldr.h".
Target CopySourceFilesForCL16:
Copying file from "usbdevice.h" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\usbdevice.h".
Target CopySourceFilesForCL16:
Copying file from "ulhelp.inc" to "C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base.obj\Boot\Prototype.x86\ulhelp.inc".
Target CompileCppSource16:
PATH ; & C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base\Build\cl16.exe /nologo /c /AT /G3 /Gs /Gd /Gf /Gy /W4 /WX /DSINGULARITY_LOADER /FoFatDevice.obj /FaFatDevice.lst /I. FatDevice.cpp
fatdevice.cpp
C:\Users\Scott Finley\Documents\School\CS 736\project\singularity\singularity-6709\base\Boot\SINGLDR\SINGLDR.proj(175,5): error MSB3073: The command "PATH ; & C:\Users\SCOTTF~1\DOCUME~1\School\CS736~1\project\SINGUL~1\SINGUL~1\base\Build\cl16.exe /nologo /c /AT /G3 /Gs /Gd /Gf /Gy /W4 /WX /DSINGULARITY_LOADER /FoFatDevice.obj /FaFatDevice.lst /I. FatDevice.cpp" exited with code -1073741819.
Done building target "CompileCppSource16" in project "SINGLDR.proj" -- FAILED.

Done building project "SINGLDR.proj" -- FAILED.

Scott
Mar 21, 2008 at 8:16 PM
I fixed this problem. Looks like it was that my path was too long as mentioned in the FAQ of the "Building and Running" pdf.