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

zlib build mingw32-make failed #8142

Closed
HyunmokMoon opened this issue Feb 21, 2019 · 1 comment
Closed

zlib build mingw32-make failed #8142

HyunmokMoon opened this issue Feb 21, 2019 · 1 comment

Comments

@HyunmokMoon
Copy link

HyunmokMoon commented Feb 21, 2019

Hello,
I want to build zlib (I had trilib issue with libz)
I followed this link (FYI, this page is chinese so translate to other language)

I install emsdk link

and modified PATH environment setting for emcmake

instructions...

git clone https://github.com/madler/zlib.git
cd zlib
mkdir build_release
cd build_release
emcmake cmake -DCMAKE_BUILD_TYPE=Release ..
mingw32-make

when mingw32-make I have ERROR

[ 42%] Linking C executable minigzip64.js
ERROR:root:emcc: cannot find binaryen js libraries (tried: ('D:/git/emsdk/clang/e1.38.27_64bit/binaryen\bin', 'D:/git/emsdk/clang/e1.38.27_64bit/binaryen\share\binaryen'))
CMakeFiles\minigzip64.dir\build.make:86: recipe for target 'minigzip64.js' failed
mingw32-make[2]: *** [minigzip64.js] Error 1
CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/minigzip64.dir/all' failed
mingw32-make[1]: *** [CMakeFiles/minigzip64.dir/all] Error 2
Makefile:139: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

Thank you in advance.

@HyunmokMoon
Copy link
Author

I used PATH in Unity ...\2019.1.0b3\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten
not emsdk PATH (i.e. ...\emsdk\emscripten\1.38.27) for emcmake

I clear build_release folder and do again, it's work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant