[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>
Sun Oct 28 11:15:12 PDT 2012


On Sunday, 28 October 2012 at 16:10:25 UTC, Mike Wey wrote:
> 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.

Yea I did.

[IMG]http://www.abload.de/img/dgenrnk9j.png[/IMG]

I even tried to remove the 'demos' folder but the compiled lib is 
of the same size...

Maybe that happens because I use Eclipse + DDT?

Here is my sc.ini :

[Version]
version=7.51 Build 020

[Environment]
LIB="%@P%\..\lib";\dm\lib
DFLAGS="-I%@P%\..\..\src\phobos" 
"-I%@P%\..\..\src\druntime\import" "-I%@P%\..\..\src\gtkd" "-L 
C:\D\dmd2\windows\lib\GtkD.lib"
LINKCMD=%@P%\link.exe



More information about the Digitalmars-d mailing list