loloof64
loloof64

Reputation: 5402

What is the correct sstream include path for swig interface file?

I am generating a C++ source towards android, with Swig 2.0, and I use . But addind either

%include <std_sstream.i>

or

%include <sstream.i>

give me the eror that this include file is not recognized.

What is the correct include then ?

My environment

Ubuntu 13.04 64 bits.

Gcc 4.7.3

Android NDK r8e

Thanks in advance

Upvotes: 2

Views: 1189

Answers (1)

Dan Macumber
Dan Macumber

Reputation: 305

You might try %include <std/std_sstream.i> and see what happens (that is all the implementations of the Ruby and Python files do). If that doesn't work you could post the errors. Finally, you might consider whether you really want a string stream in your interface. It might be better to just pass a string through the interface?

Upvotes: 1

Related Questions