cannot compile vlc (npapi-vlc)

This forum is about all development around libVLC.
da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

cannot compile vlc (npapi-vlc)

Postby da2424 » 09 Aug 2014 21:56

Hello,

if I try to build VLC 2.2, and want to packaging with "make package-win-strip", it will always fail during configuring for npapi-vlc:

Code: Select all

configure: error: Package requirements (libvlc >= 2.0.0) were not met: No package 'libvlc' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBVLC_CFLAGS and LIBVLC_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
It works only fine with the source of VLC 2.1.x

What is the reason? Is the automatically generated PKG_CONFIG_PATH wrong?

I use Ubuntu 14.04 LTS 64bit with gcc 4.8.2

Thanks,
da2424

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: cannot compile vlc (npapi-vlc)

Postby da2424 » 10 Aug 2014 18:28

It works only if I set the needed paths manually:

Code: Select all

LIBVLC_CFLAGS=-I/home/test/vlc-2.2/win32/_win32/include LIBVLC_LIBS="-L/home/test/vlc-2.2/win32/_win32/lib -lvlc" make package-win-strip
The automatically generated configure command for npapi-vlc is:

Code: Select all

./configure \ --prefix=/ \ --host=i686-w64-mingw32 --build= \ CPP="i686-w64-mingw32-gcc -std=gnu99 -E" CPPFLAGS="-I../extras/package/win32/../../../include -I./include -I/home/test/vlc-2.2/contrib/i686-w64-mingw32/include -D__USE_MINGW_ANSI_STDIO=1" \ CC="i686-w64-mingw32-gcc -std=gnu99" CFLAGS="-g -O2 -I/home/test/vlc-2.2/contrib/i686-w64-mingw32/include -mms-bitfields -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-declaration -pipe -ffast-math -funroll-loops -fomit-frame-pointer" \ CXX="i686-w64-mingw32-g++" CXXFLAGS="-g -O2 -I/home/test/vlc-2.2/contrib/i686-w64-mingw32/include -mms-bitfields -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -ffast-math -funroll-loops -fomit-frame-pointer" \ LD="/usr/bin/i686-w64-mingw32-ld" LDFLAGS="-Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase -L/home/test/vlc-2.2/contrib/i686-w64-mingw32/lib" \ SHELL="/bin/bash" \ PKG_CONFIG_PATH="/home/test/vlc-2.2/win32/_win32/lib/pkgconfig:/home/test/vlc-2.2/contrib/i686-w64-mingw32/lib/pkgconfig"
I hope these additional informations helps.

Thanks,
da2424


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 60 guests