- 浏览: 344945 次
- 性别:
- 来自: Wen Zhou
文章分类
- 全部博客 (214)
- Ruby on Rails (42)
- Windows (27)
- Ubuntu (61)
- 互联网 (6)
- knowledge (4)
- Ext js library (3)
- Javascript and CSS (16)
- CRM (2)
- The Ruby Way(第二版) 笔记 (9)
- Agile Web Development with Rails 2Ed (2)
- MySQL (10)
- 深入浅出 - Mysql 数据库开发、优化与管理维护 (6)
- Ruby 设计模式 (12)
- CSS 记录 (3)
- python (1)
- sqlite3 (1)
- postfix (1)
- linux (1)
- ruby (2)
- nginx (1)
- git (3)
最新评论
-
hotsunshine:
引用notifempty #增加日期作为后缀,不然会是一 ...
使用Linux的logrotate拆分rails的log -
songfantasy:
不错,我也遇到了。谢谢知道怎么安装多个rubygem版本吗?
uninitialized constant ActiveSupport::Dependencies::Mutex (NameError) -
dhgdmw:
怎么那么便宜?
推荐一个免费HTML虚拟空间 -
wellee:
...
ruby库 - nokogiri -
wangzhongjie:
清晰明了,谢谢了
模版方法,策略模式和状态模式之间的区别
问题
解决
-- create_table(:attachments, {:force=>true}) -> 1.4809s -- create_table(:file_attachments, {:force=>true}) -> 5.7602s -- create_table(:image_science_attachments, {:force=>true}) -> 1.3107s -- create_table(:mini_magick_attachments, {:force=>true}) -> 0.7811s -- create_table(:mini_magick_attachments, {:force=>true}) -> 12.5345s -- create_table(:orphan_attachments, {:force=>true}) -> 3.4389s -- create_table(:minimal_attachments, {:force=>true}) -> 1.2690s -- create_table(:db_files, {:force=>true}) -> 0.6987s -- create_table(:s3_attachments, {:force=>true}) -> 1.3025s -- initialize_schema_migrations_table() -> 0.0032s -- assume_migrated_upto_version(0) -> 0.0024s /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:2:23: error: FreeImage.h: No such file or directory /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c: In function ‘unload’: /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:8: error: ‘FIBITMAP’ undeclared (first use in this function) /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:8: error: (Each undeclared identifier is reported only once /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:8: error: for each function it appears in.) /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:8: error: ‘bitmap’ undeclared (first use in this function) /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:8: error: expected expression before ‘)’ token /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c: At top level: /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:16: error: expected ‘)’ before ‘*’ token /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:25: error: expected declaration specifiers or ‘...’ before ‘FIBITMAP’ /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:25: error: expected declaration specifiers or ‘...’ before ‘FIBITMAP’ /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c: In function ‘copy_icc_profile’: /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:26: error: ‘FREE_IMAGE_FORMAT’ undeclared (first use in this function) /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:26: error: expected ‘;’ before ‘fif’ /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:27: error: ‘fif’ undeclared (first use in this function) /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:27: error: ‘FIF_PNG’ undeclared (first use in this function) /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:28: error: ‘FIICCPROFILE’ undeclared (first use in this function) /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:28: error: ‘profile’ undeclared (first use in this function) /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:28: error: ‘from’ undeclared (first use in this function) /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:30: error: ‘to’ undeclared (first use in this function) /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c: At top level: /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c:36: error: expected ‘)’ before ‘fif’ /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb: In function ‘with_image’: /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:146: error: ‘FREE_IMAGE_FORMAT’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:146: error: expected ‘;’ before ‘fif’ /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:148: error: ‘fif’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:149: error: ‘FIF_UNKNOWN’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:151: error: ‘FIBITMAP’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:151: error: ‘bitmap’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:153: error: ‘FIF_JPEG’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:153: error: ‘JPEG_ACCURATE’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb: In function ‘with_crop’: /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:168: error: ‘FIBITMAP’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:168: error: ‘copy’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:170: error: ‘bitmap’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:170: error: expected expression before ‘)’ token /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:173: error: too many arguments to function ‘copy_icc_profile’ /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb: In function ‘height’: /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:178: error: ‘FIBITMAP’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:178: error: ‘bitmap’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:178: error: expected expression before ‘)’ token /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb: In function ‘width’: /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:186: error: ‘FIBITMAP’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:186: error: ‘bitmap’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:186: error: expected expression before ‘)’ token /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb: In function ‘resize’: /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:198: error: ‘FIBITMAP’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:198: error: ‘bitmap’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:198: error: expected expression before ‘)’ token /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:199: error: ‘image’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:199: error: ‘FILTER_CATMULLROM’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:201: error: too many arguments to function ‘copy_icc_profile’ /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb: In function ‘save’: /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:209: error: ‘FREE_IMAGE_FORMAT’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:209: error: expected ‘;’ before ‘fif’ /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:210: error: ‘fif’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:210: error: ‘FIF_UNKNOWN’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:212: error: ‘FIBITMAP’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:212: error: ‘bitmap’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:212: error: expected expression before ‘)’ token /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:213: error: ‘FIF_JPEG’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:213: error: ‘JPEG_QUALITYSUPERB’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:214: error: ‘FIF_PNG’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb: In function ‘Init_Inline_ImageScience_aa58’: /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:235: error: ‘FreeImageErrorHandler’ undeclared (first use in this function) /usr/local/lib/ruby/gems/1.8/gems/RubyInline-3.8.1/lib/inline.rb:589:in `build': error executing "gcc -shared -fPIC -O2 -fno-stack-protector -mpreferred-stack-boundary=2 -I /usr/local/lib/ruby/1.8/i686-linux -I /usr/local/include -L/usr/local/lib -o \"/home/agideo/.ruby_inline/Inline_ImageScience_aa58.so\" \"/home/agideo/.ruby_inline/Inline_ImageScience_aa58.c\" -lfreeimage -lstdc++ ": 256 (CompilationError) Renamed /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c to /home/agideo/.ruby_inline/Inline_ImageScience_aa58.c.bad from /usr/local/lib/ruby/gems/1.8/gems/RubyInline-3.8.1/lib/inline.rb:819:in `inline' from /usr/local/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:84 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' from /home/agideo/.cruise/projects/f22/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:510:in `require' from /home/agideo/.cruise/projects/f22/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in' from /home/agideo/.cruise/projects/f22/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:510:in `require' from /home/agideo/.cruise/projects/f22/work/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/image_science_processor.rb:1 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /home/agideo/.cruise/projects/f22/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:510:in `require' from /home/agideo/.cruise/projects/f22/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in' from /home/agideo/.cruise/projects/f22/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:510:in `require' from /home/agideo/.cruise/projects/f22/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:102:in `require_or_load' from /home/agideo/.cruise/projects/f22/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:261:in `load_missing_constant' from /home/agideo/.cruise/projects/f22/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:468:in `const_missing' from /home/agideo/.cruise/projects/f22/work/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:92:in `const_get' from /home/agideo/.cruise/projects/f22/work/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb:92:in `has_attachment' from /home/agideo/.cruise/projects/f22/work/vendor/plugins/attachment_fu/test/fixtures/attachment.rb:90 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /home/agideo/.cruise/projects/f22/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:510:in `require' from /home/agideo/.cruise/projects/f22/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in' from /home/agideo/.cruise/projects/f22/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:510:in `require' from /home/agideo/.cruise/projects/f22/work/vendor/plugins/attachment_fu/test/test_helper.rb:141 from basic_test.rb:1:in `require' from basic_test.rb:1
解决
http://lists.radiantcms.org/pipermail/radiant/2007-July/005691.html http://www.urbanpuddle.com/articles/2008/01/22/install-freeimage-imagescience-on-ubuntu-gutsy
发表评论
-
项目的路径显示 Git Branch 分支
2012-09-12 16:21 1799引用 http://ihower.tw/blog/archiv ... -
Curl 常用命令
2012-06-12 16:26 2432引用 http://www.gbin1.com/technol ... -
crontab 加载 rvm 环境
2012-02-07 13:10 15320 2 * * * export PATH=/home/a ... -
ssh 访问不需要密码
2011-10-19 11:04 935ssh-keygen -t rsa cat ~/.ssh ... -
解决 gem install rmagick error
2011-10-18 15:21 8909gem install rmagick -v '2.13. ... -
Vim support json foramt
2011-09-22 16:58 1146引用http://www.codeography.com/20 ... -
Ubuntu 设置 OpenDNS
2011-09-22 10:12 501http://zh.wikipedia.org/zh-cn/O ... -
Add user to sudoers
2011-09-22 08:43 940引用 http://wiki.ubuntu.org.cn/Ub ... -
curl 命令
2011-09-20 22:21 1092引用 http://www.ruanyifeng.com/bl ... -
Postfix Permission denied
2011-09-20 22:18 1471mail.err May 31 05:31:43 ohdw ... -
导入 sql 到 sqlite3 数据库 on ubuntu
2011-09-15 10:12 1070apt-get install sqlite3 sqli ... -
How to install a .run file on Ubuntu
2011-09-02 15:50 901引用http://ubuntuforums.org/showt ... -
Installing sqlite3 with native extensions ERROR: Failed to build gem native ext
2011-08-30 16:51 2463Installing sqlite3 (1.3.4) wi ... -
一般目录下 Python 建立 Web 文件服务
2011-08-30 16:37 1134引用http://blog.csdn.net/kira8dao ... -
启动 cron 日志
2011-08-11 10:29 865引用 http://forum.ubuntu.org.cn/v ... -
ubuntu 10.04 支持按电源开关正常关闭系统
2011-05-13 15:01 1004引用 https://launchpad.net/ubuntu ... -
VIM 常用命令
2011-04-01 16:48 1372引用 http://bbs.jcwcn.com/thread- ... -
Ubuntu 常用命令
2011-03-01 14:31 1185引用 http://wiki.ubuntu.org.cn/Ub ... -
安装 passenger on RVM
2011-03-01 07:30 1203安装依赖库 sudo apt-get install libc ... -
cruisecontrolrb 支持 git branch
2011-02-25 12:07 1070引用 https://github.com/thoughtwo ...
相关推荐
使用FreeImage必用的FreeImage.h,FreeImage.dll,FreeImage.lib
包含32位和64位的FreeImage.dll、FreeImage.h、FreeImage.lib
不需要积分,版本号3.15.3,压缩包里面包括FreeImage.h,FreeImage.lib和FreeImage.dll
FreeImage.zip最新版,.h .lib .dll样例代码齐全!
给那些debug有问题的网友吧
在latex中将其它格式图片转换成eps格式,一个dll而已.
从浏览器上传图像并捕获屏幕截图 右键单击网络上的任何图像...特点:-右键单击网络上的任何图像,然后上传到freeimage.host-具有自动上传到freeimage.host的“剪裁工具”,并显示带有图像URL的通知。 支持语言:English
FreeImage3180.zip库安装压缩包 源码 大小7.2M 下载链接http://freeimage.sourceforge.net/download.html
FreeImage.dll
FreeImage.Net 3.18.0 VS2017 .net framework 3.5 编译。 包含win32,win64两个版本。 FreeImageNET.dll FreeImage.dll
目前最新FreeImage 3.18版本编译生成的工程及库文件 进行图像处理的场合都可能会用到。 FreeImage 是一款免费的、开源的、跨平台(Windows 、Linux 和Mac OS X )的,支持20 多种图像类型的(如BMP 、JPEG 、GIF 、...
内有X32和X64版本的freeimage.h,freeimage.lib,freeimage.dll
FreeImage3180英文文档
关于freeimage 主页: : 软件包许可证:GPLv2或GPLv3或FreeImage 原料许可证: 摘要:帮助提供对许多常见图像格式(PNG,JPEG,TIFF,BMP和其他格式)的支持。 当前构建状态 特拉维斯 无人机 蔚蓝 变体 ...
能用 好用的 FreeImage,本网站已经有两个了,但是下载后不能解压的, 于是找了好久,终于找到,给大家分享吧。
FreeImage3160 帮助文件, 学习FreeImage必备的资料
基于FreeImage动态库创建的Qt5工程
FreeImage C++ & other Wrapper
基于FreeImage库的简易图像处理系统,用于演示C++封装的KFreeImage类使用。 TODO: 1、原始尺寸图片在转换为RGB565格式后会出现色彩问题 2、转换为16位色彩模型后,对图片进行缩放会恢复为24位色彩模型 3、FreeImage...