Right-click on the sqlite3.c file in your Visual Studio project, click on 
properties, then under C/C++ go to Precompiled Headers, and change the setting 
for "Precompiled Header" to "Not using precompiled header".

Make sure to do this for "All Configurations" and "All Platforms" (at the top 
of that dialog).

- Deon

-----Original Message-----
From: sqlite-users <[email protected]> On Behalf Of 
Jens Alfke
Sent: Thursday, December 20, 2018 5:59 PM
To: SQLite mailing list <[email protected]>
Subject: Re: [sqlite] Need setup code for VC++ 2017 that will ACTUALLY COMPILE



> On Dec 20, 2018, at 5:34 PM, zydeholic <[email protected]> wrote:
> 
> I pulled the two files into a C++ project, deleted the .cpp file, and 
> compiled.
> It came back and said my PCH compiled header was from a previous project, or 
> something like that.  I tried to save the message, but it got lost in the 
> hubbub.
> So, I deleted the PCH.CPP file that was in the project.  I just rebuilt it, 
> and got this message:
> 
> Error    C1010    unexpected end of file while looking for precompiled 
> header. Did you forget to add '#include "pch.h"' to your source?    sqlite_c  
>   c:\sqlite\source code\sqlite-amalgamation-3260000\sqlite3.c    220536    

You’re having trouble with Visual Studio, not with SQLite. A forum for VS users 
would be an appropriate place to ask for help.

—Jens
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to