Hello,

I have "hello world" application. I imported std.file, executed thisExePath() and now I have this error:

----------------------------------------------------------------
dmd -m64 -of=../../bin/manager -release ./src/manager.d
/usr/include/dmd/phobos/std/file.d(3252): Error: readlink cannot be interpreted at compile time, because it has no available source code /usr/include/dmd/phobos/std/file.d(3253): called from here: delegate () => readlink(linkz.ptr(), & buffer, 2048LU)() /usr/include/dmd/phobos/std/file.d(3433): called from here: readLink("/proc/self/exe")
./src/manager.d(8):        called from here: thisExePath()
./src/manager.d(8): called from here: dirName(thisExePath())
makefile:2: recipe for target 'all' failed
----------------------------------------------------------------

Whats going on? Why I cant build my executable file?

Reply via email to