0
我试图安装ruby-opencv,我无法让它工作。 https://github.com/ser1zw/ruby-opencv麻烦安装ruby-opencv
我已经安装了软件包的OpenCV和OpenCV-devel的两个:
我使用Ruby 1.8.7
我已经尝试了这个叉,因为它似乎最有最新的运行Fedora 15 RVM这是2.2版本
当我尝试通过运行编译原生扩展:
ruby extconf.rb
我得到的错误:
>> check require headers...
checking for core/core_c.h... no
*** extconf.rb failed ***
的mkmf.log文件提供了这样的信息:
have_header: checking for core/core_c.h... -------------------- no
"gcc -E -I. -I/home/derek/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/x86_64-linux -I. -I/usr
/include -I/usr/local/include -I/usr/local/include/opencv2 -g -O2 -fPIC conftest.c -o conftest.i"
conftest.c:1:25: fatal error: core/core_c.h: No such file or directory
compilation terminated.
checked program was:
/* begin */
1: #include <core/core_c.h>
/* end */
没有人知道如何解决这个问题?
非常感谢 - whereis opencv帮我找到它在哪里 –