What’s the recommended way to build the SQLite FTS3 extension as a Windows DLL?
I’m having the following problem: fts3_tokenizer.obj : error LNK2005: sqlite3_api already defined in fts3.obj When building as an extension, the macro SQLITE_EXTENSION_INIT1 is used in both fts3_tokenizer.c and fts3.c. It creates a global variable named sqlite3_api, and since this is done in two places, there are two global variables of the same name. Hence the problem. (Although FTS can be compiled into SQLite, I would like a DLL so I can dynamically load the extension into environments where I have a pre-compiled SQLite that doesn’t have full text search.) Regards, Nate _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users