[GtkD] Error 1: Previous Definition Different : __Dmain

Robik szadows at gmail.com
Sun Oct 28 12:10:20 PDT 2012


On Sunday, 28 October 2012 at 18:15:14 UTC, Adrien Tétar wrote:
> 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


Try removing dgen.d from there :)


More information about the Digitalmars-d mailing list