www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - package libs on windows

reply Abby <abby gmail.com> writes:
Hi there,
I'm using d2sqlite3 package on windows with dub, the problem I 
have is that when I compiling the app linking fails because LINK 
: fatal error LNK1181: cannot open input file 'sqlite3.lib'. I 
would like to know if there is a way to set path to lib to 
downloaded with package instead of harcoded.

libs 
"C:\\Users\\abby\\AppData\\Local\\dub\\packages\\d2sqlite3-0.18.3\\d2sqlite3\\source\\d2sqlite3\\
ib\\win64\\sqlite3" platform="windows"

Thank you very much for your help
Feb 01 2022
parent Bastiaan Veelo <Bastiaan Veelo.net> writes:
On Tuesday, 1 February 2022 at 21:17:09 UTC, Abby wrote:
  I would like to know if there is a way to set path to lib to 
 downloaded with package instead of harcoded.
That’s documented on the [package page](https://code.dlang.org/packages/d2sqlite3). Are you trying to link with a separately downloaded version, or de included version? How have you configured your `dub.json`, and do you supply any options in the `dub` invocation? — Bastiaan.
Feb 01 2022