I have a bunch of C++ functions that take C std:string as function parameters.
I want to pass java Strings to those functions. I have generated a SWIG JNI interface between Java and C++. I can see the no-args constructor fine, but if I try to compile my java with the String arguments in the constructor, I get "cannot find symbol" and I think it is because of something funny going on with the way the class constructor was defined.
How do you remedy this problem? Is a typemap the answer? If so - where do you start?