here...Error 4 error C2084: function 'VALUE _wrap_Iterator_next(int,VALUE *,VALUE)' already has a body C:\dev\bug1132937\build\swig\ruby\zorba_apiRUBY_wrap.cxx 11753 1 RubyError 3 error C2086: 'swig_class SwigClassIterator' : redefinition C:\dev\bug1132937\build\swig\ruby\zorba_apiRUBY_wrap.cxx 11452 1 RubyOn Thu, Mar 21, 2013 at 6:27 PM, William S Fulton <email@example.com> wrote:
On 21 March 2013 21:49, Klaus Kaempf <firstname.lastname@example.org> wrote:
* Rodolfo Ochoa <email@example.com> [Mar 21. 2013 22:02]:
> - download and unpack zorbaLOL - yeah, now fails also for me.
> - go to swig
> - edit zorba_api.i
> - comment:
> 30: #ifndef SWIGRUBY
> 32: #endif
> so, now std_vector.i is included with Ruby
> try building after that...
It looks like a name clash to me. Zorba and Swig define an 'Iterator'
class. My Swig knowledge is insufficient to come up with a quick
Can you post zorba_apiRUBY_wrap.cxx online somewhere along with the matching compiler error including line numbers and I'll take a quick look? Is the Zorba Iterator class in a namespace, or can you point me to the class declaration?William