Thread overview | |||||
---|---|---|---|---|---|
|
December 19, 2013 [Windows] Building in 64bits | ||||
---|---|---|---|---|
| ||||
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 |
December 20, 2013 Re: [Windows] Building in 64bits | ||||
---|---|---|---|---|
| ||||
Posted in reply to Xavier Bigand | 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.
|
December 20, 2013 Re: [Windows] Building in 64bits | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rikki Cattermole | Le 20/12/2013 02:54, Rikki Cattermole a écrit :
> 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.
Ok It's certainly the gdi32.lib that I forgot.
Thx
|
Copyright © 1999-2021 by the D Language Foundation