Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New to OhNet, need help
04-03-2013, 10:54 PM
Post: #11
RE: New to OhNet, need help
(04-03-2013 10:21 PM)simonc Wrote:  
(04-03-2013 09:12 PM)dcong Wrote:  
(04-03-2013 09:02 PM)simonc Wrote:  Random guess, you're not building 64-bit native code then running it against 32-bit Java code by any chance?

What is the command to build native code?

I did have libohNetJni.so and libohNet.so in /Build/obj/Posix/Release/Android/libs/armeabi

Your build command - make ohNetAndroidNative - is correct. If you want to avoid gcc producing a build which targets the platform you're building on, you can set the CROSS_COMPILE environment variable before building. Depending on the cross compiler you choose, you may then get a 64 or 32-bit binary.

Thanks for the suggestion. I will give it a try.

BTW, is there any binary release I can try directly?
Find all posts by this user


Messages In This Thread
New to OhNet, need help - dcong - 01-03-2013, 12:09 AM
RE: New to OhNet, need help - simonc - 01-03-2013, 08:41 AM
RE: New to OhNet, need help - dcong - 03-03-2013, 01:31 AM
RE: New to OhNet, need help - simonc - 04-03-2013, 03:08 PM
RE: New to OhNet, need help - dcong - 04-03-2013, 06:04 PM
RE: New to OhNet, need help - simonc - 04-03-2013, 06:26 PM
RE: New to OhNet, need help - dcong - 04-03-2013, 06:43 PM
RE: New to OhNet, need help - simonc - 04-03-2013, 09:02 PM
RE: New to OhNet, need help - dcong - 04-03-2013, 09:12 PM
RE: New to OhNet, need help - simonc - 04-03-2013, 10:21 PM
RE: New to OhNet, need help - dcong - 04-03-2013 10:54 PM
RE: New to OhNet, need help - simonc - 04-03-2013, 10:56 PM
RE: New to OhNet, need help - simonc - 05-03-2013, 10:36 AM

Forum Jump: