-
Notifications
You must be signed in to change notification settings - Fork 4
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 #3
Comments
Hi,
suggest that you don't have mbedTLS installed. |
Hi. What if I do not want to include mbedTLS in my module? What all changes will be required in that case? |
Hi, |
Thank you for your reply. Ya currently I am using NoSec communication. Can I get some information on Anjay Java's documentation, if any? I see that in Anjay C, there is a complete document. It would be really helpful if we get all 1:1 API mappings and other details in one document. |
Hi, I am trying to compile "libanjay-jni.so" separately. And I am seeing this error. _[100%] Linking CXX shared library libanjay-jni.so Can you please help me address this issue? |
Hi Kushma, We cannot reproduce your issue. The library should compile cleanly when configured through just The What operating system are you using? If it's a Linux system, please tell us what distribution in which version it is. Please also tell us the exact command you're using to invoke |
Hello, thank you for the reply. I am sticking to using " ./gradlew -Pandroid :library:build" command to build. I also observed that the DTLS_BACKEND variable is not getting updated, confirmed from the gradle logs. Can you pls explain why this is happening? Is there a way I can give a clean build using gradlew? |
Hi Kushma, The values specified in The specific rules for variable handling in CMake are rather complex, but the general rule is that variables specified on the command line (i.e. Removing |
Hello, thank you for the clarification. From Anjay Java to Anjay C++ there is a JNI Iayer and I was working on writing a callback from native back to java. For this, I will need both "JNIEnv *" and "jobject" in arguments but I only see JNIEnv. Can you please let me know how I can go ahead with writing this JNI callback? And is there a callback in the existing code for reference? |
I am using the below command to build, as specified in the Readme.
"./gradlew :library:build"
But I am facing the below error. Attached are the logs.
CMakePlugin.cmakeConfigure - ERRORS:
CMake Error in CMakeLists.txt:
Target "anjay" contains relative path in its INTERFACE_INCLUDE_DIRECTORIES:
"MBEDTLS_INCLUDE_DIR-NOTFOUND"
Please let me know how to resolve this error and successfully build the jar file and the native shared library.
Log.txt
The text was updated successfully, but these errors were encountered: