The MASM Forum

64 bit assembler => 64 bit assembler. Conceptual Issues => Topic started by: ragdog on January 06, 2017, 10:55:38 PM

Title: Jwasm64 link error
Post by: ragdog on January 06, 2017, 10:55:38 PM
Hello

I try to compile a X64 asm code but i have a link error.

Quote
Microsoft (R) Incremental Linker Version 12.00.31101.0
Copyright (C) Microsoft Corporation.  All rights reserved.

LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or c
orrupt

Here is my settings


\JwasmPackage\Bin\RC.EXE /v "DlgMain.rc"
\JwasmPackage\Bin\JWASM64.EXE /c -win64 -Zp8 /Zi /win64 /D_WIN64 /Cp /nologo /W2 /I"\JwasmPackage\Include" "DlgMain.asm"
\JwasmPackage\Bin\LINK.EXE /SUBSYSTEM:WINDOWS /RELEASE /VERSION:4.0 /MACHINE:X64 /LIBPATH:"\JwasmPackage\Lib\x64" /OUT:"DlgMain.exe" "DlgMain.obj" "DlgMain.res"
pause


Can any one tell what is the problem ?
Title: Re: Jwasm64 link error
Post by: nidud on January 07, 2017, 12:19:05 AM
deleted
Title: Re: Jwasm64 link error
Post by: ragdog on January 07, 2017, 12:41:07 AM
I have solved it with over a hour Google  :biggrin:

cvtres.exe need MSVCR120_CLR0400.dll 

Now works fine.