Reference blog: https: //blog.csdn.net/pjjing/article/details/77338423
First, install JAVA
--Standrd Java
JAVA EE --enterprise
Download: https://www.oracle.com/technetwork/java/javase/downloads/index.html
Adding system variables after installation
JAVA_INCLUDE: D:\java1301\include
JAVA_BIN:D:\java1301\bin
CMD command-line test whether the installation is successful
C:\Users\xxx>java -version
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
Second, install SWIG
1 下载Swig for Windows:http://www.swig.org/download.html
2-extracting .zip file D: \ swigwin-4.0.1
3 Add the environment variable to the path, such as: D: \ swigwin-4.0.1
CMD command line to test whether the installation is successful
C:\Users\xxx>swig -version
SWIG Version 4.0.1
Compiled with i686-w64-mingw32-g++ [i686-w64-mingw32]
Configured options: +pcre
Please see http://www.swig.org for reporting bugs and further information
three,
http://www.gnu.org/software/libiconv/#downloading