[15935] in Kerberos-V5-bugs
[krbdev.mit.edu #8662] Windows build is broken
daemon@ATHENA.MIT.EDU (Sergey Ilinykh via RT)
Sun Apr 8 11:11:36 2018
Mail-followup-to: rt@krbdev.mit.edu
mail-copies-to: never
From: "Sergey Ilinykh via RT" <rt-comment@KRBDEV-PROD-APP-1.mit.edu>
In-Reply-To: <rt-8662@krbdev.mit.edu>
Message-ID: <rt-8662-48375.5.98351963804141@krbdev.mit.edu>
To: "'AdminCc of krbdev.mit.edu Ticket #8662'":;
Date: Sun, 8 Apr 2018 11:06:25 -0400 (EDT)
Reply-To: rt-comment@KRBDEV-PROD-APP-1.mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu
Just tried to use your windows/README to build it with vs2015 x64.
It compiled a lot of stuff but failed with
Making in
cl -DWINSOCK -DWIN32 -DWINDOWS -D_AFXDLL -DNO_KRB4 -DNO_STATUS_BAR
-DUSE_MESSAGE_BOX -DDBG -DNO_AFS -I..\.. -I..\..\include
-I..\..\windows\include -I.\..\..\include -I.\..\..\include\krb5
-I..\..\windows\include -DWSHELPER=1 -DKRB5_DNS_LOOKUP=1
-DWIN32_LEAN_AND_MEAN -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE
-D_CRT_SECURE_NO_DEPRECATE -DUSE_LEASH=1 -DDEBUG -D_CRTDBG_MAP_ALLOC /Od
/Zi /MDd -nologo /EHsc /W3 -Fdobj\AMD64\dbg\\ -FD -Foobj\AMD64\dbg\\ -c ...
Krb4EditDomainRealmList.cpp
c:\src\krb5\src\windows\leash\stdafx.h(16): fatal error C1083: Cannot open
include file: 'afxwin.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'
apparently there is no such file anywhere when mfc component is not
installed, but there is nothing in the README about mfc. README has to be
updated. Ideally makefiles should check if mfc is availabl and only then
compile dependent subprojects.
Best Regards,
Sergey
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs