Skip to content

Does the custom compilation functionality of this library still work? In 2024, are there still people who have successfully compiled it? #194

@Xikee2023

Description

@Xikee2023

I am compiling through docker on a Windows 11 machine, but I always get a "Not found" error. I don't know if it's because my system environment doesn't support it or because this library hasn't been updated for a long time, so it can't run in some new environments. Here are the steps I took for the compilation:

  1. Open Windows PowerShell, navigate to a specific directory, and run: git clone https://github.com/Kagami/ffmpeg.js.git --recurse-submodules, as shown in the image:
    QQ截图20240709133046

  2. After the project is successfully cloned, I execute the command: docker run --rm -it -v E:\FFMPEG\ffmpeg.js:/mnt -w /opt kagamihi/ffmpeg.js, as shown in the image, and successfully enter the docker system:
    QQ截图20240709133410

  3. Execute the build command: cp -a /mnt/{.git,build,Makefile} . && source /root/emsdk/emsdk_env.sh && make && cp ffmpeg*.js /mnt. After a few minutes, this error will occur, showing "./autogen.sh: not found", as shown in the image:
    QQ截图20240709133742

  4. I tried to find the autogen.sh in the docker /mnt/build/opus, and it does exist, as shown in the image:
    QQ截图20240709134134

  5. I tried to delete the opus module in the Makefile, but then other dependency modules' "not found" errors will occur. I used ls to find these "not found" files, and they do exist.

Has any brother encountered the same problem when compiling this library? Can you provide your valuable advice? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions