Build win32 cygwin cannot find libavcodec for 0.9.0
Posted: 11 Aug 2008 02:26
Hi,
I set up win32 cygwin building environment on Vista according to http://wiki.videolan.org/Win32CompileCygwinNew for vlc-0.9.0-test3. I installed cygwin, contrib-20070412-win32-bin-gcc-3.4.5-only.tar.bz2 and vlc-0.9.0-test3 source code. I added following to my .bash_profile:
PATH=/usr/win32/bin:$PATH
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml"
LDFLAGS=-L/usr/win32/lib
I've checked all *.pc files from the contrib-20070412-win32-bin-gcc-3.4.5-only.tar.bz2 are indeed in /usr/win32/lib/pkgconfig directory. But I've got package could not find errors after running configure:
:
configure: error: Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.
Please advise what I was missing?
Thank you.
I set up win32 cygwin building environment on Vista according to http://wiki.videolan.org/Win32CompileCygwinNew for vlc-0.9.0-test3. I installed cygwin, contrib-20070412-win32-bin-gcc-3.4.5-only.tar.bz2 and vlc-0.9.0-test3 source code. I added following to my .bash_profile:
PATH=/usr/win32/bin:$PATH
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml"
LDFLAGS=-L/usr/win32/lib
I've checked all *.pc files from the contrib-20070412-win32-bin-gcc-3.4.5-only.tar.bz2 are indeed in /usr/win32/lib/pkgconfig directory. But I've got package could not find errors after running configure:
:
configure: error: Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.
Please advise what I was missing?
Thank you.