Hello, I'm trying to compile my own debug build of SQLite v3.6.3 in Visual Studio 2005 so that I can step through a problem I'm having with my application. I have followed the instructions found here:
http://www.sqlite.org/cvstrac/wiki?p=HowToCompileWithVsNet Using the standard v3.6.3 source tree (not the amalgamation version) everything compiles fine but fails to link with this error: 1>rtree.obj : error LNK2005: _sqlite3_api already defined in fts3_tokenizer.obj 1> Creating library D:\x_mirror\buildman\tools\sqlite-3.6.3\SQLiteVS2005\Debug\SQLiteVS2005.lib and object D:\x_mirror\buildman\tools\sqlite-3.6.3\SQLiteVS2005\Debug\SQLiteVS2005.exp 1>D:\x_mirror\buildman\tools\sqlite-3.6.3\SQLiteVS2005\Debug\SQLiteVS2005.dll : fatal error LNK1169: one or more multiply defined symbols found I have only two SQLite preprocessor defines set in my project: SQLITE_ENABLE_COLUMN_METADATA SQLITE_ENABLE_FTS3 I get this error both with and without the SQLITE_ENABLE_FTS3 define. I get the same linker error when trying to build SQLite v3.6.10 and when trying to use Visual Studio 2003 instead of 2005. I'm sure there must be an easy fix for this problem - any advice would be really appreciated. I imagine I could use the /FORCE:MULTIPLE linker option to get past this but I'm reluctant to do so without checking first. Thanks in advance, Ian Thomas LEGAL NOTICE Unless expressly stated otherwise, information contained in this message is confidential. If this message is not intended for you, please inform [email protected] and delete the message. The Cambridge Crystallographic Data Centre is a company Limited by Guarantee and a Registered Charity. Registered in England No. 2155347 Registered Charity No. 800579 Registered office 12 Union Road, Cambridge CB2 1EZ. _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

