我有一个pomodoro计时器,我正在尝试使用DSSS编译它。它在执行以下命令时进行编译:
dmd pomodoro.d但是,当我执行
dsss build 在项目目录中,它会抱怨:
pomodoro.d => pomodoro
WARNING: Module pomodoro.d does not have a module declaration. This can cause problems
with rebuild's -oq option. If an error occurs, fix this first.
/usr/bin/ld: cannot find -ltango
collect2: ld returned 1 exit status
--- errorlevel 1
Command /opt/dsss/bin/rebuild returned with code 65280, aborting.
Error: Command failed, aborting.我在目录中的dsss.conf文件是:
name = pomodoro
[pomodoro.d]
target = pomodoroopt/dss/etc/rebuild/default的内容为
profile=dmd-posix-tango我认为有问题的行在这里(在dmd-posix tango中),但是不知道该怎么做。
[link]
oneatatime=yes
cmd=dmd -L--start-group -L-ltango $i -of$o这是在Arch Linux上
有什么想法吗?
发布于 2014-06-24 10:37:04
不再维护DSSS。考虑使用dub:http://code.dlang.org/
https://stackoverflow.com/questions/8682643
复制相似问题