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 Ruby

Error 3 error C2086: 'swig_class SwigClassIterator' : redefinition C:\dev\bug1132937\build\swig\ruby\zorba_apiRUBY_wrap.cxx 11452 1 Ruby


thanks,
Rodolfo


On Thu, Mar 21, 2013 at 6:59 PM, Rodolfo Ochoa <rodolfo.ochoa@gmail.com> wrote:
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 Ruby

Error 3 error C2086: 'swig_class SwigClassIterator' : redefinition C:\dev\bug1132937\build\swig\ruby\zorba_apiRUBY_wrap.cxx 11452 1 Ruby




On Thu, Mar 21, 2013 at 6:27 PM, William S Fulton <wsf@fultondesigns.co.uk> wrote:



On 21 March 2013 21:49, Klaus Kaempf <kkaempf@suse.de> wrote:
* Rodolfo Ochoa <rodolfo.ochoa@gmail.com> [Mar 21. 2013 22:02]:
> - download and unpack zorba
> - 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...

LOL - yeah, now fails also for me.

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
solution, however.

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