I am using Swig to wrap C++ to Java. I have a very simple C++ class that works fine to wrap and to use in Java. But as soon as I set one or more members or methods in C++ to static, the generated .so file cannot be loaded in Java.
Does anyone know why?
/ Petter Lönnstedt