Compiling VLC with Cygwin

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
hieunguyennz
New Cone
New Cone
Posts: 8
Joined: 05 Jun 2007 04:53
Contact:

Compiling VLC with Cygwin

Postby hieunguyennz » 05 Jun 2007 05:03

I am recently doing a project about vlc and i got some problem for my kicking start ...

if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=l
ng -DSYS_MINGW32 -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin dtstospdif` -Wsign-compare
Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -MT libdtstospdif_plugin_a-dtstospdif.o -MD -MP -M
".deps/libdtstospdif_plugin_a-dtstospdif.Tpo" \
-c -o libdtstospdif_plugin_a-dtstospdif.o `test -f 'dtstospdif.c' || echo './'`dtstospdif.c; \
then mv -f ".deps/libdtstospdif_plugin_a-dtstospdif.Tpo" ".deps/libdtstospdif_plugin_a-dtstospdif.Po"; \
else rm -f ".deps/libdtstospdif_plugin_a-dtstospdif.Tpo"; exit 1; \
fi
rm -f libdtstospdif_plugin.a
ar cru libdtstospdif_plugin.a libdtstospdif_plugin_a-dtstospdif.o
ranlib libdtstospdif_plugin.a
/bin/sh ../../../libtool --mode=link gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mm
-bitfields -pipe -L/usr/win32/lib -o libdtstospdif_plugin.dll libdtstospdif_plugin.a -L/usr/local/lib -shared -u _vlc_entry_
0_8_6
gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -o libdtstospdif_pl
gin.dll.exe -shared -u _vlc_entry__0_8_6 -L/usr/win32/lib libdtstospdif_plugin.a -L/usr/local/lib
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=l
ng -DSYS_MINGW32 -I../../../include `top_builddir="../../.." ../../../vlc-config --cflags plugin dtstofloat32` -Wsign-compar
-Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -MT libdtstofloat32_plugin_a-dtstofloat32.o -MD
MP -MF ".deps/libdtstofloat32_plugin_a-dtstofloat32.Tpo" \
-c -o libdtstofloat32_plugin_a-dtstofloat32.o `test -f 'dtstofloat32.c' || echo './'`dtstofloat32.c; \
then mv -f ".deps/libdtstofloat32_plugin_a-dtstofloat32.Tpo" ".deps/libdtstofloat32_plugin_a-dtstofloat32.Po"; \
else rm -f ".deps/libdtstofloat32_plugin_a-dtstofloat32.Tpo"; exit 1; \
fi
rm -f libdtstofloat32_plugin.a
ar cru libdtstofloat32_plugin.a libdtstofloat32_plugin_a-dtstofloat32.o
ranlib libdtstofloat32_plugin.a
/bin/sh ../../../libtool --mode=link gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mm
-bitfields -pipe -L/usr/win32/lib -o libdtstofloat32_plugin.dll libdtstofloat32_plugin.a -L/usr/local/lib -shared -ldts_pic
L/usr/win32/libdts -u _vlc_entry__0_8_6
gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -o libdtstofloat32_
lugin.dll.exe -shared -u _vlc_entry__0_8_6 -L/usr/win32/lib libdtstofloat32_plugin.a -L/usr/local/lib -ldts_pic -L/usr/win3
/libdts
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x47b): undefined reference to `_dca
init'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x74c): undefined reference to `_dca
syncinfo'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x7cf): undefined reference to `_dca
frame'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x859): undefined reference to `_dca
blocks_num'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x86e): undefined reference to `_dca
block'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0x881): undefined reference to `_dca
samples'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0xa73): undefined reference to `_dca
blocks_num'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0xaf4): undefined reference to `_dca
free'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o):dtstofloat32.c:(.text+0xca4): undefined reference to `_dca
free'
collect2: ld returned 1 exit status
make[6]: *** [libdtstofloat32_plugin.dll] Error 1
make[6]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/audio_filter/converter'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/audio_filter/converter'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/audio_filter'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/audio_filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/HIEU/vlc-0.8.6b'
make: *** [all] Error 2

When i active --disable-dts or --disable-plugin i got also similar error type occur ...I already try install every devel in cygwin here is my current configure file

#!/bin/bash
./bootstrap && \
PATH=/usr/win32:$PATH \
PKG_CONFIG=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml " \
CFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml " \
LDFLAGS=-L/usr/win32/lib \
LIBS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--disable-gtk \
--enable-nls \
--enable-dts \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-dts-tree=/usr/win32 \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-caca --with-caca-config-path =/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--without-contrib
--enable-debug \

