D语言中国论坛"

Login
Register
/ d2 dmd dub dwt vibe-d vibenews
Categories Thread list

Ubuntu安装D语言GUI库DWT

Ubuntu安装D语言GUI库DWT

0.1 安装D语言界面库DWT的依赖库:

sudo apt-get install libcairo2-dev libglib2.0-dev libpango1.0-dev libxfixes-dev libxdamage-dev libxcomposite-dev libxcursor-dev libxrandr-dev libxi-dev libxinerama-dev libxtst-dev libgtk2.0-dev libgnomeui-dev

0.2 编译DWT:

cd /opt/dlibs git clone --recursive git://github.com/d-widget-toolkit/dwt.git cd dwt rdmd build dwt base ls libs dwt-base.a org.eclipse.swt.gtk.linux.x86.a

注意,很多扩展组件并没有port到D2,如jface,甚至 SWT Snippets都不能编译通过。

参考:

- https://github.com/d-widget-toolkit/dwt#requirements - https://github.com/d-widget-toolkit/dwt

AsmBB v2.4 (check-in: 5e732b3401545cd1);

D语言中国   Video Software Download   整体观