- 系统环境: Windows10 21H1 19043.1151
- 安装 Microsoft Visual Studio Community 2019 (16.10.4)
- 使用C++桌面开发
- 语言包选择英文
- 配置环境变量
- Path添加VS环境变量:
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\Hostx64\x64
- LIB环境变量:
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\lib\x64
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\lib\onecore\x64
- C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x64
- C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\ucrt\x64
- INCLUDE环境变量:
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include
- C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt
- C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um
- C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared
- Path添加VS环境变量:
- 安装Graalvm-ce-java11-21.2.0
- gu install native-image
- 构建可执行文件
- mvn package -P native
-
Notifications
You must be signed in to change notification settings - Fork 0
xinwu-yang/spring-boot-native
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
spring-boot-native demo in windows