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

Import Apple/FFmpeg libraries for AVI dumps on macOS #10145

Merged
merged 1 commit into from Oct 7, 2021

Conversation

NoNoTeal
Copy link
Contributor

@NoNoTeal NoNoTeal commented Oct 2, 2021

When attempting to compile Dolphin with FFmpeg I noticed a bunch of undefined symbol errors, so I looked into it more and as a band-aid fix I modified the ./CMakeLists.txt and ./Source/Core/VideoCommon/CMakeLists.txt files to add libraries that resolve the errors.

These libraries are:

  • CoreMedia
  • VideoToolbox
  • CoreVideo
  • AudioToolbox
  • FFmpeg::swresample

It should also be noted that I used FFmpeg v4.4 with configure flags --disable-asm --disable-docs --disable-securetransport with Dolphin. I tried to add the Security framework but the undefined symbol wasn't resolved. As a band-aid fix, I used --disable-securetransport. Asm & docs are disabled as docs takes time to compile & asm throws a bunch of freestanding warnings when compiling with Dolphin.

@NoNoTeal NoNoTeal marked this pull request as ready for review October 3, 2021 01:27
@leoetlino
Copy link
Member

Could you squash the commits please?

Imports Apple libraries and also pulls swresample in, so when compiling Dolphin doesn't throw undefined symbols.
@leoetlino leoetlino merged commit d90b30c into dolphin-emu:master Oct 7, 2021
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants