From: SourceForge.net <no...@so...> - 2011-05-24 02:55:03
|
Bugs item #3302142, was opened at 2011-05-15 08:29 Message generated for change (Settings changed) made by olly You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=3302142&group_id=1645 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: ruby Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Noel O'Boyle (baoilleach) Assigned to: Gonzalo Garramuno (gga73) >Summary: [ruby] mixed case module names not handled correctly Initial Comment: %module OpenBabel gives rise to a .cpp file with #define SWIG_init Init_OpenBabel #define SWIG_name "OpenBabel" When you try 'require openbabel', it complains: " undefined symbol: Init_openbabel" The ruby convention would be: 'require openbabel', and then "OpenBabel::OBObject.new" Use of %openbabel imports fine, but the resulting module name has the wrong case, "Openbabel::OBObject.new" ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101645&aid=3302142&group_id=1645 |