February 01, 2022

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\lib\win64\sqlite3" platform="windows"

Thank you very much for your help

February 01, 2022

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.

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.