Page 1 of 1

cannot find symbol super.swigSetCMemOwn(own);

Posted: Sun Dec 23, 2018 8:24 am
by sildeag
Ogre Version: :Beta:
Operating System: :Ubuntu 18.04:
Render System: :?:

I was wondering what I was missing from the build. I realize I could turn Java OFF and the build completes 100% without error but I would like to have Java ON and Swig version 4 is missing something. Can anyone help?

Output from `make` given below:
[ 88%] Linking CXX shared module ../../java/libs/libOgreJNI.so
/home/gordon/ogre/build/java/src/org/ogre/OverlayElement.java:27: error: cannot find symbol
super.swigSetCMemOwn(own);
^
symbol: method swigSetCMemOwn(boolean)
/home/gordon/ogre/build/java/src/org/ogre/Font.java:27: error: cannot find symbol
super.swigSetCMemOwn(own);
^
symbol: method swigSetCMemOwn(boolean)
/home/gordon/ogre/build/java/src/org/ogre/OverlaySystem.java:27: error: cannot find symbol
super.swigSetCMemOwn(own);
^
symbol: method swigSetCMemOwn(boolean)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
3 errors

Re: cannot find symbol super.swigSetCMemOwn(own);

Posted: Sun Dec 23, 2018 1:28 pm
by paroj
works for me with swig 3.0.12

Re: cannot find symbol super.swigSetCMemOwn(own);

Posted: Sun Dec 23, 2018 6:38 pm
by sildeag
Thanks. It worked for me too. I hadn't realized Swig version would make that difference.