Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Android compile errors...... undefined reference to `__cxa_end_cleanup'

Author
Message
Blitzbat
12
Years of Service
User Offline
Joined: 11th Mar 2012
Location:
Posted: 10th May 2012 20:42
Hi agk's,

i have a strange problem on compiling t2 android apps..

If i try to compile the android templates i'll get the following errors:

Attachments

Login to view attachments
victordavion
12
Years of Service
User Offline
Joined: 3rd Jan 2012
Location:
Posted: 11th May 2012 03:04
I also have the same issue. I tried from scratch using the template project and still all those undefined references.

I think it may have something to do with static directory calls rather than referenced ( or whatever you call it ), because I don't know which NDK you're using, but when going through your log file, it's looking for NDK r6b, specifically. I had the same issue.

Also, it's looking for a C:/TGCShared directory. Coincidentally, in the older ( since it isn't included in the 1072 ) Meego interpreter, the file agkplayer.pro looks specifically for a C:/TGCShared directory...
victordavion
12
Years of Service
User Offline
Joined: 3rd Jan 2012
Location:
Posted: 11th May 2012 03:24
I filed a bug report for us.
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 11th May 2012 03:44
try using "ndk-build clean" before "ndk-build 2> log.txt"
victordavion
12
Years of Service
User Offline
Joined: 3rd Jan 2012
Location:
Posted: 11th May 2012 03:48
Damn. I was really hoping that that worked.

Unfortunately, clean didn't fix it
Blitzbat
12
Years of Service
User Offline
Joined: 11th Mar 2012
Location:
Posted: 11th May 2012 10:38
Clean didn't fix it here too....
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 11th May 2012 18:23
There were some changes to the Android.mk and Application.mk files in the interpreter project, check you have the "APP_STL := gnustl_static" line in the Application.mk and "LOCAL_CPPFLAGS += -fexceptions" in Android.mk
victordavion
12
Years of Service
User Offline
Joined: 3rd Jan 2012
Location:
Posted: 11th May 2012 19:07
That was it!

I hadn't thought about the STL lib setting. I was using stlport_static before.

Thanks a bunch for the help!

Login to post a reply

Server time is: 2024-11-23 11:32:09
Your offset time is: 2024-11-23 11:32:09