Page 1 of 1

problem building VLC

Posted: 24 Jun 2014 17:53
by GBetser
Hi,
I am trying to build the vlc for windows following the steps at the Win32Compile (obtaining the toolchain) wiki.
The problem I got is:

configure: error: Package requirements (freetype2) were not met: No package 'freetype2' found

while I am running the make command in the vlc/contrib/win32

I am using ubuntu 14.04 32 bits.

Do you have ant idea how to solve the problem?

Thanks,

Gal Betser

Re: problem building VLC

Posted: 09 Jul 2014 03:26
by Jean-Baptiste Kempf
You need to redo it and check that the freetype2.pc was correctly created in contrib/i686-*/lib/pkgconfig.

Re: problem building VLC

Posted: 26 Sep 2014 13:00
by elliottzhang
I have the same problem when build vlc-2.1.5 source code following steps at Win32Compile wiki on ubuntu server 14.04 64 bits.
The problem I got is:

configure: error: Package requirements (freetype2) were not met:
No package 'freetype2' found

The freetype2.pc is in vlc/contrib/i686-w64-mingw32/lib/pkgconfig:

prefix="/home/elliott/vlc/contrib/i686-w64-mingw32"
exec_prefix="/home/elliott/vlc/contrib/i686-w64-mingw32"
libdir="/home/elliott/vlc/contrib/i686-w64-mingw32/lib"
includedir="/home/elliott/vlc/contrib/i686-w64-mingw32/include/freetype2"

Name: FreeType 2
URL: http://freetype.org
Description: A free, high-quality, and portable font engine.
Version: 17.2.11
Requires:
Requires.private:
Libs: -L${libdir} -lfreetype
Libs.private: -lz
Cflags: -I${includedir}

Re: problem building VLC

Posted: 10 Dec 2014 15:21
by Jean-Baptiste Kempf
Compile 2.2.0 and heck your PKG_CONFIG_PATH