Hi,

I have compiled GtkD 2.0 on Windows. Source files are passed to the compiler as well as library to the linker. I followed instructions from here : https://github.com/gtkd-developers/GtkD/wiki/Installing-on-Windows

But there is an error appearing when GtkD.lib is passed to the linker:
Error 1: Previous Definition Different : __Dmain

This is supposed to mean that there are two main function in the code, but how do I fix it ?

Thanks in advance.

PS: I use DMD 2.060.

Reply via email to