[vlc-devel] python binding compilation problem
KwangYul Seo
kwangyul.seo at gmail.com
Fri Apr 27 02:39:10 CEST 2007
Hi
I compiled the vlc trunk in Cygwin (-mno-cygwin). I want to enable pyton
binding, but it emits link errors.
C:\cygwin\bin\gcc.exe -mno-cygwin -shared -s
../../bindings/python\Release\.\vlc_module.o
../../bindings/python\Release\.\vlc.def -Lc:\Python25\libs
-Lc:\Python25\PCBuild -lpython25 -lmsvcr71 -o
../../bindings/python\lib.win32-2.5\vlc.pyd -L../..\src\.libs
-L/usr/local/lib -g -Wl,--exclude-libs,libunicows.a -lunicows
-L/usr/win32/lib -liconv /usr/win32/lib/libintl.a /usr/win32/lib/libiconv.a
-mwindows -L/usr/win32/lib -lvlc -lvlc-control -Wl,--exclude-libs,
libunicows.a -lunicows -L/usr/win32/lib -liconv /usr/win32/lib/libintl.a
/usr/win32/lib/libiconv.a -mwindows -L/usr/win32/lib
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/bin/ld:
cannot find -lvlc
collect2: ld returned 1 exit status
I looked up the directory -L../..\src\.libs, but I found no files.
libvlc.dll, libvlc.dll.a and libvlc.def was in src directory, but there is
nothing like libvlc-control.dll.
My configuration is like the following.
./bootstrap && \
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 \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--enable-python-bindings \
--enable-debug \
--enable-nls \
--enable-ffmpeg \
--with-ffmpeg-mp3lame \
--with-ffmpeg-faac \
--with-ffmpeg-zlib \
--enable-faad --enable-flac \
--enable-theora \
--enable-twolame \
--enable-sdl --with-sdl-config-path=/usr/win32/bin \
--enable-live555 --with-live555-tree=/usr/win32/live.com \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--disable-dvdnav \
--disable-visual \
--disable-activex \
--disable-cdda \
--disable-libcdio \
--disable-libcddb \
--disable-vcd \
--disable-smb
Thanks,
Kwang Yul Seo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070427/c72b42cf/attachment.html>
More information about the vlc-devel
mailing list