D-Alex / ropencv

ffi ruby wrapper for opencv
Other
67 stars 14 forks source link

Not working with OpenCV 4.1.1 #43

Open brainwire opened 4 years ago

brainwire commented 4 years ago

sudo gem install ropencv

gives error

make "DESTDIR=" [ 20%] Generating types.cc, operations.cc, conversions.cc Rbind: found opencv 4.1.1 /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:109:inrescue in parameter': input line 7900: cv::ShapeContextDistanceExtractor has no type called Ptr (RuntimeError) from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:88:in parameter' from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:349:inblock in parse_operation' from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:348:in map' from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:348:inparse_operation' from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:385:in block in parse' from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:373:ineach' from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/default_parser.rb:373:in parse' from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/rbind-0.0.30/lib/rbind/rbind.rb:99:inparse_headers' from /Users/gv/.rvm/rubies/ruby-2.5.0/lib/ruby/gems/2.5.0/gems/ropencv-0.0.32/ext/src/../rbind.rb:63:in <main>' ignore: parent class cv::class which is invalid for ignore: class Feature2D cannot be parent class of itself ignore: parent class Algorithm was added multiple time to class Feature2D Parsing Error: input line 7900: cv::ShapeContextDistanceExtractor has no type called Ptr<ShapeTransformer> Line 7899:

can you help? WHA's wrong?