Kagami / ffmpeg.js

Port of FFmpeg with Emscripten
Other
3.29k stars 335 forks source link

"initialStackTop" variable is Undefined when I try to compile with emscripten! #70

Closed adminy closed 4 years ago

adminy commented 5 years ago

https://github.com/Kagami/ffmpeg.js/blob/fc67f0ca1a5d2edfa262e69e18e20df4c2d0ea88/build/pre.js#L37

What are you trying to reference to?

devang1990 commented 5 years ago

I am also facing same issue.

adminy commented 5 years ago

I got past that issue somehow ... I think I was doing something wrong

azaiter commented 5 years ago

same thing here

adminy commented 5 years ago

Guys, be more specific, like what version of emscripten you have and all the binaries installed version. Optionally include what you are trying to compile. What parameters you pass when compiling. @azaiter, @devang1990, @forresthopkinsa

Make sure everything’s up to date and version compatible.

Jamie0 commented 5 years ago

Looks like some breaking (documented) changes in emscripten prevent ffmpeg.js from building in recent versions. I managed to resolve this by installing an older version of emscripten with the SDK.

./emsdk install node-8.9.1-64bit && ./emsdk install emscripten-1.35.0 && ./emsdk install clang-tag-e1.35.0-64bit
./emsdk activate node-8.9.1-64bit && ./emsdk activate emscripten-1.35.0 && ./emsdk activate clang-tag-e1.35.0-64bit
Kagami commented 4 years ago

Should be fixed by #82.