Windows Crash

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
davidhoyt
Blank Cone
Blank Cone
Posts: 68
Joined: 02 May 2008 03:26

Windows Crash

Postby davidhoyt » 24 Oct 2008 21:32

I'm attempting to cross-compile the absolute latest source (as of 20 min. ago) using Ubuntu 8.04 (hardy heron). I can get things to compile fine. When I run the linux compile, it works just fine. But under Windows it crashes every time in a call from libvlccore.dll to msvcrt.dll. I don't have much more to go on, because I'm not given much. Here's how I'm compiling it (it's in release mode):

1. Download the source using git

2. Install the latest contribs from: http://people.videolan.org/~jb/Contribs/
  • Don't use the link they provide you in the developer's wiki. Those contribs are old and won't work with the latest source.
  • sudo tar jxf <contrib file here> -C /
3. ./bootstrap

4. Create a configuration file named configure-vlc-windows.sh

5. Put the following in configure-vlc-windows.sh:

Code: Select all

export CONTRIBS=/usr/win32 export PREFIX=/work/vlc/compiled/windows-x86-latest/ export PKG_CONFIG_PATH=$CONTRIBS/lib/pkgconfig export CPPFLAGS="-I$CONTRIBS/include -I$CONTRIBS/include/ebml" export LDFLAGS=-L$CONTRIBS/lib ./configure \ --host=i586-mingw32msvc \ --prefix=$PREFIX \ --build=i386-linux \ --enable-mkv \ --enable-release \ --without-contrib \ --enable-nls \ --enable-shared-libvlc \ --enable-lua \ --enable-faad \ --enable-flac \ --enable-theora \ --enable-twolame \ --enable-quicktime \ --enable-real \ --enable-realrtsp \ --enable-ffmpeg \ --with-ffmpeg-mp3lame \ --with-ffmpeg-faac \ --with-ffmpeg-config-path=/usr/win32/bin \ --with-ffmpeg-zlib \ --enable-live555 \ --with-live555-tree=/usr/win32/live.com \ --disable-libgcrypt \ --disable-remoteosd \ --disable-cddax \ --disable-vcdx \ --disable-goom \ --disable-dvdread \ --disable-dvdnav \ --disable-sdl \ --disable-bonjour \
6. chmod u+x configure-vlc-windows.sh

7. ./configure-vlc-windows.sh

8. ./compile

9. make package-win32-base

Thanks for any help you can provide!

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:

Re: Windows Crash

Postby Jean-Baptiste Kempf » 25 Oct 2008 05:02

what msvcrt.dll version do you have?
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.

davidhoyt
Blank Cone
Blank Cone
Posts: 68
Joined: 02 May 2008 03:26

Re: Windows Crash

Postby davidhoyt » 28 Oct 2008 00:09

It works fine on the latest build I download from the nightlies, but not when I compile and run it myself. It's version 7.0.2600.5512.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Windows Crash

Postby Rémi Denis-Courmont » 28 Oct 2008 18:03

It's fairly impossible to debug without debug infos (and yes, it's difficult to get these on Windows).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 16 guests