So, down to it.
My office uses the SDK and NDK to compile their games, and we are upgrading our systems, and I am settings up the new android build slave for jenkins. When I compile the app via cmd on the slave (which is windows 8, like the other one) it builds correctly, however, when I run the build via jenkins it fails. Here is some output:
make: *** [obj/local/armeabi-v7a/objs-debug/JetsetScratchOffGold/__/__/src/common/AnimationManager.o] Error 2
"""Compile++ thumb"" : JetsetScratchOffGold <= AnimationObject.cpp"
process_begin: CreateProcess(NULL, C:/Android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-/bin/arm-linux-androideabi-g++ -MMD -MP -MF ./obj/local/armeabi-v7a/objs-debug/JetsetScratchOffGold/__/__/src/common/AnimationObject.o.d -fpic -ffunction-sections -funwind-tables -fstack-protector -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -fno-exceptions -fno-rtti -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -IC:\Jenkins\workspace\framework/Includes -I../../src/common -I../../src/common/Menus -I../../src/common/Tickets -I../../src/IAP/NoIAP -I../../src/Analytics -I../../src/Facebook -IC:/Android/android-ndk/sources/cxx-stl/gnu-libstdc++/4.6/include -IC:/Android/android-ndk/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi-v7a/include -Ijni -DANDROID -DANDROID_NDK -Wno-multichar -g -DDEBUG -Wa,--noexecstack -fexceptions -O0 -g -Wno-error=format-security -IC:/Android/android-ndk/platforms/android-14/arch-arm/usr/include -c jni/../../src/common/AnimationObject.cpp -o ./obj/local/armeabi-v7a/objs-debug/JetsetScratchOffGold/__/__/src/common/AnimationObject.o, ...) failed.
make (e=2): The system cannot find the file specified.
And also, I have already checked all the file paths and commands, and they all check out, and keep in mind the same commands work in cmd, but when run by jenkins using "run batch commands" they fail.
Any help would be appreciated.
-Gus Caplan