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

Linux build fails #72

Open
JoakimCh opened this issue Nov 23, 2024 · 1 comment
Open

Linux build fails #72

JoakimCh opened this issue Nov 23, 2024 · 1 comment

Comments

@JoakimCh
Copy link

error: could not build C module 'CFFmpeg'
error: use of undeclared identifier 'AV_CH_LAYOUT_NATIVE'
@gigq
Copy link

gigq commented Nov 28, 2024

This happens on macos 15.2 as well:

SwiftFFmpeg/Sources/CFFmpeg/avutil_shim.h:19:55: error: use of undeclared identifier 'AV_CH_LAYOUT_NATIVE'
17 | 
18 | /* Audio channel layout */
19 | const uint64_t swift_AV_CH_LAYOUT_NATIVE            = AV_CH_LAYOUT_NATIVE;
   |                                                       `- error: use of undeclared identifier 'AV_CH_LAYOUT_NATIVE'
20 | const uint64_t swift_AV_CH_LAYOUT_MONO              = AV_CH_LAYOUT_MONO;
21 | const uint64_t swift_AV_CH_LAYOUT_STEREO            = AV_CH_LAYOUT_STEREO;

SwiftFFmpeg/Sources/SwiftFFmpeg/AVBitStreamFilter.swift:8:8: error: could not build Objective-C module 'CFFmpeg'
  6 | //
  7 | 
  8 | import CFFmpeg
    |        `- error: could not build Objective-C module 'CFFmpeg'
  9 | 
 10 | // MARK: - AVBitStreamFilter 

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