dlang-community / d2sqlite3

A small wrapper around SQLite for the D programming language
Boost Software License 1.0
75 stars 26 forks source link

Can't build under Windows #51

Open bubnenkoff opened 5 years ago

bubnenkoff commented 5 years ago
Dima@MACHINE-FCGCTD2 D:\foo\test
> dub
Performing "debug" build using C:\D\dmd2\windows\bin\dmd.exe for x86.
d2sqlite3 0.18.1: target for configuration "with-lib" is up to date.
test ~master: building configuration "application"...
Linking...
OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
sqlite3.lib
 Error 43: Not a Valid Library File
Error: linker exited with status 1
C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1

sqlite3.lib is placed near binary:

 Содержимое папки D:\foo\test

25.12.2018  21:58    <DIR>          .
25.12.2018  21:58    <DIR>          ..
25.12.2018  21:57    <DIR>          .dub
25.12.2018  21:56               112 .gitignore
25.12.2018  21:56               165 dub.sdl
25.12.2018  21:57                65 dub.selections.json
25.12.2018  21:56    <DIR>          source
24.11.2018  18:32            60 502 sqlite3.lib
biozic commented 5 years ago

Have you tried the all-included configuration to see if that works ? The sqlite3.lib file is the one provided on the SQLite website, so it's probably ok... Maybe just not optlink-compatible. I'm sorry I'm not more helpful since I indeed don't use it on Windows.