I had the same issue and I just excluded sqlite3.c and sqlite3.h from project (in Solution Explorer right click on them and select Exclude From Project) and then included again (right click on them again and select Include In Project). And now it works...