Title: Error when building on Windows with Python install dir having space in path · Issue #4840 · nodejs/node · GitHub
Open Graph Title: Error when building on Windows with Python install dir having space in path · Issue #4840 · nodejs/node
X Title: Error when building on Windows with Python install dir having space in path · Issue #4840 · nodejs/node
Description: This is the first time I tried to build node from source, when I try to run vcbuild I get this log: Looking for Visual Studio 2015 Found Visual Studio 2015 configure --dest-cpu=x86 --tag= ctrpp not found in WinSDK path--using pre-gen fil...
Open Graph Description: This is the first time I tried to build node from source, when I try to run vcbuild I get this log: Looking for Visual Studio 2015 Found Visual Studio 2015 configure --dest-cpu=x86 --tag= ctrpp not...
X Description: This is the first time I tried to build node from source, when I try to run vcbuild I get this log: Looking for Visual Studio 2015 Found Visual Studio 2015 configure --dest-cpu=x86 --tag= ctrpp not...
Opengraph URL: https://github.com/nodejs/node/issues/4840
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when building on Windows with Python install dir having space in path","articleBody":"This is the first time I tried to build node from source, when I try to run `vcbuild` I get this log:\n\n```\nLooking for Visual Studio 2015\nFound Visual Studio 2015\nconfigure --dest-cpu=x86 --tag=\nctrpp not found in WinSDK path--using pre-gen files from tools/msvs/genfiles.\ncreating icu_config.gypi\n{ 'target_defaults': { 'cflags': [],\n 'default_configuration': 'Release',\n 'defines': [],\n 'include_dirs': [],\n 'libraries': []},\n 'variables': { 'asan': 0,\n 'host_arch': 'x64',\n 'icu_small': 'false',\n 'node_byteorder': 'little',\n 'node_enable_v8_vtunejit': 'false',\n 'node_install_npm': 'true',\n 'node_prefix': '/usr/local',\n 'node_release_urlbase': '',\n 'node_shared_http_parser': 'false',\n 'node_shared_libuv': 'false',\n 'node_shared_openssl': 'false',\n 'node_shared_zlib': 'false',\n 'node_tag': '',\n 'node_use_dtrace': 'false',\n 'node_use_etw': 'true',\n 'node_use_lttng': 'false',\n 'node_use_openssl': 'true',\n 'node_use_perfctr': 'true',\n 'openssl_fips': '',\n 'openssl_no_asm': 0,\n 'python': 'C:\\\\Program Files\\\\Python\\\\2.7\\\\python.exe',\n 'target_arch': 'ia32',\n 'v8_enable_gdbjit': 0,\n 'v8_enable_i18n_support': 0,\n 'v8_no_strict_aliasing': 1,\n 'v8_optimized_debug': 0,\n 'v8_random_seed': 0,\n 'v8_use_snapshot': 'true',\n 'want_separate_host_toolset': 1}}\ncreating config.gypi\ncreating config.mk\nProject files generated.\n gtest.vcxproj -\u003e C:\\Users\\felix\\git\\opensource\\node\\Release\\lib\\gtest.lib\n cares.vcxproj -\u003e C:\\Users\\felix\\git\\opensource\\node\\Release\\lib\\cares.lib\n http_parser.vcxproj -\u003e C:\\Users\\felix\\git\\opensource\\node\\Release\\lib\\http_parser.lib\n libuv.vcxproj -\u003e C:\\Users\\felix\\git\\opensource\\node\\Release\\lib\\libuv.lib\n node_js2c\n Command \"C:\\Program\" not found\nC:\\Program Files (x86)\\MSBuild\\Microsoft.Cpp\\v4.0\\V140\\Microsoft.CppCommon.targets(171,5): error MSB6006: \"cmd.exe\" exited with code 1. [C:\\Users\\felix\\git\\opensource\\node\\node_js2c.vcxproj]\n v8_base_0.vcxproj -\u003e ..\\..\\..\\..\\build\\Release\\lib\\v8_base_0.lib\n v8_base_2.vcxproj -\u003e ..\\..\\..\\..\\build\\Release\\lib\\v8_base_2.lib\n v8_base_1.vcxproj -\u003e ..\\..\\..\\..\\build\\Release\\lib\\v8_base_1.lib\n v8_libplatform.vcxproj -\u003e ..\\..\\..\\..\\build\\Release\\lib\\v8_libplatform.lib\n v8_libbase.vcxproj -\u003e ..\\..\\..\\..\\build\\Release\\lib\\v8_libbase.lib\n zlib.vcxproj -\u003e C:\\Users\\felix\\git\\opensource\\node\\Release\\lib\\zlib.lib\n v8_base_3.vcxproj -\u003e ..\\..\\..\\..\\build\\Release\\lib\\v8_base_3.lib\n openssl.vcxproj -\u003e C:\\Users\\felix\\git\\opensource\\node\\Release\\lib\\openssl.lib\n```\n\nSee the line `\"C:\\Progam\" not found`, it seems like something from `C:\\Program Files` is run but the path is not quoted. I looked at the bat I could not find what is causing this. I don't get any node.exe output. I am using Visual Studio 2015 Update 1 on Windows 10 64 bit. \n","author":{"url":"https://github.com/felixfbecker","@type":"Person","name":"felixfbecker"},"datePublished":"2016-01-24T15:16:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":16},"url":"https://github.com/4840/node/issues/4840"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2dc615dd-6131-7dfb-2fe1-d39eb79fab6f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF92:B72C9:1574D91:1DCC81F:6A4DF2FD |
| html-safe-nonce | 49ae14965f271afce21a5fae605e55bf69012a7b14b4eb14f9469fc4795d46f5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjkyOkI3MkM5OjE1NzREOTE6MURDQzgxRjo2QTRERjJGRCIsInZpc2l0b3JfaWQiOiIzMTM5NDQzMjc0OTIzNTA0MzgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4185d98a5d4374b216af618149ab24b869547a55d8f6e6533ff60b447c3340a3 |
| hovercard-subject-tag | issue:128403994 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/4840/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c5aa5b69041b3f2e59df277b274878790779073d32a6f3f7567e69c0d37d32a9/nodejs/node/issues/4840 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c5aa5b69041b3f2e59df277b274878790779073d32a6f3f7567e69c0d37d32a9/nodejs/node/issues/4840 |
| og:image:alt | This is the first time I tried to build node from source, when I try to run vcbuild I get this log: Looking for Visual Studio 2015 Found Visual Studio 2015 configure --dest-cpu=x86 --tag= ctrpp not... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | felixfbecker |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f4bb89367ca678f057d79b1abc45d6675b1bd5b2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width