Giter Site home page Giter Site logo

openssl/evp.h' file not found about redex HOT 8 CLOSED

facebook avatar facebook commented on May 4, 2024
openssl/evp.h' file not found

from redex.

Comments (8)

bertmaher avatar bertmaher commented on May 4, 2024 2

It looks like there's a bug in folly on OSX -- you can fix it by going to third-party/folly/folly/portability/Malloc.h and adding #include <stddef.h>. I'll see if I can get folly patched tomorrow.

from redex.

bertmaher avatar bertmaher commented on May 4, 2024 1

Looks like issue #7. Try brew install openssl && brew link --force openssl

from redex.

ratm avatar ratm commented on May 4, 2024 1

@ijustyce zipalign is part of the build tools from the Android SDK, make sure it's in your PATH.

from redex.

ijustyce avatar ijustyce commented on May 4, 2024

i solve it by sudo brew link openssl --force , but appears other error, here is the error log, and my os is mac 10.11.4

./../folly/portability/Malloc.h:27:12: error: unknown type name 'size_t'
extern "C" size_t malloc_usable_size(void* ptr);
^
1 error generated.
make[4]: *** [portability/Malloc.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

from redex.

ijustyce avatar ijustyce commented on May 4, 2024

@bertmaher thank you,but when i run redex app-android_test-debug.apk -o ./app-1.apk in terminal , it tell me : Optimization warning: Pure abstract class passed to encode: 12 occurrences
Couldn't find zipalign. Your APK may not be fully optimized. how to fix 'Couldn't find zipalign' thanks in advance

from redex.

bertmaher avatar bertmaher commented on May 4, 2024

The "optimization warning" is no problem (it's more for us developers, I probably should have disabled it). The zipalign thing is an optimization step that's usually done by the default toolchain -- you can fix that by adding zipalign to your path, so for example, I have my android SDK tools installed at /opt/android_sdk/build-tools/23.0.3, so I'd do:

export PATH=/opt/android_sdk/build-tools/23.0.3:$PATH

before running redex.

from redex.

ijustyce avatar ijustyce commented on May 4, 2024

thanks, it make my app less 0.3M

from redex.

rekire avatar rekire commented on May 4, 2024

IMHO this should not been closed since this is still broken

from redex.

Related Issues (20)

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.