我使用Windows安装程序安装了dmd(2.0 ?),并尝试编译以下程序:
module tcpechoserver;
import std.stdio;
const int MAXPENDING = 5;
int main(char[][] argv)
{
if(argv.length != 2){
writef("Usage: %s <port>", argv[0]);
}
return 0;
}
但我收到了以下编译器错误:
Error: module stdio cannot read file 'std\stdio.d'
我需要指定一些路径来使标准库正常工作吗?
dmd -v
编译的输出结果。 - Bernard