Skip to content

Not working with OpenCV 4.1.1 #43

@brainwire

Description

@brainwire

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:in rescue 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:in block 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: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: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:in each'
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:in parse_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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions