How to use listener.d example?

Marcin p_ir at o2.pl
Tue Sep 4 10:57:14 UTC 2018


On Friday, 31 August 2018 at 07:38:54 UTC, Marcin wrote:
> https://github.com/dlang/dmd/blob/master/samples/listener.d


Im using Notepad++ as my IDE cuz i dont have administrator 
privileges on PC
To import modules i use -I option
cmd /k  cd C:\D\dtwo\windows\bin\ & C:\D\dtwo\windows\bin\dmd.exe 
-I="$(CURRENT_DIRECTORY)" "$(FULL_CURRENT_PATH)" & 
C:\D\dtwo\windows\bin\$(NAME_PART).exe

C:\Users\wjelki\Desktop\d\aplikacja.d(2): Error: module `server` 
is in file 'vibe\http\server.d' which cannot be read
import path[0] = C:\Users\wjelki\Desktop\d\vibe.d\core
import path[1] = .\..\..\src\phobos
import path[2] = .\..\..\src\druntime\import

How to import other modules than Phobos?




More information about the Digitalmars-d-learn mailing list