Page 1 of 1

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

Posted: 04 Mar 2009 03:48
by heaven
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

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

Posted: 04 Mar 2009 08:39
by Jean-Baptiste Kempf
Don't you have a plugin folder?

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

Posted: 04 Mar 2009 09:25
by heaven
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

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

Posted: 04 Mar 2009 09:54
by Jean-Baptiste Kempf
Don't run configure-vlc.sh...

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

Posted: 04 Mar 2009 10:37
by heaven
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?

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

Posted: 04 Mar 2009 16:55
by VLC_help
You can use configure-vlc.sh. Did you get any errors during make?

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

Posted: 07 Mar 2009 14:19
by ipmultimedia
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.

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

Posted: 07 Mar 2009 17:43
by VLC_help
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.