d2sqlite3 icon indicating copy to clipboard operation
d2sqlite3 copied to clipboard

Can't build under Windows

Open bubnenkoff opened this issue 6 years ago • 1 comments

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

bubnenkoff avatar Dec 25 '18 19:12 bubnenkoff

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.

biozic avatar Dec 28 '18 09:12 biozic