VLC 0.7.0 compiling errors

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Eric
New Cone
New Cone
Posts: 9
Joined: 23 Dec 2003 05:08

VLC 0.7.0 compiling errors

Postby Eric » 20 Feb 2004 11:24

I installed a up to day full version, gcc3.3.1, and extracted the contrib-20040106-win32-bin-gcc3.3.1-only.tar.bz2 (the precompiled header files were put to usr/win32), and config the compilation. All steps are successful, but errors occured within making.
The configure is:

./bootstrap && \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--disable-rpath \
--enable-nls \
--disable-dshow \
--disable-sdl \
--enable-ffmpeg --with-ffmpeg-mp3lame \
--enable-faad \
--enable-flac \
--enable-theora \
--disable-skins \
--disable-gtk \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin

Errors:

mkv.cpp: In function `int Open(vlc_object_t*)':
mkv.cpp:376: warning: int format, different type arg (arg 5)
mkv.cpp:594: warning: int format, different type arg (arg 5)
mkv.cpp:636: error: no matching function for call to `
libmatroska::KaxCodecPrivate::ReadData(libebml::IOCallback&)'
/usr/win32/include/ebml/EbmlBinary.h:69: error: candidates are: virtual uint64

libebml::EbmlBinary::ReadData(libebml::IOCallback&, libebml::ScopeMode)
mkv.cpp:644: warning: int format, different type arg (arg 5)
mkv.cpp:859: error: no matching function for call to `libmatroska::KaxSeekID::
ReadData(libebml::IOCallback&)'
/usr/win32/include/ebml/EbmlBinary.h:69: error: candidates are: virtual uint64

libebml::EbmlBinary::ReadData(libebml::IOCallback&, libebml::ScopeMode)
mkv.cpp:884: warning: int format, different type arg (arg 5)
mkv.cpp:890: warning: int format, different type arg (arg 5)
mkv.cpp:896: warning: int format, different type arg (arg 5)
mkv.cpp: In function `void Seek(input_thread_t*, long long int, int)':
mkv.cpp:1534: warning: int format, different type arg (arg 5)
mkv.cpp:1609: warning: int format, different type arg (arg 5)
mkv.cpp: In function `void LoadCues(input_thread_t*)':
mkv.cpp:2017: warning: int format, different type arg (arg 5)
mkv.cpp:2017: warning: int format, different type arg (arg 6)
make[4]: *** [libmkv_plugin_a-mkv.o] Error 1
make[4]: Leaving directory `/vlc-0.7.0/modules/demux'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/vlc-0.7.0/modules/demux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/vlc-0.7.0/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/vlc-0.7.0'
make: *** [all] Error 2


Thanks for any help.
Eric

heyhey

Postby heyhey » 20 Feb 2004 21:37

If you can live without Matroska, try adding --disable-mkv to the configure command.

heyhey

Eric
New Cone
New Cone
Posts: 9
Joined: 23 Dec 2003 05:08

Postby Eric » 21 Feb 2004 09:53

Great! It's all ok.
Thanks for your help.
BTW, I found that the volume value is 97, but the scale(blue color) is full. Is it a bug?
hoho.

Eric
New Cone
New Cone
Posts: 9
Joined: 23 Dec 2003 05:08

Postby Eric » 23 Feb 2004 03:03

I canceled the switch --disable-dshow, and then reconfigured the VLC, a warning was shown within the configuring.


checking dvdread/dvd_reader.h usability... yes
checking dvdread/dvd_reader.h presence... yes
checking for dvdread/dvd_reader.h... yes
checking dvdplay/dvdplay.h usability... yes
checking dvdplay/dvdplay.h presence... yes
checking for dvdplay/dvdplay.h... yes
checking dshow.h usability... no
checking dshow.h presence... yes
configure: WARNING: dshow.h: present but cannot be compiled
configure: WARNING: dshow.h: check for missing prerequisite

headers?
configure: WARNING: dshow.h: see the Autoconf documentation
configure: WARNING: dshow.h: section "Present But Cannot Be

Compiled"
configure: WARNING: dshow.h: proceeding with the preprocessor's result
configure: WARNING: dshow.h: in the future, the compiler will take

precedence
configure: WARNING: ## ------------------------------ ##
configure: WARNING: ## Report this to the vlc lists. ##
configure: WARNING: ## ------------------------------ ##
checking for dshow.h... yes
checking for dvbpsi/dr.h... yes
checking for pkg-config... /usr/bin/pkg-config



And, errors occured when making VLC,


/usr/win32/include/d3dtypes.h:1813: warning: ignoring #pragma warning
In file included from /usr/win32/include/dshow.h:48,
from filter.h:45,
from filter.cpp:35:
/usr/win32/include/control.h:2: warning: ignoring #pragma warning
filter.cpp: In member function `virtual ULONG CapturePin::AddRef()':
filter.cpp:234: warning: int format, long int arg (arg 5)
filter.cpp: In member function `virtual ULONG CapturePin::Release()':
filter.cpp:242: warning: int format, long int arg (arg 5)
filter.cpp: In member function `virtual long int CapturePin::Disconnect()':
filter.cpp:297: warning: unused variable `VLCMediaSample vlc_sample'
filter.cpp:298: warning: unused variable `access_sys_t*p_sys'
filter.cpp: In member function `virtual ULONG CaptureFilter::AddRef()':
filter.cpp:565: warning: int format, long int arg (arg 5)
filter.cpp: In member function `virtual ULONG CaptureFilter::Release()':
filter.cpp:573: warning: int format, long int arg (arg 5)
filter.cpp: In member function `virtual ULONG CaptureEnumPins::AddRef()':
filter.cpp:748: warning: int format, long int arg (arg 5)
filter.cpp: In member function `virtual ULONG CaptureEnumPins::Release()':
filter.cpp:756: warning: int format, long int arg (arg 5)
filter.cpp: In member function `virtual ULONG CaptureEnumMediaTypes::AddRef()':
filter.cpp:874: warning: int format, long int arg (arg 5)
filter.cpp: In member function `virtual ULONG CaptureEnumMediaTypes::Release()
':
filter.cpp:882: warning: int format, long int arg (arg 5)
g++ -mno-cygwin -Wsign-compare -Wsign-compare -Wall -mms-bitfields -finline-limit-30000 -pipe -L/usr/win32/lib -o libdshow_plugin.dll libdshow_plugin_a-dshow.o libdshow_plugin_a-filter.o `top_builddir=../../.. ../../../vlc-config --libs plugin dshow`
libdshow_plugin_a-filter.o(.bss+0x0):filter.cpp: multiple definition of `_QACONTAINERFLAGS'
libdshow_plugin_a-dshow.o(.bss+0x0):dshow.cpp: first defined here
collect2: ld returned 1 exit status
make[6]: *** [libdshow_plugin.dll] Error 1
make[6]: Leaving directory `/vlc-0.7.0/modules/access/dshow'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/vlc-0.7.0/modules/access/dshow'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/vlc-0.7.0/modules/access'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/vlc-0.7.0/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/vlc-0.7.0/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/vlc-0.7.0'
make: *** [all] Error 2


I wonder:
1. How can I solve this problem to enable the directshow?
2. What I need to do to enable the Matroska?
3. Why errors shown when compiling VLC according to INSTALL.win32?

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 23 Feb 2004 14:17

The directshow problem is fixed in the development version of vlc (CVS).
The problem is actually a bug in the new version of mingw's w32api but we managed to find a work-around for it.

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 24 Feb 2004 02:04

And you either need a newer or an older version of matroska.

There was a change in it's API.
Don't use PMs for support questions.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 17 guests