(Visual D) it is not clear on how to install dub packages into project.
Shadowblitz16
DomainName at Email.com
Mon Oct 21 04:40:11 UTC 2019
Hello, its not very clear how to install dub packages into
existing visual D projects.
I tried using the packages manager to run "dub add dsfml" however
that froze the package manager and I had to go into task manager
and force end the dub process.
there really needs to be a clear explanation on this as dub is
the official package manager for the d language and I have still
yet to figure out how to use it.
this is not just for visual D but other IDE implementations of
the d language.
when I go to the dub website it simply says... "to install run
"dub add <packagename>""
however when trying this it says I must first run "dub init"
which i'm not sure is per project or once per computer.
anyhow this system is clearly flawed for beginners.
something as simple as "dub add <packagename>" would be fine.
especially if it auto generated a project based on folder name
and login details if one didn't exist.
what I am wondering is how do I install packages with visual D in
visual studio 2019?
I currently have had better luck with c++ due to video tutorials
and that's pretty bad since you have to link c++ files, which in
itself is a pain in the ass and definitely not beginner friendly.
More information about the Digitalmars-d-ide
mailing list