-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gem "minitest" and others ? #65
Comments
That was day 1 of ruby, of opencv, and their combo, In the meantime, I added another patch, to check opencv < 3.0, On Wed, May 13, 2015 at 8:55 AM, ser1zw notifications@github.com wrote:
|
ok, attachment was clipped. I'll try a pull request. |
ok, I swapped the version<3.0 check (not yet PRd) [jimc@groucho ruby-opencv]$ rake
|
Thanks. |
Im so far failing to build ruby-opencv.
I ended up adding 2 gems, both seemed to bring progress,
after several rounds of raking, bundling, gemming
(kinda new at ruby, so uncertain ...)
diff --git a/Gemfile b/Gemfile
index 0cb99e2..9d71f2a 100644
--- a/Gemfile
+++ b/Gemfile
@@ -5,5 +5,7 @@ group :development do
gem "hoe-gemspec"
gem "rake-compiler"
gem "yard"
end
diff --git a/test/test_cvbox2d.rb b/test/test_cvbox2d.rb
index ced01d7..cab2eb7 100755
--- a/test/test_cvbox2d.rb
+++ b/test/test_cvbox2d.rb
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
-- mode: ruby; coding: utf-8 --
-require 'test/unit'
+require 'test-unit'
require 'opencv'
require File.expand_path(File.dirname(FILE)) + '/helper'
This gets me further, into tests. where I get a coredump or 2
rake test > out 2>&1
....
/home/jimc/projects/ruby-opencv/test/test_cvmat_imageprocessing.rb:1257: warning: assigned but unused variable - mask5
/home/jimc/projects/ruby-opencv/test/test_cvmat_imageprocessing.rb:1833: warning: assigned but unused variable - expected_points
Loaded suite -e
Started
............E
Error: test_INTERFACE(TestCvCapture)
: StandardError: Invalid capture format.
/home/jimc/projects/ruby-opencv/test/test_cvcapture.rb:12:in `open'
/home/jimc/projects/ruby-opencv/test/test_cvcapture.rb:12:in `setup'
E
and 47 more of those.
and a segfault - quite a dump, dunno whether just to keep the pieces...
.../home/jimc/projects/ruby-opencv/test/test_cvcontourtree.rb:39: [BUG] Segmentation fault at 0x00000000000000
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0034 p:---- s:0158 e:000157 CFUNC :contour
c:0033 p:0019 s:0154 e:000153 BLOCK /home/jimc/projects/ruby-opencv/test/test_cvcontourtree.rb:39
c:0032 p:0008 s:0152 e:000151 BLOCK /home/jimc/.rvm/gems/ruby-2.2.1/gems/test-unit-3.0.9/lib/test/unit/assertions.rb:1675
c:0031 p:0006 s:0150 e:000149 BLOCK /home/jimc/.rvm/gems/ruby-2.2.1/gems/test-unit-3.0.9/lib/test/unit/assertions.rb:54 [FINISH]
c:0030 p:---- s:0148 e:000147 CFUNC :call
c:0029 p:0038 s:0145 e:000144 METHOD /home/jimc/.rvm/gems/ruby-2.2.1/gems/test-unit-3.0.9/lib/test/unit/assertions.rb:1627
c:0028 p:0011 s:0141 E:002428 METHOD /home/jimc/.rvm/gems/ruby-2.2.1/gems/test-unit-3.0.9/lib/test/unit/assertions.rb:53
c:0027 p:0088 s:0137 E:000138 BLOCK /home/jimc/.rvm/gems/ruby-2.2.1/gems/test-unit-3.0.9/lib/test/unit/assertions.rb:1673 [FINISH]
c:0026 p:---- s:0130 e:000129 CFUNC :call
c:0025 p:0061 s:0127 e:000126 METHOD /home/jimc/.rvm/gems/ruby-2.2.1/gems/test-unit-3.0.9/lib/test/unit/assertions.rb:1632
c:0024 p:0007 s:0123 E:001538 METHOD /home/jimc/.rvm/gems/ruby-2.2.1/gems/test-unit-3.0.9/lib/test/unit/assertions.rb:1659
c:0023 p:0028 s:0117 E:000018 METHOD /home/jimc/.rvm/gems/ruby-2.2.1/gems/test-unit-3.0.9/lib/test/unit/assertions.rb:283
c:0022 p:0082 s:0111 E:001558 METHOD /home/jimc/projects/ruby-opencv/test/test_cvcontourtree.rb:38
The text was updated successfully, but these errors were encountered: