Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build under Windows #51

Open
bubnenkoff opened this issue Dec 25, 2018 · 1 comment
Open

Can't build under Windows #51

bubnenkoff opened this issue Dec 25, 2018 · 1 comment

Comments

@bubnenkoff
Copy link

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
Copy link
Collaborator

biozic commented Dec 28, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants