> ---- Mensaje original ----
> De: Dan Kennedy <danielk1...@gmail.com>
> Para:  sqlite-users@mailinglists.sqlite.org
>
> On 01/30/2017 05:39 PM, a...@zator.com wrote:
>> Hi list:
>>
>> Building with SQLite v. 3.16.2 and MS VC++ 2015 (v 14.0) there appeared a 
>> linker error:
>>
>> Error LNK2019 external simbol _sqlite3FkReferences unresolved in function 
>> _sqlite3Insert
>>
>> Who belong (I suppose) to a compiler warning:
>>
>> line 109039: warning C4013: 'sqlite3FkReferences' undefined
>>
>> I use the following configh, who compiles Ok with v. 3.9.1 and  earlier.
>>
>> #define SQLITE_MAX_VARIABLE_NUMBER 25
>> #define SQLITE_DEFAULT_PAGE_SIZE 1024
>> #define SQLITE_THREADSAFE 1
>> #define SQLITE_OMIT_PROGRESS_CALLBACK 1
>> #define SQLITE_OMIT_FOREIGN_KEY      1
>> #define SQLITE_OMIT_AUTOVACUUM  1
>> #define SQLITE_OMIT_EXPLAIN 1
>> #define SQLITE_SECURE_DELETE 1
>> #define SQLITE_OMIT_BUILTIN_TEST 1
>> #define SQLITE_OMIT_TRACE 1
>> #define SQLITE_ENABLE_FTS5 1
>>
>> Any clue of how surpass with a minimal distortion in the config file would 
>> be appreciated.
>
>Removing the "SQLITE_OMIT_FOREIGN_KEY" line would probably fix things.
>
>Or grab the one-line patch from here:
>
>   http://www.sqlite.org/src/info/e93d2c49a44af994
>
>Dan.

Thanks a lot.

Both solutions works as expected.

--
Adolfo J. Millan
Zator Systems.

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to