On Mon, Jun 25, 2012 at 4:15 PM, deltagam...@gmx.net <deltagam...@gmx.net> wrote: > Hello, > > Im using MSVS 2010 for an c++ GUI project. > After including sqlite3.h and sqlite3.c from the amalgamation-3071200 > and with the Project Properties--> C/C++ --> Precompiled Headers --> > Precompiled Header --> Use (/Yu) > I get the error > sqlite3.c : fatal error C1853: 'Debug\Contegos_UI.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) > > If I change to Precompiled Header --> Create (/Yc) > I get the error > sqlite3.c(136660): error C2857: '#include' statement specified with the > /YcStdAfx.h command-line option was not found in the source file > > > How can I solve this problem ?
Change it to Precompiled Header --> Not Using Precompiled Headers. Because you won't use the same headers to compile your application and sqlite3.c. Pavel _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users