SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. SWIG is used with different types of target languages including common scr ipting languages such as Javascr ipt, Perl
1 下载Swig for Windows:http://www.swig.org/download.html 2 解压 .zip 文件到目录,比如:D:\backupsoftware 3 添加环境变量到path, 比如: D:\backupsoftware\swigwin-3.0.12 4 添加环境变量 JAVA_INCLUDE 和 JAVA_BIN JAVA_INCLUDE : Set this to the directory containing jni.h JAVA_BIN : Set