[Windows] Building in 64bits
Rikki Cattermole
alphaglosined at gmail.com
Thu Dec 19 17:54:45 PST 2013
On Thursday, 19 December 2013 at 20:37:32 UTC, Xavier Bigand
wrote:
> I try to build in 64bits with dmd to be able to use VS tools.
> Please notice on linux our project build fine in 64bits.
>
> Here is my error :
>
> E:\Dev\Personal\DQuick\src\samples\Minesweeper>dub --arch=x86_64
> Checking dependencies in
> 'E:\Dev\Personal\DQuick\src\samples\Minesweeper'
> Building configuration "application", build type debug
> Compiling...
> Linking...
> Mine Sweeper.obj : fatal error LNK1179: fichier non valide ou
> endommagé :
> '_D6dquick6script5utils162__T31fullyQualifiedNameImplForTypes2TDFC6dquick6script11itemBinding65__T11ItemBindingTC6dquick4item15declarativeItem15DeclarativeItemZ11ItemBindingZvVb0Vb0Vb0Vb0Z29__T20storageClassesStringVk0Z20storageClassesStringFNaNdNfZAya'
> COMDAT dupliqué
> --- errorlevel 1179
> Error executing command run: Link command failed with exit code
> 1179
Something hasn't been recompiled. The binary you're trying to
link against is an OMF (aka 32bit) library. Microsofts linker use
PE-COFF.
By my guess recompile DQuick as 64bit. Since you're compiling an
example.
More information about the Digitalmars-d-learn
mailing list