Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error #45

Closed
LaiHuanHeng opened this issue Jun 3, 2021 · 3 comments
Closed

Build error #45

LaiHuanHeng opened this issue Jun 3, 2021 · 3 comments
Assignees
Labels
android issue on android bug Something isn't working

Comments

@LaiHuanHeng
Copy link

Is it possible to provide an Android APi that has been built?

System:Windows10

mingw32-make.exe NDK_HOME=%NDK_HOME% ANDROID_API=21 DEBUG=1 SECURE=1 IPV4=1 TCP=0 PKI=1 DYNAMIC=1
CLOUD=0 JAVA=1 IDD=1
21 was unexpected at this time.
if [ -d ../../deps/mbedtls ]; then
cd ../../deps/mbedtls &&
git clean -fdx . &&
git reset --hard &&
cd -;
fi &&
git submodule update --init &&
cd ../../deps/mbedtls &&
for patch in ../../patches/05_mbedtls_ocf-microsoft.patch ../../patches/06_mbedtls_constrained.patch ../../patches/08_mbedtls_C99.patch ../../patches/09-ocf-samsung-psk.patch ../../patches/10-ocf-samsung-anon.patch; do patch -r - -s -N -p1 < ${patch} ; done &&
echo "Patches applied in ../../deps/mbedtls/.git ../../patches/05_mbedtls_ocf-microsoft.patch ../../patches/06_mbedtls_constrained.patch ../../patches/08_mbedtls_C99.patch ../../patches/09-ocf-samsung-psk.patch ../../patches/10-ocf-samsung-anon.patch" > patched.txt
-d was unexpected at this time.
mingw32-make.exe: *** [Makefile:376: ../../deps/mbedtls/patched.txt] Error 255

@WAvdBeek WAvdBeek added bug Something isn't working android issue on android labels Jun 9, 2021
@cstevens cstevens self-assigned this Jun 14, 2021
@cstevens
Copy link

cstevens commented Jun 14, 2021

TODO (Clarke): Try to build this using OTGC instructions as an example. Work with Kishen, then document it in a place where we can point people.

@LaiHuanHeng
Copy link
Author

TODO (Clarke): Try to build this using OTGC instructions as an example. Work with Kishen, then document it in a place where we can point people.

I first asked the question in otgc-android, but I haven't received any response so far. What kind of information do I need to know to build the iotivity android api?

@LaiHuanHeng
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android issue on android bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants