-
Notifications
You must be signed in to change notification settings - Fork 37
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
Make CMake the starting point for building #19
Comments
Something like this may be helpful. |
Ah thanks, the current FindFFMPEG has been hand-made by Danman and probably only works for Linux (and maybe Windows) at the moment so this should be useful. |
Any Shell script seems to be runnable with the following Bat source :
MSYS and MinGW must be put in first place or the call to some commands like "find" will run the wrong find.exe. |
This is not working with Xcode yet (target dependency issue), and not tested on other platforms. Building against the builtin/user/system FFmpeg seems to work fine.
Confirmed to build fine with KDevelop on Linux |
Here's a little sum up of current status of this story: On Linux:
On Mac OS X:
On Windows:
|
The CMakeDirected branch has been merged to master and deleted. |
Everything works fine on OS X (Xcode + Makefiles) now. |
Everything still working fine on Linux. |
On Windows with VS2012, FFmpeg build is launched but fails at link time with the following:
The error is reported here and the only fix seems to be updating FFmpeg. Wondering why I never got this issue though... |
Tested on Linux. Building both the provided version of FFmpeg as well as linking against the system version did not result in any errors. :) |
Yay! :D |
Maybe this would help at fixing the build with FFmpeg 1.0 and Visual Studio 2012: |
Seems like that at the moment, even if it builds, it also crashes. |
Actually it runs fine, seems like I had made a mistake while copying the DLLs the first time. |
Instead of running CMake from the build.sh script, it would be interesting (if it's possible) to to the opposite : do the whole configuration within CMake and only some parts (like building FFmpeg) in shells scripts.
Edit:
AC:
The text was updated successfully, but these errors were encountered: