Giter VIP home page Giter VIP logo

cryptopp-android-mk's People

Contributors

noloader avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cryptopp-android-mk's Issues

Test executable fails to build

Example:

[arm64-v8a] Compile++      : cryptopp_static <= zdeflate.cpp
[arm64-v8a] Compile++      : cryptopp_static <= zinflate.cpp
[arm64-v8a] Compile++      : cryptopp_static <= zlib.cpp
[arm64-v8a] StaticLibrary  : libcryptopp_static.a
[arm64-v8a] Compile        : cpufeatures <= cpu-features.c
[arm64-v8a] StaticLibrary  : libcpufeatures.a
[arm64-v8a] Executable     : cryptest.exe
/Users/logan.blevins/Documents/cryptopp/obj/local/arm64-v8a/libcryptopp_static.a(xed25519.o): In function `CryptoPP::x25519::SecretToPublicKey(unsigned char*, unsigned char const*) const':
/Users/logan.blevins/Documents/cryptopp/xed25519.cpp:145: undefined reference to `CryptoPP::Donna::curve25519_mult(unsigned char*, unsigned char const*)'
/Users/logan.blevins/Documents/cryptopp/obj/local/arm64-v8a/libcryptopp_static.a(xed25519.o): In function `CryptoPP::x25519::BERDecode(CryptoPP::BufferedTransformation&)':
/Users/logan.blevins/Documents/cryptopp/xed25519.cpp:202: undefined reference to `CryptoPP::Donna::curve25519_mult(unsigned char*, unsigned char const*)'
/Users/logan.blevins/Documents/cryptopp/obj/local/arm64-v8a/libcryptopp_static.a(xed25519.o): In function `CryptoPP::x25519::SecretToPublicKey(unsigned char*, unsigned char const*) const':
/Users/logan.blevins/Documents/cryptopp/xed25519.cpp:145: undefined reference to `CryptoPP::Donna::curve25519_mult(unsigned char*, unsigned char const*)'
/Users/logan.blevins/Documents/cryptopp/xed25519.cpp:145: undefined reference to `CryptoPP::Donna::curve25519_mult(unsigned char*, unsigned char const*)'
/Users/logan.blevins/Documents/cryptopp/xed25519.cpp:145: undefined reference to `CryptoPP::Donna::curve25519_mult(unsigned char*, unsigned char const*)'

Using NDK 20 on macOS 10.14.6

cryptopp_neon missing?

I'm getting this error trying to compile under Windows. It seems the cryptopp_neon module is missing

E:\cryptocpp-android>E:\AndroidSDK\ndk\25.1.8937393\ndk-build
process_begin: CreateProcess(NULL, grep -i -c -E "Pkg.Revision = (1[6-9]|[2-9][0-9]\.)" $ANDROID_NDK_ROOT/source.properties, ...) failed.
jni/Application.mk:33: pipe: No error
E:/AndroidSDK/ndk/25.1.8937393/build/../build/core/build-binary.mk:586: Android NDK: Module cryptest.exe depends on undefined modules: cryptopp_neon
E:/AndroidSDK/ndk/25.1.8937393/build/../build/core/build-binary.mk:599: *** Android NDK: Note that old versions of ndk-build silently ignored this error case. If your project worked on those versions, the missing libraries were not needed and you can remove those dependencies from the module to fix your build. Alternatively, set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies.    .  Stop.
PS E:\cryptocpp-android>

I added the .mk files inside cryptopp source, then created my own bat file to compile:

E:\AndroidSDK\ndk\25.1.8937393\ndk-build
NDK_PROJECT_PATH=\
NDK_APPLICATION_MK=\jni\Application.mk

Hope I wouldn't need to use Linux or anything. I checked the .sh script, there wasn't much important things other than ndk-build

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.