On 07/23/2016 07:00 PM, dan hitt wrote:
I compiled and used gtkd 3.3.0 with gdc version 5.3.1 on xubuntu 16.04 without any problems that i was aware of.
On a different machine, which is running ubuntu mate 16.04 with gdc version 5.4, it no longer compiles.
I get a linking error when it tries to compile TestWindow, multiple definition of some symbol with a very long name that includes GMarkupParser as a substring:
./libgtkd-3.a(Range.o): In function
_D3gtk6Widget6Widget10__mixin56514customTagStartMFC3gtk7Builder7BuilderC7gobject7ObjectG7ObjectGAyaJS4gtkc9glibtypes13GMarkupParserJPvZb':<br>Range.d:(.text+0x600): multiple definition of
D3gtk6Widget6Widget10_mixin56514customTagStartMFC3gtk7Builder7BuilderC7gobject7ObjectG7ObjectGAyaJS4gtkc9glib\
./libgtkd-3.a(Layout.o):Layout.d:(.text+0x60): first defined here(It compiled for me on that machine on April 24, 2016, but i cannot tell from looking at the output what the compiler was at that time.)
(Note that there are differences between gdc 5.4.0 and 5.3.1, which is the reason that i was recompiling the library --- i had some problems linking some newly compiled code i had written. In fact, i got an undefined reference to `darraycatnT' so i figured that i needed to redo the library.)
Thanks in advance for any advice of any sort.
As far as i can tell its a bug in gdc, unfortunately i don't have any
advice.
https://github.com/gtkd-developers/GtkD/issues/156
http://bugzilla.gdcproject.org/show_bug.cgi?id=231