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

ffmpeg compile for pd-else on Windows is non-intuitive #1963

Open
kamomehettapi opened this issue Nov 23, 2024 · 4 comments
Open

ffmpeg compile for pd-else on Windows is non-intuitive #1963

kamomehettapi opened this issue Nov 23, 2024 · 4 comments

Comments

@kamomehettapi
Copy link
Contributor

The ffmpeg provided by pd-else is tricky to compile. These are steps I took:

  1. Tried to use bash.exe provided by an msys install. However in the ffmpeg_deps custom script failed with Unsupported OS: MSYS_NT-10.0-22631. Seems to only supports mingw64 env according to their script.
  2. Installed mingw with choco install mingw instead and used their bash for the bash in the ffmpeg_deps CMakeFiles. Now it complains it can't find make. But mingw names their make mingw32-make.exe for some strange reason. Copied to make.exe on PATH and now it the ffmpeg target builds.

Maybe this can be improved? Or above added to Readme

@porres
Copy link
Collaborator

porres commented Nov 23, 2024

I think @timothyschoen was still trying to figure out how to compile this for PlugData, thanks for your help and report

@kamomehettapi
Copy link
Contributor Author

Yeah no problem and thanks for the lib !

@kamomehettapi
Copy link
Contributor Author

Okay I dunno what I changed but now I keep getting

make: *** No rule to make target 'C:\Program', needed by 'libavfilter/allfilters.o'.  Stop.

So that ffmpeg_deps target keeps failing. It seems I only get one shot to build the whole solution without errors, and after that if it tries to rebuild it will attempt to rebuild ffmpeg_deps and fail...

@kamomehettapi
Copy link
Contributor Author

OK it seems that if I insert make clean before the final make statement in build_ffmpeg.sh it works again

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

2 participants