[GtkD] Error 1: Previous Definition Different : __Dmain
Mike Wey
mike-wey at example.com
Sun Oct 28 09:12:26 PDT 2012
On 10/27/2012 10:18 PM, "Adrien Tétar" <adri-from-59 at hotmail.fr>" wrote:
> On Saturday, 27 October 2012 at 20:02:16 UTC, Mike Wey wrote:
>>
>> Did you already check if your code doesn't actually defines main twice?
>
> I don't think so... here's the code:
>
> module primary;
>
> import gtk.Main;
>
> void main(string[] args)
> {
> Main.init(args);
> Main.run();
> }
>
> Thanks for your help.
Did you run the dgen executable from the src directory, otherwise it
might be possible that some of the demos got compiled into the library.
--
Mike Wey
More information about the Digitalmars-d
mailing list