Closed kambeena closed 9 years ago
I never try build with 2013. what's the failure screenshot?
Here i sthe screen shot. I still get same error if I change mcvs=2012 in configure file.
C:\tools\node-httpp\node-httpp-0.8-httpp>vcbuild.bat
{ 'target_defaults': { 'cflags': [],
'default_configuration': 'Release',
'defines': [],
'include_dirs': [],
'libraries': []},
'variables': { 'clang': 0,
'host_arch': 'ia32',
'node_install_npm': 'true',
'node_install_waf': 'true',
'node_prefix': '',
'node_shared_openssl': 'false',
'node_shared_v8': 'false',
'node_shared_zlib': 'false',
'node_tag': '',
'node_unsafe_optimizations': 0,
'node_use_dtrace': 'false',
'node_use_etw': 'true',
'node_use_openssl': 'true',
'target_arch': 'ia32',
'v8_no_strict_aliasing': 1,
'v8_use_snapshot': 'true',
'visibility': ''}}
creating config.gypi
creating config.mk
Traceback (most recent call last):
File "tools/gyp_node", line 58, in
KeyError: '2013' Project files generated. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.t argets(64,5): error MSB8020: The build tools for Visual Studio 2012 (Platform T oolset = 'v110') cannot be found. To build using the v110 build tools, please i nstall Visual Studio 2012 build tools. Alternatively, you may upgrade to the c urrent Visual Studio tools by selecting the Project menu or right-click the sol ution, and then selecting "Upgrade Solution...". [C:\tools\node-httpp\node-http p-0.8-httpp\deps\v8\tools\gyp\js2c.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.t argets(64,5): error MSB8020: The build tools for Visual Studio 2012 (Platform T oolset = 'v110') cannot be found. To build using the v110 build tools, please i nstall Visual Studio 2012 build tools. Alternatively, you may upgrade to the c urrent Visual Studio tools by selecting the Project menu or right-click the sol ution, and then selecting "Upgrade Solution...". [C:\tools\node-httpp\node-http p-0.8-httpp\node_dtrace_header.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.t argets(64,5): error MSB8020: The build tools for Visual Studio 2012 (Platform T oolset = 'v110') cannot be found. To build using the v110 build tools, please i nstall Visual Studio 2012 build tools. Alternatively, you may upgrade to the c urrent Visual Studio tools by selecting the Project menu or right-click the sol ution, and then selecting "Upgrade Solution...". [C:\tools\node-httpp\node-http p-0.8-httpp\deps\http_parser\http_parser.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.t argets(64,5): error MSB8020: The build tools for Visual Studio 2012 (Platform T oolset = 'v110') cannot be found. To build using the v110 build tools, please i nstall Visual Studio 2012 build tools. Alternatively, you may upgrade to the c urrent Visual Studio tools by selecting the Project menu or right-click the sol ution, and then selecting "Upgrade Solution...". [C:\tools\node-httpp\node-http p-0.8-httpp\node_dtrace_ustack.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.t argets(64,5): error MSB8020: The build tools for Visual Studio 2012 (Platform T oolset = 'v110') cannot be found. To build using the v110 build tools, please i nstall Visual Studio 2012 build tools. Alternatively, you may upgrade to the c urrent Visual Studio tools by selecting the Project menu or right-click the sol ution, and then selecting "Upgrade Solution...". [C:\tools\node-httpp\node-http p-0.8-httpp\node_etw.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.t argets(64,5): error MSB8020: The build tools for Visual Studio 2012 (Platform T oolset = 'v110') cannot be found. To build using the v110 build tools, please i nstall Visual Studio 2012 build tools. Alternatively, you may upgrade to the c urrent Visual Studio tools by selecting the Project menu or right-click the sol ution, and then selecting "Upgrade Solution...". [C:\tools\node-httpp\node-http p-0.8-httpp\node_js2c.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.t argets(64,5): error MSB8020: The build tools for Visual Studio 2012 (Platform T oolset = 'v110') cannot be found. To build using the v110 build tools, please i nstall Visual Studio 2012 build tools. Alternatively, you may upgrade to the c urrent Visual Studio tools by selecting the Project menu or right-click the sol ution, and then selecting "Upgrade Solution...". [C:\tools\node-httpp\node-http p-0.8-httpp\node_dtrace_provider.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.t argets(64,5): error MSB8020: The build tools for Visual Studio 2012 (Platform T oolset = 'v110') cannot be found. To build using the v110 build tools, please i nstall Visual Studio 2012 build tools. Alternatively, you may upgrade to the c urrent Visual Studio tools by selecting the Project menu or right-click the sol ution, and then selecting "Upgrade Solution...". [C:\tools\node-httpp\node-http p-0.8-httpp\deps\openssl\openssl.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.t argets(64,5): error MSB8020: The build tools for Visual Studio 2012 (Platform T oolset = 'v110') cannot be found. To build using the v110 build tools, please i nstall Visual Studio 2012 build tools. Alternatively, you may upgrade to the c urrent Visual Studio tools by selecting the Project menu or right-click the sol ution, and then selecting "Upgrade Solution...". [C:\tools\node-httpp\node-http p-0.8-httpp\deps\uv\uv.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.t argets(64,5): error MSB8020: The build tools for Visual Studio 2012 (Platform T oolset = 'v110') cannot be found. To build using the v110 build tools, please i nstall Visual Studio 2012 build tools. Alternatively, you may upgrade to the c urrent Visual Studio tools by selecting the Project menu or right-click the sol ution, and then selecting "Upgrade Solution...". [C:\tools\node-httpp\node-http p-0.8-httpp\deps\v8\tools\gyp\v8_base.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.t argets(64,5): error MSB8020: The build tools for Visual Studio 2012 (Platform T oolset = 'v110') cannot be found. To build using the v110 build tools, please i nstall Visual Studio 2012 build tools. Alternatively, you may upgrade to the c urrent Visual Studio tools by selecting the Project menu or right-click the sol ution, and then selecting "Upgrade Solution...". [C:\tools\node-httpp\node-http p-0.8-httpp\deps\zlib\zlib.vcxproj]
C:\tools\node-httpp\node-httpp-0.8-httpp>
OK I have seen similar issues else where Please make sure you have all the latest service packs for your visual studio.
After that please make sure you run
set GYP_MSVS_VERSION=2012
In the same console before doing the install. Please try and let me know how you get on.
Thanks No9. I tried setting GYP_MSVS_VERSION. Not working. I drooped idea of compiling with VS 2013. I am using 2010 version but getting following? Any idea? C:\tools\UDT_solutions\node-httpp\node-httpp-0.8-httpp\node.sln.metaproj : error MSB4126: The speci fied solution configuration "Release|Any CPU" is invalid. Please specify a valid solution configura tion using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuratio n=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configur ation. [C:\tools\UDT_solutions\node-httpp\node-httpp-0.8-httpp\node.sln]
I found the problem. There was a platform environment variable which was interfering. I removed it and project got build. But I think again I got stuck in creating msi.
vcbuild.bat release msi
error:
SignTool Error: No certificates were found that met all the given criteria.
C:\tools\UDT_solutions\node-httpp\node-httpp-0.8-httpp\tools\msvs\msi\nodemsi.wixproj(51,3): error
MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x\Wix.targets" was n
ot found. Confirm that the path in the
Great. I installed Wix tools. Finally I am able to create build using VC++ 2010 express. Now I am ready to test.
I am not able to build with Visual studio 2013 with VC v12. I get lots of error in win32-math.h and math.h. Do I have to install VS 2010?