aws-sdk-cpp
aws-sdk-cpp copied to clipboard
Unable to build for Android
Discussed in https://github.com/aws/aws-sdk-cpp/discussions/1944
Originally posted by IIAwesomeII June 6, 2022 Hello, I am trying to build for android using this code on windows:
cmake -G "NMake Makefiles"
-DTARGET_ARCH=ANDROID-DCMAKE_BUILD_TYPE=Release -DBUILD_ONLY="s3" But, it is giving me this error:
NMake : fatal error U1065: invalid option 'j'
Am i doing something wrong? I am following the instructions mentioned here on github.
@IIAwesomeII there seams to be something wrong with the dependencies that NMAKE is trying to build. I'm getting the same error with the current version of this sdk:
NMAKE : fatal error U1065: invalid option 'j'
Stop.
CMake Error at cmake/build_external.cmake:148 (message):
Failed to build dependency libraries.
Call Stack (most recent call first):
CMakeLists.txt:166 (include)
For now please use the last version of 1.8 of this sdk when building for android. I tested this on windows, so it should work for you.
I created this bug from the discussions so we can let you know when it gets fixed
P65507276
Hey, Is there a release date for this bug? Still happening when trying to build form android on windows.
Did anyone find a solution to "NMAKE : fatal error U1065: invalid option 'j' "