compiling gtkd 1.3.2 with ldc 0.9.2 => errors occurs

6 views
Skip to first unread message

celtic34fr

unread,
Oct 6, 2010, 6:35:42 AM10/6/10
to LDC - the LLVM D compiler
hello,

I find the language and I am very interested in using the GTK library
with this language. So, as I've read in several forums, I would like
to compile the library gtkd.
As I read, it's simple: make and make install as root.

When I run the make command, I have to answer the following error
message:

ldc -O -Isrc -c src/gio/VolumeT.d -ofsrc/gio/VolumeT.o
src/gio/Volume.d(71): Error: class gio.Volume.Volume unable to resolve
forward reference in definition

my platform is :
- ldc 0.9.2-21.20100928hg1665 (rpm package under fedora 13)
- gtkd 1.3.2 (zip file download from dsources.org web site)

I'm not trained to understand and solve this kind of error. Can anyone
help me compile the library. I am very grateful.

John Morris

unread,
Dec 27, 2010, 10:55:59 AM12/27/10
to ldc...@googlegroups.com


This appears to be a problem with ldc's handling of the template mix feature of
D. I have provided a workaround patch for gtkd that will allow it to compile
with ldc. You can find the patch on the ldc support ticket #410 here:

http://www.dsource.org/projects/ldc/ticket/410


Hope this helps you.

John


Reply all
Reply to author
Forward
0 new messages