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

Build FFmpeg with libfreetype #1763

Closed
alicera opened this issue Feb 25, 2022 · 4 comments
Closed

Build FFmpeg with libfreetype #1763

alicera opened this issue Feb 25, 2022 · 4 comments

Comments

@alicera
Copy link

alicera commented Feb 25, 2022

Follow the issue

Follow the installation and add --enable-libfreetype.
I use --extra-cflags and --extra-ldflags to assign the path of libfreetype.
But meet the error ERROR: freetype2 not found using pkg-config and it try to use pkg-config to find freetype2 .pc file not --extra-cflags and --extra-ldflags

freetype

@saudet
Copy link
Member

saudet commented Feb 25, 2022

FreeType gets linked by default now, no need to do anything special.

@saudet
Copy link
Member

saudet commented Feb 25, 2022

Duplicate of #254

@saudet saudet marked this as a duplicate of #254 Feb 25, 2022
@saudet saudet closed this as completed Feb 25, 2022
@alicera
Copy link
Author

alicera commented Mar 1, 2022

FreeType gets linked by default now, no need to do anything special.

FreeType is not the default for me. Because I install freetype by downloading the freetype-windows-binaries, I don't have any *.pc or other default for freetype.

Due to install freetype by downloading the freetype-windows-binaries, I use --extra-cflags and --extra-ldflags to assign the path of freetype-windows-binaries.

So I meet the error ERROR: freetype2 not found using pkg-config and it try to use pkg-config to find freetype2 .pc file not --extra-cflags and --extra-ldflags

@saudet
Copy link
Member

saudet commented Apr 1, 2022

I don't understand what you're trying to do, but it doesn't sound like something related to JavaCPP or JavaCV...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants