Problem when compiling VLC under Cygwin, Window can't pop up

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.
heaven
New Cone
New Cone
Posts: 5
Joined: 02 Mar 2009 10:29

Problem when compiling VLC under Cygwin, Window can't pop up

Postby heaven » 04 Mar 2009 03:48

I complied the source of vlc-0.9.8a under the instruction of "Win32CompileCygwinNew"http://wiki.videolan.org/Win32CompileCygwinNew.
After making package-win32-base, I got the vlc-0.9.8a folder with out "plugins","skins","http","osdmenu" subfolder and vlc.exe.manifest file what I used to got when compiling vlc-0.9.0.

vlc.exe can't pop it's window up when double clicked or called under command line. But the vlc.exe process was listed in TaskManager after that. I can just end the process by kill it in TaskManager.

Please help me~. I have been botherd with this problem for several days...
Thank you

These are the files and folders I got after making package-win32-base.
AUTHORS.txt NEWS.txt activex locale
COPYING.txt README.txt libvlc.dll vlc.exe
MAINTAINERS.txt THANKS.txt libvlccore.dll vlc48x48.ico
This is the configure-vlc.sh file I used

Code: Select all

PATH=/usr/win32/bin:$PATH \ PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \ CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \ LDFLAGS=-L/usr/win32/lib \ CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \ ./configure \ --host=i686-pc-mingw32 \ --disable-gtk \ --enable-nls --enable-sdl --with-sdl-config-path=/usr/win32/bin \ --enable-avcodec --enable-avformat --enable-swscale \ --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 \ --enable-debug --enable-dca \ --disable-mkv --disable-taglib \ --disable-optimizations --enable-debug \ --disable-zvbi \ --enable-qt4

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: Problem when compiling VLC under Cygwin, Window can't pop up

Postby Jean-Baptiste Kempf » 04 Mar 2009 08:39

Don't you have a plugin folder?
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.

heaven
New Cone
New Cone
Posts: 5
Joined: 02 Mar 2009 10:29

Re: Problem when compiling VLC under Cygwin, Window can't pop up

Postby heaven » 04 Mar 2009 09:25

by j-b on Wed Mar 04, 2009 3:39 pm
Don't you have a plugin folder?
The folder "plugins" was not there after "make package-win32-base"

I used to compile vlc-0.9.0 one year ago. I got the "skins","plugins","osdmenu","share","http","http-lua" sub folder at that time. But I can't compile them out anymore using 0.9.8a source code now ...

for more infomation, these are the warnings I got when run ./configure-vlc.sh
$ ./configure-vlc.sh
configure: WARNING: unrecognized options: --disable-gtk, --with-wx-config-path,
--with-freetype-config-path, --with-fribidi-config-path

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: Problem when compiling VLC under Cygwin, Window can't pop up

Postby Jean-Baptiste Kempf » 04 Mar 2009 09:54

Don't run configure-vlc.sh...
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.

heaven
New Cone
New Cone
Posts: 5
Joined: 02 Mar 2009 10:29

Re: Problem when compiling VLC under Cygwin, Window can't pop up

Postby heaven » 04 Mar 2009 10:37

Don't run configure-vlc.sh...
oh. Should I write and run my own .sh configure file in the format like this

Code: Select all

./configure \ --host=i686-pc-mingw32 \ --disable-avcodec \ --disable-cddax --disable-vcdx \ --enable-twolame --enable-dvdread \ --enable-debug --enable-dca \ --disable-mkv --disable-taglib \ --disable-optimizations \ --disable-zvbi \ --disable-mad \ --enable-qt4 \ --disable-dvdread \ --disable-avformat
to disable some module I don't want to use to save some time in compiling source code?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Problem when compiling VLC under Cygwin, Window can't pop up

Postby VLC_help » 04 Mar 2009 16:55

You can use configure-vlc.sh. Did you get any errors during make?

ipmultimedia
Blank Cone
Blank Cone
Posts: 13
Joined: 28 Feb 2009 12:13

Re: Problem when compiling VLC under Cygwin, Window can't pop up

Postby ipmultimedia » 07 Mar 2009 14:19

Hi
I complied the source of vlc-0.9.8a under the instruction of "Win32CompileCygwinNew"http://wiki.videolan.org/Win32CompileCygwinNew.
vlc.exe can't pop it's window up when double clicked or called under command line. But the vlc.exe process was listed in TaskManager after that. I can just end the process by kill it in TaskManager.
I have this problem exactly. And when I double click on vlc.exe's graphical icon, a message box will open and says that you don't have libvlc.dll which is needed. I have searched my hard disk and found it in the following path:

Code: Select all

C:\vlc\vlc\src\.libs
I don't know where to put it?!
please help me.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Problem when compiling VLC under Cygwin, Window can't pop up

Postby VLC_help » 07 Mar 2009 17:43

make package-win32-base doesn't work correctly or the make has some issue if the libvlc.dll isn't in vlc-0.9... something folder after make package-win32-base.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 57 guests