On 2015/01/06 11:24, Bite Forest wrote:
I’m developing game with cocos2d-x. But compile sqlite.c in vs, there’r lots of error. Which version of sqlite can I compile through vs in c++ code?
SQLite source is in C so it won't compile in C++, but you can just statically link the .obj for it (in c++) or dynamically link against the DLL which can be downloaded or compiled if you have special requirements and c++ link objects for the sqlite3.dll are freely available, some people on this list might even have made some.
Other C++ wrappers for SQLite can be found here: http://www.sqlite.org/cvstrac/wiki?p=SqliteWrappers (Scroll down a bit to where it says "C++ Wrappers" - some of those links might be a bit outdated) _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users