#34 Cannot Compile Under x64 Bit

open
nobody
None
5
2012-05-22
2012-05-22
Anonymous
No

I have installed xlw-5.0.0a5.exe but it cannot be compiled under x64 bit machine

I have the following error messages:

------ Rebuild All started: Project: DotNet, Configuration: Debug x64 ------
warning CS1668: Invalid search path 'C:\PROGRA~1\Sybase\ADO.NET\dll' specified in 'LIB environment variable' -- 'The system cannot find the path specified. '

Compile complete -- 0 errors, 1 warnings
DotNet -> D:\XLL_Project\x64_Debug\Template.NET.dll
Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.239]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 22/05/2012 18:10:29.
Project "D:\XLL_Project\Addin\Template.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Debug|x64".
Project "D:\XLL_Project\Addin\Template.sln" (1) is building "D:\XLL_Project\Addin\XLL.vcxproj.metaproj" (2) on node 1 (default targets).
Project "D:\XLL_Project\Addin\XLL.vcxproj.metaproj" (2) is building "D:\XLL_Project\Generators\RunDotNetInterfaceGenerator.vcxproj" (3) on node 1 (default targets).
Build:
"d:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\..\..\VC\bin\NMAKE" /f "D:\Program Files (x86)\XLW\xlw-5.0.0a5\xlwDotNet\vc_common\RunDotNetInterfaceGenerator.nmake" ENVIRON=x64_Debug LibraryName=Template SolutionDir="D:\XLL_Project\Addin\../" VSVERSION=VS10 ALL

Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

NMAKE : fatal error U1073: don't know how to make '"D:\Program Files (x86)\XLW\xlw-5.0.0a5\xlwDotNet\Build\VS10\x64_Debug\DotNetInterfaceGenerator.exe"' [D:\XLL_Project\Generators\RunDotNetInterfaceGenerator.vcxproj]
Stop.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command ""d:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\..\..\VC\bin\NMAKE" /f "D:\Program Files (x86)\XLW\xlw-5.0.0a5\xlwDotNet\vc_common\RunDotNetInterfaceGenerator.nmake" ENVIRON=x64_Debug LibraryName=Template SolutionDir="D:\XLL_Project\Addin\../" VSVERSION=VS10 ALL " exited with code 2. [D:\XLL_Project\Generators\RunDotNetInterfaceGenerator.vcxproj]
Done Building Project "D:\XLL_Project\Generators\RunDotNetInterfaceGenerator.vcxproj" (default targets) -- FAILED.
Done Building Project "D:\XLL_Project\Addin\XLL.vcxproj.metaproj" (default targets) -- FAILED.
Done Building Project "D:\XLL_Project\Addin\Template.sln" (default targets) -- FAILED.

Build FAILED.

"D:\XLL_Project\Addin\Template.sln" (default target) (1) ->
"D:\XLL_Project\Addin\XLL.vcxproj.metaproj" (default target) (2) ->
"D:\XLL_Project\Generators\RunDotNetInterfaceGenerator.vcxproj" (default target) (3) ->
(Build target) ->
NMAKE : fatal error U1073: don't know how to make '"D:\Program Files (x86)\XLW\xlw-5.0.0a5\xlwDotNet\Build\VS10\x64_Debug\DotNetInterfaceGenerator.exe"' [D:\XLL_Project\Generators\RunDotNetInterfaceGenerator.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command ""d:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\..\..\VC\bin\NMAKE" /f "D:\Program Files (x86)\XLW\xlw-5.0.0a5\xlwDotNet\vc_common\RunDotNetInterfaceGenerator.nmake" ENVIRON=x64_Debug LibraryName=Template SolutionDir="D:\XLL_Project\Addin\../" VSVERSION=VS10 ALL " exited with code 2. [D:\XLL_Project\Generators\RunDotNetInterfaceGenerator.vcxproj]

0 Warning(s)
2 Error(s)

Time Elapsed 00:00:00.21
C:\WINNT\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(3717,9): error MSB3073: The command "if x64 == x64 "C:\WINNT\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" /p:Configuration=Debug /p:Platform=x64 "D:\XLL_Project\Addin\Template.sln"
C:\WINNT\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(3717,9): error MSB3073: if x64 == x86 "C:\WINNT\Microsoft.NET\Framework\v4.0.30319\msbuild.exe" /p:Configuration=Debug /p:Platform=Win32 "D:\XLL_Project\Addin\Template.sln"" exited with code 1.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Discussion