How to compile with GtkD
Marc Charboneau
marrccharbonneau13 at gmail.com
Wed Jan 12 20:25:16 UTC 2022
https://forum.dlang.org/post/uyfdddxuqartpcxwcank@forum.dlang.org
On Sunday, 9 February 2020 at 12:03:23 UTC, Ron Tarrant wrote:
> On Sunday, 9 February 2020 at 11:52:19 UTC, mark wrote:
>
>> right now I want to start on Linux and I'm stuck.
> Maybe this will help...
>
> https://gtkdcoding.com/2019/03/31/x0002-gtkd-in-a-linux-environment.html
I managed to run GTKD-3 on Code::block using LLVM in linux ubuntu
20.04.
sudo apt install libgtkd-3-0
sudo apt install libgtkd-3-dev
sudo apt install ldc
ldc2 --version
-> LDC - the LLVM D compiler (1.20.1)
In Code::block:
Setting -> compile... -> Toolchain executables:
1- Select LLVM D compiler (top)
2- Change all "ldc" to "ldc2
In the D project
Right click -> build Option
Linker settings ->Other linker options:
1- "-L-ldl"
2 - "-L-lgtkd-3"
Search directories:
add -> "/usr/include/d/gtkd-3"
More information about the Digitalmars-d-learn
mailing list