加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

windows – 如何安装SWIG?

发布时间:2020-12-13 20:28:52 所属栏目:Windows 来源:网络整理
导读:Noob提前问题…… 我正在尝试在Windows上安装SWIG.根据INSTALL文件,我必须这样做 cd to the directory containing the package’s source code and type ./configure to configure the package for your system. 我在根目录和/ CCache目录中尝试了该命令(这
Noob提前问题……

我正在尝试在Windows上安装SWIG.根据INSTALL文件,我必须这样做

cd to the directory containing the package’s source code and type ./configure to configure the package for your system.

我在根目录和/ CCache目录中尝试了该命令(这些是唯一具有configure和configure.in文件的目录),但是,shell报告了

C:swigwin-2.0.4>./configure
'.' is not recognized as an internal or external command,
operable program or batch file.

我错过了什么?

页面 http://www.swig.org/download.html具有针对Windows的特定下载,其中包含预构建的swig.exe版本.您可以下载它,避免自己编译swig的麻烦.

如果您确实需要,可以查阅Doc / Manual / Windows.html文件,其中包含用于构建SWIG的Windows特定说明.

最后,回答你的具体问题,语法

./configure

是一种UNIX风格的命令,意味着’执行当前目录中名为configure的程序'(点)

在Windows上,您可以键入

.configure

甚至更简单,因为所有文件只能在Windows上执行

configure

…但这不起作用,因为所谓的’configure’脚本是一个不能在Windows shell中运行的bash脚本.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读