How do I use dub?

2014-10-24 Thread Minas Mina via Digitalmars-d-learn
I intent to use D to make a small 2D game. I have downloaded eclipse, DDT plugin and dub. I also set the path to dub in eclipse. So I made a new project, tested a writeln and it worked. The next step was to add some dependencies for derelict. I need SFML for now (and DerelictUtils of

Re: How do I use dub?

2014-10-24 Thread Minas Mina via Digitalmars-d-learn
Oh and another thing: The program compiles right now but I can't execute it because for some reason: Failed to create a child process. Cannot run program /home/minas/Projects/eclipse_workspace/DTest/dtest (in directory /home/minas/Projects/eclipse_workspace/DTest): error=13, Permission denied

Re: How do I use dub?

2014-10-24 Thread Mike Parker via Digitalmars-d-learn
On Friday, 24 October 2014 at 23:46:51 UTC, Minas Mina wrote: The way I specified the library seems very ugly to me. Essentially it's a full path... How can I tell dub to use it by locating it automatically from its local repository? You don't. That's what dub does by default.

Re: How do I use dub?

2014-10-24 Thread Mike Parker via Digitalmars-d-learn
On Friday, 24 October 2014 at 23:50:26 UTC, Minas Mina wrote: Oh and another thing: The program compiles right now but I can't execute it because for some reason: Failed to create a child process. Cannot run program /home/minas/Projects/eclipse_workspace/DTest/dtest (in directory