出了4个错
1,fatal error C1010: unexpected end of file while looking for precompiled header directive
2,fatal error C1010: unexpected end of file while looking for precompiled header directive
3,unexpected end of file while looking for precompiled header directive
4,fatal error C1010: unexpected end of file while looking for precompiled header directive最糟糕的是,错的都是网上找的读xml的tinyxml的文件~~~
毕竟不是自己的东西,不知道从何入手找

解决方案 »

  1.   

    最可能的情况是:你在Debug配置中把某些c或cpp文件设置了“不使用预编译头”,而Release配置中没有设置。
      

  2.   

    应该没有 #include "StdAfx.h"可以设置将这些文件的预编译选项取消,就不会 looking for precompiled header directive
      

  3.   

    有什么解决方法不?例如在Release也取消该设置
      

  4.   

    Debug配置中做了哪些,Release配置也都照做。
      

  5.   

    问题系,我debug里什么也没设啊~~
    一直都是这样用的
      

  6.   

    重新设置了一下,剩下一个错误
    '/ZI' and '/O2' command-line options are incompatible
    但是双击错误没有告诉我哪个地方错了~~我也不知道在哪改~
      

  7.   

    在Release配置中,把生成调试信息的编译选项去掉。
      

  8.   

    不知道你的VC是哪个版本,如果是VS.NET,在“C/C++”—“常规”中,将“调试信息格式”该为禁用或者/Zi(i是小写)都可以。