Code: Select all
./toolbox --distclean
./bootstrap
CONTRIB_TREE=/usr/win32 \
PATH=${CONTRIB_TREE}/bin:$PATH \
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=${CONTRIB_TREE}/bin \
--disable-gtk \
--disable-mkv \
--enable-nls \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-zlib \
--enable-faad \
--enable-flac \
--enable-theora \
--with-wx-config-path=${CONTRIB_TREE}/bin \
--with-freetype-config-path=${CONTRIB_TREE}/bin \
--with-fribidi-config-path=${CONTRIB_TREE}/bin \
--enable-live555 --with-live555-tree=${CONTRIB_TREE}/live.com \
--enable-caca --with-caca-config-path=${CONTRIB_TREE}/bin \
--with-xml2-config-path=${CONTRIB_TREE}/bin \
--with-dvdnav-config-path=${CONTRIB_TREE}/bin \
--disable-cddax \
--disable-vcdx \
--enable-goom \
--disable-gnomevfs \
--enable-x264 \
--enable-optimizations \
--enable-release \
--enable-sse --enable-mmx \
--disable-dvdread \
--disable-freetype \
--disable-fribidi \
--disable-httpd \
--disable-activex \
--disable-mozilla \
--disable-x11 \
--disable-xvideo \
--disable-glx \
--disable-xinerama \
--disable-directfb \
--disable-skins2 \
--disable-oss \
--disable-alsa \
--enable-waveout \
--disable-macosx-audio \
--enable-wxwidgets \
--enable-wingdi \
--disable-dca \
--disable-xosd \
--disable-hal \
--disable-update-check
Oooo yeah it almost did itmake[2]: Entering directory `/cygdrive/d/VLCx264/vlc'
/bin/sh ./libtool --tag=CXX --mode=link g++ -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -L/usr/win32/lib -o vlc.exe vlc-vlc.o share/vlc_win32_rc.o src/libvlc.a ./modules/misc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a ./modules/video_chroma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules/video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc/memcpy/libmemcpy3dn.a ./modules/demux/liblive555.a ./modules/mux/mpeg/libmux_ts.a -L/usr/local/lib -Wl,--exclude-libs,libunicows.a -lunicows -lkernel32 -L/usr/win32/lib -liconv -L/home/videolan/jb/0.8.6-bugfix/extras/contrib/lib /usr/win32/lib/libintl.a -L/home/videolan/jb/0.8.6-bugfix/extras/contrib/lib /home/videolan/jb/0.8.6-bugfix/extras/contrib/lib/libiconv.a -lws2_32 -lnetapi32 -lwinmm -mwindows -L/usr/win32/lib -L/live.com/UsageEnvironment -lUsageEnvironment -L/live.com/groupsock -lgroupsock -L/live.com/BasicUsageEnvironment -lBasicUsageEnvironment -L/live.com/liveMedia -lliveMedia -lws2_32 -ldvbpsi
g++ -mno-cygwin -Wsign-compare -Wall -mms-bitfields -pipe -o vlc.exe vlc-vlc.o share/vlc_win32_rc.o -Wl,--exclude-libs -Wl,libunicows.a -mwindows -L/usr/win32/lib src/libvlc.a ./modules/misc/memcpy/libmemcpymmx.a ./modules/video_chroma/libi420_rgb_mmx.a ./modules/video_chroma/libi422_yuy2_mmx.a ./modules/video_chroma/libi420_ymga_mmx.a ./modules/video_chroma/libi420_yuy2_mmx.a ./modules/misc/memcpy/libmemcpymmxext.a ./modules/misc/memcpy/libmemcpy3dn.a ./modules/demux/liblive555.a ./modules/mux/mpeg/libmux_ts.a -L/usr/local/lib -lunicows -lkernel32 -L/home/videolan/jb/0.8.6-bugfix/extras/contrib/lib /usr/win32/lib/libintl.a /home/videolan/jb/0.8.6-bugfix/extras/contrib/lib/libiconv.a -lnetapi32 -lwinmm -L/live.com/UsageEnvironment -lUsageEnvironment -L/live.com/groupsock -lgroupsock -L/live.com/BasicUsageEnvironment -lBasicUsageEnvironment -L/live.com/liveMedia -lliveMedia -lws2_32 /home/videolan/jb/0.8.6-bugfix/extras/contrib/lib/libdvbpsi.a
src/libvlc.a(libvlc_a-libvlc.o):libvlc.c:(.text+0xaadd): undefined reference to `_announce_HandlerDestroy'
src/libvlc.a(libvlc_a-unicode.o):unicode.c:(.text+0x16): undefined reference to `_vlc_current_charset'
src/libvlc.a(libvlc_a-configuration.o):configuration.c:(.text+0x1f7e): undefined reference to `_i18n_atof'
src/libvlc.a(libvlc_a-modules.o):modules.c:(.text+0x518): undefined reference to `_vlc_current_charset'
src/libvlc.a(libvlc_a-modules.o):modules.c:(.text+0x830): undefined reference to `_sout_AnnounceRegister'
src/libvlc.a(libvlc_a-modules.o):modules.c:(.text+0x83b): undefined reference to `_sout_AnnounceRegisterSDP'
src/libvlc.a(libvlc_a-modules.o):modules.c:(.text+0x846): undefined reference to `_sout_AnnounceUnRegister'
src/libvlc.a(libvlc_a-modules.o):modules.c:(.text+0x851): undefined reference to `_sout_AnnounceSessionCreate'
src/libvlc.a(libvlc_a-modules.o):modules.c:(.text+0x85c): undefined reference to `_sout_AnnounceSessionDestroy'
src/libvlc.a(libvlc_a-modules.o):modules.c:(.text+0x867): undefined reference to `_sout_AnnounceMethodCreate'
src/libvlc.a(libvlc_a-modules.o):modules.c:(.text+0x1354): undefined reference to `___vlc_fix_readdir_charset'
src/libvlc.a(libvlc_a-modules.o):modules.c:(.text+0x16fb): undefined reference to `_us_atof'
src/libvlc.a(libvlc_a-modules.o):modules.c:(.text+0x1706): undefined reference to `_us_strtod'
src/libvlc.a(libvlc_a-modules.o):modules.c:(.text+0x175b): undefined reference to `_GetFallbackEncoding'
src/libvlc.a(libvlc_a-vlm.o):vlm.c:(.text+0x194c): undefined reference to `_i18n_atof'
src/libvlc.a(libvlc_a-subtitles.o):subtitles.c:(.text+0x4e7): undefined reference to `___vlc_fix_readdir_charset'
collect2: ld returned 1 exit status
make[2]: *** [vlc.exe] Error 1
make[2]: Leaving directory `/cygdrive/d/VLCx264/vlc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/d/VLCx264/vlc'
make: *** [all] Error 2
... So I created the tree /home/videolan/jb/vlc-trunk-0.90/extras and made a symbolic link 'contrib' which points to /usr/win32 ...libtool: link: warning: library '/usr/win32/lib/libdvdnav.la' was moved.
libtool: link: warning: library '/usr/win32/lib/libdvdread.la' was moved.
libtool: link: warning: library '/usr/win32/lib/libdvdcss.la' was moved.
libtool: link: warning: library '/usr/win32/lib/libdvdnav.la' was moved.
libtool: link: cannot find the library '/home/videolan/jb/vlc-trunk-0.90/extras/contrib/lib/libdvdread.la' or unhandled argument '/home/videolan/jb/vlc-trunk-0.90/extras/contrib/lib/libdvdread.la'
make: *** [all] Error 2
Code: Select all
CONTRIB_TREE=/usr/win32 \
PATH=${CONTRIB_TREE}/bin:$PATH \
CPPFLAGS="-I${CONTRIB_TREE}/include -I${CONTRIB_TREE}/include/ebml" \
LDFLAGS=-L${CONTRIB_TREE}/lib \
PKG_CONFIG_PATH=${CONTRIB_TREE}/lib/pkgconfig \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--enable-sdl --with-sdl-config-path=${CONTRIB_TREE}/bin \
--disable-gtk \
--enable-nls \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-zlib \
--enable-faad \
--disable-flac \
--enable-theora \
--with-wx-config-path=${CONTRIB_TREE}/bin \
--with-freetype-config-path=${CONTRIB_TREE}/bin \
--with-fribidi-config-path=${CONTRIB_TREE}/bin \
--disable-live555 \
--enable-caca --with-caca-config-path=${CONTRIB_TREE}/bin \
--with-xml2-config-path=${CONTRIB_TREE}/bin \
--with-dvdnav-config-path=${CONTRIB_TREE}/bin \
--disable-cddax \
--disable-vcdx \
--enable-goom \
--disable-gnomevfs \
--enable-x264 \
--enable-optimizations \
--enable-release \
--enable-sse --enable-mmx \
--disable-dvdread \
--disable-freetype \
--disable-fribidi \
--disable-httpd \
--disable-activex \
--disable-mozilla \
--disable-x11 \
--disable-xvideo \
--disable-glx \
--disable-xinerama \
--disable-directfb \
--disable-skins2 \
--disable-oss \
--disable-alsa \
--enable-waveout \
--disable-macosx-audio \
--enable-wxwidgets \
--enable-wingdi \
--disable-dca \
--disable-xosd \
--disable-hal \
--disable-update-check \
--enable-sout
I can do that.
What are the differenceS?
Code: Select all
In file included from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:54,
from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/postyp
es.h:46,
from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iosfwd:50,
from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_al
gobase.h:70,
from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/vector:67,
from utils.h:28,
from main.cpp:24:
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/wchar.h:4
19: error: `off_t' does not name a type
make[3]: *** [libaxvlc_a-main.o] Error 1
make[3]: Leaving directory `/home/vlc-0.8.6e/activex'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/vlc-0.8.6e/activex'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vlc-0.8.6e'
make: *** [all] Error 2
HiI have the same issues with vlc-0.8.6e.
1. Cygwin stops compile until comment out stat.h in
modules/access_output/file.c , modules/access_output/udp.c , modules/mux/mpeg/pes.c
2. I have no ideas about this error:Looks like cygwin issue. I had the same error with vlc-0.8.6d sources after fixing stat.h errors and etc.Code: Select all
In file included from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/cwchar:54, from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/postyp es.h:46, from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iosfwd:50, from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/bits/stl_al gobase.h:70, from /usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/vector:67, from utils.h:28, from main.cpp:24: /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/wchar.h:4 19: error: `off_t' does not name a type make[3]: *** [libaxvlc_a-main.o] Error 1 make[3]: Leaving directory `/home/vlc-0.8.6e/activex' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/vlc-0.8.6e/activex' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vlc-0.8.6e' make: *** [all] Error 2
I'm working on video on demand system http://wiki.ouwu.com:8080/display/pb/Video+on+Demand and want to add registry key "vlcstream" to vlc install script. AFAIK it refers to NSIS script, but I have to build vlc release before make changes to NSIS script.
Could anyone help me?
-----------------------------
Sorry, I didn't see previous message, yes it was off_t error in cygwin. I have compiled vlc after fixing the types.h file.
But I have downloaded vlc-0.8.6e-win32.zip file unpack it and have found that I really don't
need to recompile all of project. All I have to do - edit vlc.win32.nsi file
and then make executable setup by NSIS.
Return to “General VLC media player Troubleshooting”
Users browsing this forum: No registered users and 21 guests