Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Error compiling Android NDK

$
0
0
Hello guys, I'm trying to compile the last version of the example LoadBalancing for Android NDK. I tried with Visual Studio 2010 and 2015 with VisualGDB installed, and also via cygwin + ndk-build, I don't know how to fix these errors:

NDK in cygwin :
$ /cygdrive/e/UDK/nvpack/android-ndk-r10b/ndk-build
Android NDK: ERROR:jni/Android.mk:photon-cpp-static-prebuilt: LOCAL_SRC_FILES points to a missing file Android NDK: Check that jni/../../Photon-cpp/obj/local/armeabi-v7a/libphoton-cpp-static.a exists or that its path is correct/cygdrive/e/UDK/nvpack/android-ndk-r10b/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting . Alto.



VisualStudio2010: Configured with the java and android sdks, and the ndk paths, everything set, even the project properties, in release configuration...

Error 13 error MSB3073: The command ""W:\CodingSoftware\VisualGDB\\VisualGDB.exe" /build "E:\PhotonCloud\SDK\android\LoadBalancing-cpp\AndroidLoadBalancing-cpp.vcxproj" "/solution:E:\PhotonCloud\SDK\android\LoadBalancing-cpp\AndroidLoadBalancing-cpp.sln" "/config:Release" "/platform:Win32"" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets 38 6 AndroidLoadBalancing-cpp
Error 8 error : jni/Android.mk:photon-cpp-static-prebuilt: LOCAL_SRC_FILES points to a missing file E:\PhotonCloud\SDK\android\LoadBalancing-cpp\Android NDK AndroidLoadBalancing-cpp
Error 10 error : Command-line action failed E:\PhotonCloud\SDK\android\LoadBalancing-cpp\VisualGDB AndroidLoadBalancing-cpp
Error 9 error : Android NDK: Aborting . Stop. E:\UDK\nvpack\android-ndk-r10b\build\core\prebuilt-library.mk 45 1 AndroidLoadBalancing-cpp
Message 6 Could not find schema information for the attribute 'Condition'. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets 60 18 Miscellaneous Files
Error 7 [Clang IntelliSense] Error: 'sys/time.h' file not found e:\photoncloud\sdk\android\common-cpp\inc\defines.h 79 12




is there anywhere a guide to compile this project properly?
I was able to compile the Windows version of LoadBalancing with Visual Studio 2015, but this is giving me headaches, so,
Thanks!.

Viewing all articles
Browse latest Browse all 15755

Trending Articles