dub libs from home directory on windows

Abby loniro7678 at twit-mail.com
Wed Mar 18 13:52:20 UTC 2020


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.


More information about the Digitalmars-d-learn mailing list