When I run the make.bat file I find the build fails with the following
error:
BUILD FAILED - 2 non-fatal error(s), 3 warning(s)
D:\WiX\WiX3\Source\global.include(229,6):
External Program Failed: cl (return code was 2)
I think I have all the prerequisites install. The full output of the
build is shown below. Can anyone see what is failing?
Neil
Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
NAnt 0.85 (Build 0.85.2478.0; release; 14/10/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///D:/WiX/WiX3/Source/wix.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: inc
[property] Target framework changed to "Microsoft .NET Framework 1.1".
[readregistry] Registry Path Not Found! -
key='SOFTWARE\Microsoft\MicrosoftSDK\InstalledSDKs\D2FF9F89-8AA2-4373-8A
31-C838BF4DBBE1\';hive='Microsoft.Win32.RegistryHive[]';
[readregistry] Registry Path Not Found! -
key='SOFTWARE\Microsoft\VisualStudio\VSIP\8.0.60912\';hive='Microsoft.Wi
n32.RegistryHive[]';
[echo] Visual Studio 2005 SDK September 2006 not detected; Sconce
and Votive will not be built.
prereqcheck:
snskip:
[exec] Microsoft (R) .NET Framework Strong Name Utility Version
1.1.4322.573
[exec] Copyright (C) Microsoft Corporation 1998-2002. All rights
reserved.
[exec] Assembly/Strong Name Users
[exec] ===========================================
[exec] *,36e4ce08b8ecfb17 All users
[delete] Deleting file C:\Documents and Settings\Neil
Sleightholm\Local Settings\Temp\tmp73.tmp.
global.makeDirs:
makeDirs:
createKeyFile:
wixbuild.inc:
[exec] Microsoft (R) Build Engine Version 2.0.50727.42
[exec] [Microsoft .NET Framework, Version 2.0.50727.42]
[exec] Copyright (C) Microsoft Corporation 2005. All rights
reserved.
[exec] Build started 02/03/2007 17:56:55.
[exec] __________________________________________________
[exec] Project "D:\WiX\WiX3\Source\src\wixbuild\WixBuild.csproj"
(Build target(s)):
[exec] Target CoreCompile:
[exec] Skipping target "CoreCompile" because all output files are
up-to-date with respect to the input files.
[exec] Target CopyFilesToOutputDirectory:
[exec] WixBuild ->
D:\WiX\WiX3\Source\Release\debug\WixBuild.dll
[exec] Build succeeded.
[exec] 0 Warning(s)
[exec] 0 Error(s)
[exec] Time Elapsed 00:00:00.07
wixbuild:
doccompiler.inc:
flattenXml:
flattenxml.inc:
[exec] Microsoft (R) Build Engine Version 2.0.50727.42
[exec] [Microsoft .NET Framework, Version 2.0.50727.42]
[exec] Copyright (C) Microsoft Corporation 2005. All rights
reserved.
[exec] Build started 02/03/2007 17:56:55.
[exec] __________________________________________________
[exec] Project
"D:\WiX\WiX3\Source\toolsrc\flattenxml\FlattenXml.csproj" (Build
target(s)):
[exec] Target GetSdkDirectories:
[exec] Registry value at
'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MicrosoftSDK\InstalledSDKs\8F9E5E
F3-A9A5-491B-A889-C58EFFECE8B3\Install Dir' is 'C:\Program
Files\Microsoft Platform SDK\'.
[exec] PlatformSdkIncludePath=C:\Program Files\Microsoft
Platform SDK\\Include\
[exec] VC8BinPath=C:\Program Files\Microsoft Visual Studio
8\Common7\Tools\..\..\VC\bin\
[exec] Target CoreCompile:
[exec] Skipping target "CoreCompile" because all output files are
up-to-date with respect to the input files.
[exec] Target CopyFilesToOutputDirectory:
[exec] FlattenXml ->
D:\WiX\WiX3\Source\Release\debug\FlattenXml.exe
[exec] Build succeeded.
[exec] 0 Warning(s)
[exec] 0 Error(s)
[exec] Time Elapsed 00:00:00.09
generatewixinclude.inc:
msggen.inc:
flattenXml:
residgen.inc:
votivepp.inc:
wixcop.inc:
xsdgen.inc:
xsdstitch.inc:
toolsrc.inc:
toolsrc:
wixdll.inc:
flattenXml:
flattenXml:
flattenXml:
flattenXml:
flattenXml:
flattenXml:
flattenXml:
flattenXml:
flattenXml:
wixdll:
wconsole.inc:
wconsole:
candle.inc:
candle:
dark.inc:
dark:
light.inc:
light:
lit.inc:
lit:
dutil.inc:
makeNativeLib:
checkRequiredArgs:
compileCpp:
checkRequiredArgs:
[cl] Compiling 5 files to 'D:\WiX\WiX3\Source\Build\debug'.
[cl] Command line warning D4002 : ignoring unknown option '-GS'
[cl] Command line warning D4002 : ignoring unknown option '-RTC1'
[cl] cabcutil.cpp
[cl] D:\WiX\WiX3\Source\src\dutil\cabcutil.cpp(553) : error
C2362: initialization of 'i' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\cabcutil.cpp(527) : see
declaration of 'i'
[cl] fileutil.cpp
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(346) : error
C2362: initialization of 'cbRead' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(325) : see
declaration of 'cbRead'
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(346) : error
C2362: initialization of 'cbTotalRead' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(324) : see
declaration of 'cbTotalRead'
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(346) : error
C2362: initialization of 'cbRead' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(325) : see
declaration of 'cbRead'
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(346) : error
C2362: initialization of 'cbTotalRead' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(324) : see
declaration of 'cbTotalRead'
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(346) : error
C2362: initialization of 'cbRead' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(325) : see
declaration of 'cbRead'
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(346) : error
C2362: initialization of 'cbTotalRead' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(324) : see
declaration of 'cbTotalRead'
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(346) : error
C2362: initialization of 'cbRead' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(325) : see
declaration of 'cbRead'
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(346) : error
C2362: initialization of 'cbTotalRead' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\fileutil.cpp(324) : see
declaration of 'cbTotalRead'
[cl] proc2utl.cpp
[cl] D:\WiX\WiX3\Source\src\dutil\proc2utl.cpp(103) : error
C2362: initialization of 'i' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\proc2utl.cpp(58) : see
declaration of 'i'
[cl] D:\WiX\WiX3\Source\src\dutil\proc2utl.cpp(103) : error
C2362: initialization of 'i' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\proc2utl.cpp(58) : see
declaration of 'i'
[cl] D:\WiX\WiX3\Source\src\dutil\proc2utl.cpp(103) : error
C2362: initialization of 'i' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\proc2utl.cpp(58) : see
declaration of 'i'
[cl] reswutil.cpp
[cl] D:\WiX\WiX3\Source\src\dutil\reswutil.cpp(342) : error
C2374: 'i' : redefinition; multiple initialization
[cl] D:\WiX\WiX3\Source\src\dutil\reswutil.cpp(332) : see
declaration of 'i'
[cl] rssutil.cpp
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(535) : error C2362:
initialization of 'ppTail' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(526) : see
declaration of 'ppTail'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(535) : error C2362:
initialization of 'ppTail' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(526) : see
declaration of 'ppTail'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(535) : error C2362:
initialization of 'ppTail' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(526) : see
declaration of 'ppTail'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(535) : error C2362:
initialization of 'ppTail' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(526) : see
declaration of 'ppTail'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(535) : error C2362:
initialization of 'ppTail' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(526) : see
declaration of 'ppTail'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(535) : error C2362:
initialization of 'ppTail' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(526) : see
declaration of 'ppTail'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(535) : error C2362:
initialization of 'ppTail' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(526) : see
declaration of 'ppTail'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(535) : error C2362:
initialization of 'ppTail' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(526) : see
declaration of 'ppTail'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(535) : error C2362:
initialization of 'ppTail' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(526) : see
declaration of 'ppTail'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(535) : error C2362:
initialization of 'ppTail' is skipped by 'goto LExit'
[cl] D:\WiX\WiX3\Source\src\dutil\rssutil.cpp(526) : see
declaration of 'ppTail'
[cl] Generating Code...
BUILD FAILED - 2 non-fatal error(s), 3 warning(s)
D:\WiX\WiX3\Source\global.include(229,6):
External Program Failed: cl (return code was 2)
Total time: 3.6 seconds.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users