pls help me out of this ... thanx ... my goal for few month is to develop a plugin for VLC using visual-studio 2005 ...

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 05 Jun 2007 09:51

are you sure there is no confusion between libdca and libdts (libdca is the new name of libdts)
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

hieunguyennz
New Cone
New Cone
Posts: 8
Joined: 05 Jun 2007 04:53
Contact:

compile problem ...

Postby hieunguyennz » 06 Jun 2007 11:53

i tried to change the name of the libs between libdts.a and libdca.a but it didn't work. It is never read libdts.a at all i think ... Please give me some more direction to overcome this.

rm -f libcinepak_plugin.a
ar cru libcinepak_plugin.a libcinepak_plugin_a-cinepak.o
ranlib libcinepak_plugin.a
/bin/sh ../../libtool --mode=link gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bi
tfields -pipe -L/usr/win32/lib -o libcinepak_plugin.dll libcinepak_plugin.a -L/usr/local/lib -shared -u _vlc_entry__0_8_6
gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -o libcinepak_plugin
.dll.exe -shared -u _vlc_entry__0_8_6 -L/usr/win32/lib libcinepak_plugin.a -L/usr/local/lib
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=long
-DSYS_MINGW32 -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin dts` -Wsign-compare -Wall -I/usr/win32/i
nclude -I/usr/win32/include/ebml -mms-bitfields -pipe -MT libdts_plugin_a-dts.o -MD -MP -MF ".deps/libdts_plugin_a-dts.Tpo"
\
-c -o libdts_plugin_a-dts.o `test -f 'dts.c' || echo './'`dts.c; \
then mv -f ".deps/libdts_plugin_a-dts.Tpo" ".deps/libdts_plugin_a-dts.Po"; \
else rm -f ".deps/libdts_plugin_a-dts.Tpo"; exit 1; \
fi
rm -f libdts_plugin.a
ar cru libdts_plugin.a libdts_plugin_a-dts.o
ranlib libdts_plugin.a
/bin/sh ../../libtool --mode=link gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bi
tfields -pipe -L/usr/win32/lib -o libdts_plugin.dll libdts_plugin.a -L/usr/local/lib -shared -u _vlc_entry__0_8_6
gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -o libdts_plugin.dll
.exe -shared -u _vlc_entry__0_8_6 -L/usr/win32/lib libdts_plugin.a -L/usr/local/lib
if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=long
-DSYS_MINGW32 -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin flacdec` -Wsign-compare -Wall -I/usr/win
32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -MT libflacdec_plugin_a-flac.o -MD -MP -MF ".deps/libflacdec_plugi
n_a-flac.Tpo" \
-c -o libflacdec_plugin_a-flac.o `test -f 'flac.c' || echo './'`flac.c; \
then mv -f ".deps/libflacdec_plugin_a-flac.Tpo" ".deps/libflacdec_plugin_a-flac.Po"; \
else rm -f ".deps/libflacdec_plugin_a-flac.Tpo"; exit 1; \
fi
flac.c: In function `OpenDecoder':
flac.c:228: warning: implicit declaration of function `FLAC__stream_decoder_set_read_callback'
flac.c:230: warning: implicit declaration of function `FLAC__stream_decoder_set_write_callback'
flac.c:232: warning: implicit declaration of function `FLAC__stream_decoder_set_metadata_callback'
flac.c:234: warning: implicit declaration of function `FLAC__stream_decoder_set_error_callback'
flac.c:236: warning: implicit declaration of function `FLAC__stream_decoder_set_client_data'
flac.c:238: warning: implicit declaration of function `FLAC__stream_decoder_init'
flac.c: In function `decoder_state_error':
flac.c:740: error: `FLAC__STREAM_DECODER_UNPARSEABLE_STREAM' undeclared (first use in this function)
flac.c:740: error: (Each undeclared identifier is reported only once
flac.c:740: error: for each function it appears in.)
flac.c:747: error: `FLAC__STREAM_DECODER_ALREADY_INITIALIZED' undeclared (first use in this function)
flac.c:752: error: `FLAC__STREAM_DECODER_INVALID_CALLBACK' undeclared (first use in this function)
flac.c: In function `OpenEncoder':
flac.c:1200: warning: implicit declaration of function `FLAC__stream_encoder_set_write_callback'
flac.c:1202: warning: implicit declaration of function `FLAC__stream_encoder_set_metadata_callback'
flac.c:1204: warning: implicit declaration of function `FLAC__stream_encoder_set_client_data'
flac.c:1208: warning: implicit declaration of function `FLAC__stream_encoder_init'
make[4]: *** [libflacdec_plugin_a-flac.o] Error 1
make[4]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/codec'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/HIEU/vlc-0.8.6b'
make: *** [all] Error 2

