lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Nov 15, 2016 at 4:48 AM, Alexey Melnichuk <alexeymelnichuck@gmail.com> wrote:
Error is

> lsqlite3.obj : error LNK2019: unresolved external symbol sqlite3_temp_directory referenced in function lsqlite_temp_directory

This is because MSVC does not define `WIN32` but `_WIN32`.
There  also question should library define this variable on Windows or
just ignore it.

Thanks, Alexey.

Currently, lsqlite_temp_directory is not included if WIN32 is defined. This works on mingw.  Perhaps I should add _WIN64 and _WIN32, or _MSC_VER for MSVC. I'll do one of those if you concur that it will solve your build problem.

e