参考博客:https://blog.csdn.net/pjjing/article/details/77338423
一、安装JAVA
JAVA SE --standard
JAVA EE --enterprise
下载地址:https://www.oracle.com/technetwork/java/javase/downloads/index.html
安装后添加系统变量
JAVA_INCLUDE: D:java1301include
JAVA_BIN:D:java1301in
CMD命令行测试安装是否成功
C:Usersxxx>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)
------win10 专业版配置java变量的方法如下:
1.设置变量名:JAVA_HOME,D:java1301
2.设置变量名:CLASSPATH,变量值:.;%JAVA_HOME%lib,重点来了,变量值中最前面有一个点和分号,别忘了。
3.在path变量中添加%JAVA_HOME%in
----------------------------------------------------------
二、安装SWIG
1 下载Swig for Windows:http://www.swig.org/download.html
2 解压 .zip 文件D:swigwin-4.0.1
3 添加环境变量到path, 比如:D:swigwin-4.0.1
CMD命令行测试是否安装成功
C:Usersxxx>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
三、