我有麻烦gtk
:
- 我从 git 克隆:
https://github.com/gtkd-developers/GtkD.git
make & sudo make install
- 添加
-I/usr/local/include/d
到/etc/dmd.conf
dmd main.d
代码:
//main.d
import gtk.Main;
import gtk.MainWindow;
void main(string[] args)
{
}
我得到错误:
main.d(3): Error: module Main is in file 'gtk/Main.d' which cannot be read
import path[0] = /usr/include/dmd/phobos
import path[1] = /usr/include/dmd/druntime/import
import path[2] = /usr/local/include/d