(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{477:function(s,t,a){s.exports=a.p+"assets/img/cpp.77d5a4f1.png"},478:function(s,t,a){s.exports=a.p+"assets/img/cpp_build.e0417e81.png"},558:function(s,t,a){"use strict";a.r(t);var n=a(12),e=Object(n.a)({},(function(){var s=this,t=s.$createElement,n=s._self._c||t;return n("ContentSlotsDistributor",{attrs:{"slot-key":s.$parent.slotKey}},[n("h1",{attrs:{id:"c-环境准备"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#c-环境准备"}},[s._v("#")]),s._v(" C++环境准备")]),s._v(" "),n("p",[s._v("82.44上复制环境")]),s._v(" "),n("blockquote",[n("p",[s._v("\\192.168.82.44\\MapGIS 10 开发环境\\WebClient\\env")])]),s._v(" "),n("ol",[n("li",[n("img",{attrs:{src:a(477),alt:"vs_buildtools__1466874956.1638177422.exe"}})]),s._v(" "),n("li",[s._v("安装C++依赖"),n("img",{attrs:{src:a(478),alt:"env"}})]),s._v(" "),n("li",[s._v("设置npm C++编译器")])]),s._v(" "),n("div",{staticClass:"language-sh extra-class"},[n("pre",{pre:!0,attrs:{class:"language-sh"}},[n("code",[n("span",{pre:!0,attrs:{class:"token comment"}},[s._v("# 管理员 cmd 或者 powershell")]),s._v("\n"),n("span",{pre:!0,attrs:{class:"token comment"}},[s._v("# yarn")]),s._v("\n"),n("span",{pre:!0,attrs:{class:"token function"}},[s._v("yarn")]),s._v(" config "),n("span",{pre:!0,attrs:{class:"token builtin class-name"}},[s._v("set")]),s._v(" msvs_version "),n("span",{pre:!0,attrs:{class:"token number"}},[s._v("2017")]),s._v("\n"),n("span",{pre:!0,attrs:{class:"token comment"}},[s._v("# npm ")]),s._v("\n"),n("span",{pre:!0,attrs:{class:"token function"}},[s._v("npm")]),s._v(" config "),n("span",{pre:!0,attrs:{class:"token builtin class-name"}},[s._v("set")]),s._v(" msvs_version "),n("span",{pre:!0,attrs:{class:"token number"}},[s._v("2017")]),s._v("\n")])])]),n("h2",{attrs:{id:"安装windows-build-tool"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#安装windows-build-tool"}},[s._v("#")]),s._v(" 安装windows-build-tool")]),s._v(" "),n("p",[n("a",{attrs:{href:"https://github.com/felixrieseberg/windows-build-tools",target:"_blank",rel:"noopener noreferrer"}},[s._v("windows-build-tools"),n("OutboundLink")],1)]),s._v(" "),n("div",{staticClass:"custom-block tip"},[n("p",{staticClass:"custom-block-title"},[s._v("TIP")]),s._v(" "),n("blockquote",[n("p",[s._v("这一步花费时间极长，请耐心等待,大概下载2G的内容，这一步过了，后面就很容易走通")])]),s._v(" "),n("div",{staticClass:"language-sh extra-class"},[n("pre",{pre:!0,attrs:{class:"language-sh"}},[n("code",[n("span",{pre:!0,attrs:{class:"token function"}},[s._v("yarn")]),s._v(" global "),n("span",{pre:!0,attrs:{class:"token function"}},[s._v("add")]),s._v(" windows-build-tools\n")])])])])])}),[],!1,null,null,null);t.default=e.exports}}]);