How to get sqlite3.lib x64?

John C via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Oct 24 00:16:07 PDT 2016


On Monday, 24 October 2016 at 05:43:00 UTC, Andre Pany wrote:
> Hi,
>
> I try to get sqlite3.lib for 64 Bit windows os.
>
> I tried implib with the def file and the 64 Bit dll:
> implib sqlite3_implib.lib sqlite3.def /system
> -> App crash (Windows 10)
>
> With the dll file defined:
> implib sqlite3_implib.lib sqlite3.dll /system
> -> Error message: Error(10): Error: cannot read DLL input file
>
> I have the MS Build tools installed, but the example from
> the SQLite site only shows, how to build a X86 dll file from
> the C source code but not how to build the X86_64 lib file
> for windows:
> cl sqlite3.c -link -dll -out:sqlite3.dll
>
> I tried different combinations but without success.
> Could you give me some hints?
>
> Kind regards
> André

Do you have the Windows 10.0.10586 SDK installed? It includes a 
.lib file to link against the 64-bit DLL. It's called 
winsqlite3.lib.


More information about the Digitalmars-d-learn mailing list