ITADN

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

#194OpenXikee2023 创建于 2024-07-09
X
Xikee2023commented
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](https://github.com/Kagami/ffmpeg.js/assets/138852790/24c9bfcb-715a-43fc-a317-6bff64d07416) 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](https://github.com/Kagami/ffmpeg.js/assets/138852790/e3c0c3bb-9956-4264-9609-4cf77fddf7ab) 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](https://github.com/Kagami/ffmpeg.js/assets/138852790/c6d1ff53-655c-4a6d-a1d9-948227f5acc4) 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](https://github.com/Kagami/ffmpeg.js/assets/138852790/6c2c58ea-fc5a-4baa-8824-0647001c3f47) 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!
2 条评论