And this is another problem when i try to take out the --enable-DTS and --with-dts-tree in configure-vlc line.

Thanx ... ... for compiler everything is the lastest version in Cygwin: gcc-core, gcc-g++, gcc-mingw, gcc-mingw=core, gcc-mingw-g++ etc...
And i also got the problem when loading svn, it is say that can not find the host ...

Thanx ...

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 06 Jun 2007 12:46

Flac version is not the good one. try 1.1.3
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

hieunguyennz
New Cone
New Cone
Posts: 8
Joined: 05 Jun 2007 04:53
Contact:

problem with _access

Postby hieunguyennz » 12 Jun 2007 11:54

I manage the first 2 problems and still got the last to finish compiling all my modules

make[3]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/access'
make[2]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/access'
make[1]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/access'
Making all in access_filter
make[1]: Entering directory `/home/HIEU/vlc-0.8.6b/modules/access_filter'
make[2]: Entering directory `/home/HIEU/vlc-0.8.6b/modules/access_filter'
make[2]: `libaccess_filter_timeshift_plugin.dll' is up to date.
make[2]: `libaccess_filter_record_plugin.dll' is up to date.
/bin/sh ../../libtool --mode=link gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bi
tfields -pipe -L/usr/win32/lib -o libaccess_filter_dump_plugin.dll libaccess_filter_dump_plugin.a -L/usr/local/lib -shared -u
_vlc_entry__0_8_6
gcc -mno-cygwin -Wsign-compare -Wall -I/usr/win32/include -I/usr/win32/include/ebml -mms-bitfields -pipe -o libaccess_filter_
dump_plugin.dll.exe -shared -u _vlc_entry__0_8_6 -L/usr/win32/lib libaccess_filter_dump_plugin.a -L/usr/local/lib
libaccess_filter_dump_plugin.a(libaccess_filter_dump_plugin_a-dump.o):dump.c:(.text+0x7af): undefined reference to `_assert'
collect2: ld returned 1 exit status
make[2]: *** [libaccess_filter_dump_plugin.dll] Error 1
make[2]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/access_filter'
make[1]: *** [all-modules] Error 1
make[1]: Leaving directory `/home/HIEU/vlc-0.8.6b/modules/access_filter'
make: *** [all-recursive] Error 1

Please give me ur reference, thanx...

hieunguyennz
New Cone
New Cone
Posts: 8
Joined: 05 Jun 2007 04:53
Contact:

Problem with dshow

Postby hieunguyennz » 15 Jun 2007 04:39

