vs2008 Cannot read include file xxx.h Not enough space
when I build a big solution, about 110 c++ projects, i got 200 errors like:
fatal error C1084: Cannot read include file: 'c:\program files\microsoft visual studio 9.0\vc\include\xxcallpmf': Not enough space Line 4237: 69>m:\main\3rdparty\boost_1_37_0\boost\detail\workaround.hpp : fatal error C1084: Cannot read include file: 开发者_开发知识库'm:\main\3rdparty\boost_1_37_0\boost\detail\workaround.hpp': Not enough space .... .... ......
what's going on?
Windows 7 + 4G memory.
Probably the partition that has your TMP and TEMP directories is nearly full, and in the middle of compiling the partition gets completely full.
Try creating a directory for yourself on some other partition that has lots of free space, set your environment variables TMP and TEMP to point to that directory, log out and log in again so your session uses those new settings, and try Visual Studio again.
Most likely you are running out of space/quota on the drive that your TEMP (or TMP) environment variable points to. if you start devenv from a command prompt try typing
set t
and see where these environment variables point to. If you use an icon to start it, then you need to check the default environment.
- right click on "My Computer"
- choose "properties"
- if on Vista or Win7 click on "Advanced system settings" over in the right pane
- go to the "Advanced" tab
- click on the "Environment Variables..." button
Not enough space might also be triggered by an exhaustion of the available number of Inodes
(whatever they call it in FAT/NTFS
), if you have many small files, and the maximum size of file list for that drive has been reached, even if there is still some available space.
I think some windows defragmenting tools allow to modify the MFT
(Master file table) of NTFS
partitions
精彩评论