swig Nothing known about base class 'std::string', ignored

Viewed 3330

I am trying to use swig to build ruby wrappers around a c++ library. Most of it seems to be working but I have one issue that I am pretty sure is related to the above warning.

It looks like one of the classes I am wrapping is inherited from std::string.

I see the above warning message when I run swig.

When I call a method on an object in ruby that should be returning a string, I see this

SWIG::Type_p_std__string:0x.....

I am thinking I need to some how fix the above warning to the this to work, any ideas?

2 Answers
Related