ahlekoofe / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Problem Compiling Android Demo in Eclipse #216

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compiling Android Demo in Eclipse

What is the expected output? What do you see instead?
The Application to run, and bypass the "if" statement on line 250 in 
src/com/nvidia/devtech/NvGLESActivity.java

What version of the product are you using? On what operating system?
GNU/ Linux (Ubuntu 10.04)

Please provide any additional information below.

I receive the message: "Application initialization failed. The application will 
exit" on screen, then the app closes when I tap "Ok".

I also receive the following in log cat: 
02-25 23:08:12.299: A/libc(4130): Fatal signal 11 (SIGSEGV) at 0x00000004 
(code=1)

This is the first time I have compiled GameKit, so perhaps it's an error 
between the keyboard and the seat (user error/ me)?

Original issue reported on code.google.com by online%y...@gtempaccount.com on 25 Feb 2012 at 11:19

GoogleCodeExporter commented 8 years ago
I'm not familiar with  Android Demo, but the name suggests that it the 
destination platform to run the demo is, well, Android.

Are you trying to run it under Ubuntu, or just cross-compile it under Ubuntu 
and run it under Android? Which Android device are you using (and which version 
of the NDK)?

Original comment by erwin.coumans on 26 Feb 2012 at 9:41

GoogleCodeExporter commented 8 years ago
Android-Demo works for me (Ubuntu 11.04 + NDK r6b). Did you follow this steps:
http://gamekit.org/forum/viewtopic.php?f=9&t=29

Did you disconnect your phone from usb (hardisc-mode) as this is mandatory 
since we load from sdcard which is blocked for the phone in hd-mode.

The Android-Version is by far not ready, especially living in the 
android-lifecycle will need some time.

Just posted in the forum about some new features, here is a test apk: 
http://dl.dropbox.com/u/11752001/Main.apk

Original comment by thomas.t...@googlemail.com on 27 Feb 2012 at 4:08

GoogleCodeExporter commented 8 years ago
Hi,

Thanks for your quick responses,

Erwin - I'm trying to cross compile it in Ubuntu to run under Android. It's 
been compiled for a Samsung Galaxy Nexus + Viewsonic gTablet (Tegra chip). Both 
are arm v7; I will try on x86 as soon as I can. It's being compiled with the 
standard Android NDK r5b.

Thomas - Thanks for sending that across. I will give that all a try tonight and 
keep you updated.

Thanks
James
(services@mugford.co from another Google account)

Original comment by james.bi...@gmail.com on 27 Feb 2012 at 4:17

GoogleCodeExporter commented 8 years ago
This works...

Original comment by thomas.t...@googlemail.com on 9 Sep 2012 at 1:11