0
点赞
收藏
分享

微信扫一扫

node.js实战之windows平台编译

敬亭阁主 2022-02-02 阅读 51

文档:node/BUILDING.md at master · nodejs/node · GitHub

1.工具链

node.js在windows上的工具链是 Windows 2012 R2 (x64) with Visual Studio 2019

2.先决条件

  • python 3.10
  • Visual Studio 2019
  • 基础的unix工具,Git for Windows 包括 Git Bash
  • NetWide汇编器,用于 OpenSSL 汇编器模块

python -V
Python 3.10.2

nasm -v
NASM version 2.15.05 compiled on Aug 28 2020

make -v
GNU Make 3.81

git --version
git version 2.33.1.windows.1

3.构建

使用vsbuild.bat脚本执行构建

.\vcbuild

Looking for Python
Python found in D:\dev\lang\Python\python310\\python.exe
Looking for NASM
Looking for Visual Studio 2022
Looking for Visual Studio 2019
calling: "D:\dev\IDE\Microsoft Visual Stud
举报

相关推荐

0 条评论