aws-sdk-cpp icon indicating copy to clipboard operation
aws-sdk-cpp copied to clipboard

Unable to build for Android

Open jmklix opened this issue 3 years ago • 5 comments

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.

jmklix avatar Jun 07 '22 21:06 jmklix

@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

jmklix avatar Jun 07 '22 21:06 jmklix

P65507276

jmklix avatar Jul 20 '22 19:07 jmklix

Hey, Is there a release date for this bug? Still happening when trying to build form android on windows.

Sam-Slater97 avatar Aug 22 '22 15:08 Sam-Slater97

Did anyone find a solution to "NMAKE : fatal error U1065: invalid option 'j' "

Kiptoo-Deus avatar Mar 24 '24 19:03 Kiptoo-Deus