我有一个番茄计时器,我正在尝试使用 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 = pomodoro
/opt/dsss/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 上
有任何想法吗?