From: Klaus K. <kk...@su...> - 2013-05-31 08:35:43
|
* Klaus Kaempf <kk...@su...> [May 31. 2013 10:27]: > > > > SimpleITKRUBY_wrap.cxx: In function ‘VALUE SWIG_From_std_complex_Sl_float_Sg_(const std::complex<float>&)’: > > SimpleITKRUBY_wrap.cxx:9979: error: ‘rb_complex_new’ was not declared in this scope > > Hmm, rb_complex_new was introduced in Ruby 1.9. Ruby 1.8 does not have > this as an internal type. Looking further, SWIG does define its own version of rb_complex_new() if its not provided by Ruby. Why isn't it picked up in your case ? Can you come up with a minimal test case ? Klaus -- SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany |