libvlc.dll.exe [resolved]

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.
g6r6e6g
New Cone
New Cone
Posts: 8
Joined: 05 May 2008 16:39

libvlc.dll.exe [resolved]

Postby g6r6e6g » 05 May 2008 17:07

Hello to all community,

I m trying to compile vlc 0.8.6e, my config is :
- Sources
vlc-0.8.6e.tar.gz
contrib-0.8.6e-gcc-3.4.5-only.tar.bz2
- Windows Vista
- Cygwin env.
Archive
5.52-2 unzip (recommended: goes hand in hand with zip utility)
2.23-2 zip (required: to make self contained zip packages)
Devel
2.1 automake (at least 1.5 is required)
20060817-1 binutils (autoselected)
1.11.22-1 cvs (required for autopoint)
3.4.4-3 gcc-core (autoselected)
3.4.4-3 gcc-g++
20040810-1 gcc-mingw
20050522-1 gcc-mingw-core (autoselected)
20050522-1 gcc-mingw-g++ (autoselected)
6.8-2 gdb (optional: for debugging purposes)
0.15-1 gettext (autoselected)
0.15-1 gettext-devel
1.5.5.1-1 git
1.5.27a-1 libtool
3.81-2 make
3.13-1 mingw-runtime (autoselected)
2.02-1 nasm (optional: for compiling x264 encoder)
0.2.31-1 patchutils (optional: for patching source files with .diff files)
0.23a-1 pkgconfig (recommended: otherwise ./configure will complain about accuracy)
1.4.5-2 subversion

then I compile :

Code: Select all

export CONTRIBS=/usr/win32-branch export PATH=${CONTRIBS}/bin:$PATH ./bootstrap export PKG_CONFIG_PATH=$CONTRIBS/lib/pkgconfig \ CPPFLAGS="-I$CONTRIBS/include -I$CONTRIBS/include/ebml" CXXCPP=$CPPFLAGS \ LDFLAGS=-L$CONTRIBS/lib \ CC='gcc -mno-cygwin' CXX='g++ -mno-cygwin' ./configure \ --disable-gtk \ --enable-nls --enable-sdl --with-sdl-config-path=$CONTRIBS/bin \ --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \ --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \ --with-wx-config-path=$CONTRIBS/bin \ --with-freetype-config-path=$CONTRIBS/bin \ --with-fribidi-config-path=$CONTRIBS/bin \ --enable-live555 --with-live555-tree=$CONTRIBS/live.com \ --enable-caca --with-caca-config-path=$CONTRIBS/bin \ --with-xml2-config-path=$CONTRIBS/bin \ --with-dvdnav-config-path=$CONTRIBS/bin \ --disable-cddax --disable-vcdx --enable-goom \ --enable-twolame --enable-dvdread \ --enable-debug \ --disable-mkv \ --enable-shared-libvlc \ --enable-shared \ --enable-shout make make package-win32-base
Compilation is OK

But when I try to run from the /vlc-0.8.6e/vlc.exe, plugins request libvlc.dll.exe loading,

I already seen posts about this problem about libvlc.dll.exe and libtool
but copying libvlc.dll in libvlc.dll.exe is not a good solution because DLL is loaded twice and miniGW compilation is not the "PREFERRED way of building VLC natively" like written in INSTALL.win32

Please, could anyone help me to fix this pb ? another libtool release ? Makefiles updates ?

Thanks in advance.
Have a good day.
Last edited by g6r6e6g on 07 May 2008 18:07, edited 1 time in total.

g6r6e6g
New Cone
New Cone
Posts: 8
Joined: 05 May 2008 16:39

Re: libvlc.dll.exe [resolved]

Postby g6r6e6g » 07 May 2008 18:03

GOOD NEWS !!!

after 3 days of desert-camp into Makefiles, cygwin, mingw and libtool,
I finally found how to restore good linking of VLC.EXE and its plugins with libvlc.dll !!!

You simply have to modify the libtool shell-script generated by configure,

after
./bootstrap
./configure --disable-gtk --enable-nls -- .... --enable-shared-libvlc

you edit the file <vlc_sources_root_dir>/libtool
and you update it like this :

prog)
case $host in
# GREG BEGIN
# *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;;
*cygwin*) output=`$echo $output` ;;
# GREG END
esac
if test -n "$vinfo"; then
$echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
fi

then you go on compilation with :
make

when it s over, run vlc.exe and now libvlc.dll is well loaded !!!!

you can make a objdump -p vlc.exe to check this is well libvlc.dll which was linked with and NOT libvlc.dll.exe

BYE


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 116 guests