how install image science on window (first u need cygwin)

本文提供了一套详细的指南,介绍如何在Windows环境下通过Cygwin安装ImageScience库。主要内容包括:安装Cygwin及Subversion、Ruby、GCC等依赖项;编译并安装FreeImage;最后使用gem命令安装ImageScience。
如何在window上安装image science
image science是一个类似rmagick的东西,不过image science声称比rmagick好,主要原因是rmagick,有memory leak,占用很多内存,大概就是这些原因吧。
1.安装cygwin
然后安装subversion,ruby,gcc,wget应该是在cygwin上安装
[code]
wget rubygem package and install it
gem install rails -y
[/code]
4.google freeimage and download source and compile it
use:
[code]
make -f Makefile.cygwin
make -f Makefile.cygwin install
[/code]
5.gem install image_science -y
安装完成。


[b]trouble shooting[/b]
maybe you need setup HOME env
and on the cygwin maybe need
[code]
chown 755
[/code]
for your user home directory
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值