From: Rodolfo O. <rod...@gm...> - 2013-03-22 01:07:06
|
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 https://www.dropbox.com/s/8vf993q2nvc81i6/zorba_apiRUBY_wrap.cxx thanks, Rodolfo On Thu, Mar 21, 2013 at 6:59 PM, Rodolfo Ochoa <rod...@gm...>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 <ws...@fu... > > wrote: > >> >> >> >> On 21 March 2013 21:49, Klaus Kaempf <kk...@su...> wrote: >> >>> * Rodolfo Ochoa <rod...@gm...> [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 >> >> > |