VC++中遍历SQLite时 报错

来源:互联网 发布:Mac官网源码 编辑:程序博客网 时间:2024/06/05 19:41


由于项目需要,学习了下SQlite,并把它加入到工程去,由于之前的都是C++文件,SQLite是C文件,加入SQlite源代码之后,进行编译,发现有如下错误


fatal error C1853: 'Debug\Test.pch' precompiled header file is from a previous version of the compiler, or the precompiled header is C++ and you are using it from C (or vice versa)


选中sqlite3.c, 右键,属性,C/C++,预编译头,第1项目,取消预编译头
0 0