Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

iOS: 'config.h' file not found #100

Closed
snlo opened this issue Mar 21, 2019 · 5 comments
Closed

iOS: 'config.h' file not found #100

snlo opened this issue Mar 21, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request fixed

Comments

@snlo
Copy link

snlo commented Mar 21, 2019

Config.h is included in fftools_ffmpeg.h, but config.h does not exist at all.

iOS:9.3
Xcode:10.1
Pod: 'mobile-ffmpeg-full', '4.2'

@tanersener
Copy link
Owner

You're right, it is not included in IOS frameworks. But I didn't see it causing a failure. Can you share your compile output?

@snlo
Copy link
Author

snlo commented Mar 22, 2019

I think I probably imported "fftools_ffmpeg.h"
屏幕快照 2019-03-22 上午10 05 24
屏幕快照 2019-03-22 上午10 05 05

@tanersener
Copy link
Owner

Thanks. I can confirm that when fftools_ffmpeg.h is imported compilation fails with 'config.h' file not found.

Importing fftools_ffmpeg.h is not necessary most of the time. Do you have a specific reason to import it?

@tanersener tanersener added bug Something isn't working enhancement New feature or request and removed needs-analysis bug Something isn't working labels Mar 22, 2019
@snlo
Copy link
Author

snlo commented Mar 22, 2019

When I use some of the underlying APIs in ffmpeg, I might import the ‘fftools_ffmpeg.h’ file. You need to manually comment out the import of "config.h", which is not convenient for 'cocoapods' dependency management. Thank you for your attention.

@snlo snlo closed this as completed Mar 22, 2019
@tanersener
Copy link
Owner

You're right. It will be removed in the next release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request fixed
Projects
None yet
Development

No branches or pull requests

2 participants