dub libs from home directory on windows

Виталий Фадеев vital.fadeev at gmail.com
Wed Mar 18 15:04:11 UTC 2020


On Wednesday, 18 March 2020 at 13:52:20 UTC, Abby wrote:
> Hi there,
> I'm using d2sqlite3 which has dependency on sqlite3.lib. When 
> I'm building my app on windows I have a dub.sdl which has a line
>
> libs 
> "%USERPROFILE%/AppData/Local/dub/packages/d2sqlite3-0.18.3/d2sqlite3/lib/win64/sqlite3" platform="windows-x86_64-dmd"
>
> but unless I specify full path using specific user profile name 
> on windows like so
>
> "c:/user/abby/AppData/Local/dub/packages/d2sqlite3-0.18.3/d2sqlite3/lib/win64/sqlite3"
>
> I cannot build my app, so I was wondering if there is some 
> clever way to solve this without hardcoded path to my profile 
> name.
>
> Thank you very much for your help.

Of course, you will use "sqlite3.lib" instead "cairo.lib".



More information about the Digitalmars-d-learn mailing list