/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_deque.h:1315: error: template with C linkage
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_deque.h:1326: error: template with C linkage
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_deque.h:1336: error: template with C linkage
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_deque.h:1342: error: template with C linkage
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_deque.h:1363: error: template with C linkage
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_deque.h:1445: error: template with C linkage
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_deque.h:1463: error: template with C linkage
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_deque.h:1471: error: template with C linkage
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_deque.h:1478: error: template with C linkage
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_deque.h:1485: error: template with C linkage
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_deque.h:1492: error: template with C linkage
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_deque.h:1498: error: template with C linkage
In file included from /usr/win32/include/dshow.h:35,
from common.h:48,
from dshow.cpp:36:
/usr/win32/include/ddraw.h:14: warning: ignoring #pragma warning
In file included from /usr/win32/include/dshow.h:35,
from common.h:48,
from dshow.cpp:36:
/usr/win32/include/ddraw.h:5552: warning: ignoring #pragma warning
In file included from /usr/win32/include/dshow.h:45,
from common.h:48,
from dshow.cpp:36:
/usr/win32/include/strmif.h:2: warning: ignoring #pragma warning
In file included from /usr/win32/include/dsound.h:13,
from /usr/win32/include/amaudio.h:18,
from /usr/win32/include/dshow.h:47,
from common.h:48,
from dshow.cpp:36:
/usr/win32/include/d3dtypes.h:22: warning: ignoring #pragma warning
/usr/win32/include/d3dtypes.h:1813: warning: ignoring #pragma warning
In file included from /usr/win32/include/dshow.h:48,
from common.h:48,
from dshow.cpp:36:
/usr/win32/include/control.h:2: warning: ignoring #pragma warning
dshow.cpp:2087: error: expected `}' at end of input
make[6]: *** [libdshow_plugin_a-dshow.o] Error 1
make[5]: *** [all-modules] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

This is my new problem ... grin ... still try to make it run ... ... grin

Thanx...

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 15 Jun 2007 10:42

What is your compiler version ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

hieunguyennz
New Cone
New Cone
Posts: 8
Joined: 05 Jun 2007 04:53
Contact:

Yeah ... it start running

Postby hieunguyennz » 19 Jun 2007 04:03

I am using labtop IBM R51

... the problem with the first the _assert was because i copy the assert.h ... duplicating in my win32 and my user while the user is the correct one and the win32 is for another modules not for libaccess_filter

The flac ... i think the package win32 are different version with vlc0.8.6b so i try to use the flac in the cygwin v1.1.2 and it matching

In order to compile i change the version of running cygwin and compiler into version 3.3.3 and 20040801 ...

The problem i still have but i disable it is:
--disable-dshow --disable-dts --disable-vlc --disable-cdda --disable-wxwidgets

Other part using svn to install suck as ffmpeg i also take out so it running at minimum ...

Correct if i wrong, dshow is it for the subtitle ? ... dts is for sound right ? and wxwidgets is that one for the interface ?

My next goal is to try to understand the plug-in in VLC and how to put a x264.dll compile by visual basic into VLC

i think i should put in in the new topic ... grin

Trollslayer
Blank Cone
Blank Cone
Posts: 26
Joined: 19 Jun 2007 02:50
Location: Bristol, UK

Postby Trollslayer » 23 Jun 2007 14:07

What is your compiler version ?
I am having the same problems with the current version of Cygwin, GCC 3.4.4.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Postby Jean-Baptiste Kempf » 23 Jun 2007 14:18

Can you come on IRC to chat with Trax ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Trollslayer
Blank Cone
Blank Cone
Posts: 26
Joined: 19 Jun 2007 02:50
Location: Bristol, UK

Postby Trollslayer » 23 Jun 2007 14:27

Can you come on IRC to chat with Trax ?
I am trying a few different options, will post another reply when I have a set of results.

Trollslayer
Blank Cone
Blank Cone
Posts: 26
Joined: 19 Jun 2007 02:50
Location: Bristol, UK

Postby Trollslayer » 23 Jun 2007 17:18

Can you come on IRC to chat with Trax ?
I have got it to build using the nightly build (vlc-snapshot-branch-0.8.6-bugfix-20070618.tar.tar) and the contribution package (contrib-20070530-win32-bin-gcc-3.4.5-only.tar.bz2) and Cywgin with gcc 3.4.4 and the following script from the Win32Compile Wkiki page:
./bootstrap && \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--enable-sdl --with-sdl-config-path=/usr/win32/bin --disable-gtk \
--enable-nls \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac--enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-live555 --with-live555-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--disable-gnomevfs \
--disable-dts \
--enable-debug \

Then run make.

If DTS is enabled then I get the following error:
rm -f libdtstofloat32_plugin.a
ar cru libdtstofloat32_plugin.a libdtstofloat32_plugin_a-dtstofloat32.o
ranlib libdtstofloat32_plugin.a
/bin/sh ../../../libtool --mode=link gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/win32/lib -o libdtstofloat32_plugin.dll libdtstofloat32_plugin.a -L/usr/local/lib -g -shared -ldts_pic -u _vlc_entry__0_8_6
gcc -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -o libdtstofloat32_plugin.dll.exe -g -shared -u _vlc_entry__0_8_6 -L/usr/win32/lib libdtstofloat32_plugin.a -L/usr/local/lib -ldts_pic
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o): In function `Open':
/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:219: undefined reference to `_dca_init'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o): In function `DoWork':
/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:303: undefined reference to `_dca_syncinfo'
/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:312: undefined reference to `_dca_frame'
/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:331: undefined reference to `_dca_blocks_num'
/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:335: undefined reference to `_dca_block'
/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:341: undefined reference to `_dca_samples'
/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:331: undefined reference to `_dca_blocks_num'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o): In function `Destroy':
/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:376: undefined reference to `_dca_free'
libdtstofloat32_plugin.a(libdtstofloat32_plugin_a-dtstofloat32.o): In function `CloseFilter':
/vlc-0.8.6c/modules/audio_filter/converter/dtstofloat32.c:430: undefined reference to `_dca_free'
collect2: ld returned 1 exit status
make[6]: *** [libdtstofloat32_plugin.dll] Error 1
make[6]: Leaving directory `/vlc-0.8.6c/modules/audio_filter/converter'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/vlc-0.8.6c/modules/audio_filter/converter'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/vlc-0.8.6c/modules/audio_filter'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/vlc-0.8.6c/modules/audio_filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/vlc-0.8.6c/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/vlc-0.8.6c'
make: *** [all] Error 2


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 64 guests