I wanted to substitute CDK/JChemPaint with OBDepict in our ruby based
webservices, but it seems that OBDepict (and also OBPaint) do not have
ruby bindings (other classes like OBMol or OBConversion work fine):

depict = OpenBabel::OBDepict.new
NameError: uninitialized constant OpenBabel::OBDepict
        from (irb):1

It seems that OBDepict is missing from scripts/ruby/openbabel-ruby.cpp
which changes would I need to make to create ruby bindings for OBDepict
(my SWIG knowledge is rather weak)?

Best regards,
Christoph

PS: I also had to change Init_OpenBabel to Init_openbabel at line 49795
of openbabel-ruby.cpp. This problem has been fixed in OpenBabel 2.2.3,
but it reappeared in 2.3.0

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
OpenBabel-scripting mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbabel-scripting

Reply via email to