[GtkD] Error 1: Previous Definition Different : __Dmain
Adrien Tétar" <adri-from-59 at hotmail.fr>
Adrien Tétar" <adri-from-59 at hotmail.fr>
Sat Oct 27 08:33:29 PDT 2012
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.
More information about the Digitalmars-d
mailing list