Windows build fails to embed the manifest #1832

theantigod opened this Issue Aug 25, 2017 · 2 comments


None yet
3 participants

theantigod commented Aug 25, 2017

I did this

I am currently building curl-7.55.1 for Windows 64bit.
This issue may have been detected but could not find any mention of it.

mt.exe : general error c10100b1: Failed to load file "..\builds\libcurl-vc9-x64-debug-dll\curl.exe". The system cannot find the file specified.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.EXE"' : return code '0x1f' Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2'


MANIFESTTOOL = mt -manifest $(DIRDIST)\$(PROGRAM_NAME).manifest -outputresource:$(DIRDIST)\$(PROGRAM_NAME);1

Needs to be changed: \bin is missing from the 2 paths.

MANIFESTTOOL = mt -manifest $(DIRDIST)\bin\$(PROGRAM_NAME).manifest -outputresource:$(DIRDIST)\bin\$(PROGRAM_NAME);1

@bagder bagder added the build label Aug 25, 2017

@jay jay closed this in 09fc61e Aug 26, 2017


jay commented Aug 26, 2017

Thanks, fixed. I was able to reproduce using these commands in a Visual Studio 2008 x64 command prompt:

cd /d curldir
cd winbuild
nmake /f mode=dll VC=9 ENABLE_IDN=no EMBED_MANIFEST=defined

Where did you find out about EMBED_MANIFEST? It is not documented AFAICT and I don't think anyone's using it in their build scripts or we would have caught this a long time ago.


theantigod commented Aug 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment