cannot find symbol super.swigSetCMemOwn(own); Topic is solved

Problems building or running the engine, queries about how to use features etc.
Post Reply
sildeag
Gnoblar
Posts: 2
Joined: Sat Dec 22, 2018 6:25 pm

cannot find symbol super.swigSetCMemOwn(own);

Post by sildeag » Sun Dec 23, 2018 8:24 am

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
0 x

paroj
OGRE Team Member
OGRE Team Member
Posts: 895
Joined: Sun Mar 30, 2014 2:51 pm
x 187
Contact:

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

Post by paroj » Sun Dec 23, 2018 1:28 pm

works for me with swig 3.0.12
0 x

sildeag
Gnoblar
Posts: 2
Joined: Sat Dec 22, 2018 6:25 pm

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

Post by sildeag » Sun Dec 23, 2018 6:38 pm

Thanks. It worked for me too. I hadn't realized Swig version would make that difference.
0 x

Post Reply