Page 1 of 1

i need ur help. i have a problem when i compile VLC player

Posted: 20 Jan 2008 11:11
by free106034
please i need ur help.i compile VLC player according to the gideline of compiling. when i reached to compile of the (ffmpeg) library and i typed (../configure-ffmpeg.sh) it gave me a message ( unknown option --enable-mingw32) also ( unknown option -enable--faac). i need ur help to fix this problem.

i used the (contrib-20070530-win32-bin-gcc-3.4.5-only.tar), the latest update of VLC sourse and ffmpeg, x264, and live555 libraries and my operating system is xp also i used cygwin for compile.
thanks alot :?: :)

Re: i need ur help. i have a problem when i compile VLC player

Posted: 20 Jan 2008 19:20
by Jean-Baptiste Kempf
--enable-mingw32 not -enable--mingw32

Re: i need ur help. i have a problem when i compile VLC player

Posted: 21 Jan 2008 03:41
by free106034
thanks alot about reply. about ur website, it is very good and there are many new information and helpful information that i learned from ur website.
it is my mistake. as u said, it is (--enable-mingw32) but how to fix this problem.

Re: i need ur help. i have a problem when i compile VLC player

Posted: 21 Jan 2008 03:53
by Jean-Baptiste Kempf
You need to say more...

Re: i need ur help. i have a problem when i compile VLC player

Posted: 21 Jan 2008 06:41
by free106034
i follow the gideline for compile the VLC player for windows xp. i download source code (vlc 0.9.0) and i used (contrib-20070530-win32-bin-gcc-3.4.5-only.tar), and ffmpeg, live555, and x264 libraries. the gideline in this site (http://wiki.videolan.org/Win32CompileCygwin). also i use cygwin program to compile.i follow each thing in this page untill i reached to this point:

Compiling FFmpeg (optional)

This section is only required for FFmpeg compiling.

Change to the appropriate FFmpeg folder
cd ffmpeg-trunk (example)
make clean
make distclean

(This will haved remove everything except code related stuff, VLC uses a "toolbox" script which can clean a bit more).
../configure-ffmpeg.sh


when i typed the command: ../configure-ffmpeg.sh the cygwin give me this message: unknown option: --enable-mingw32.
the configure-ffmpeg.sh file contain these commands

./configure --enable-mingw32 --enable-memalign-hack \
--extra-cflags=-I/usr/win32/include \
--extra-ldflags=-L/usr/win32/lib \
--prefix=/usr/win32 \
--cc="gcc -mno-cygwin" \
--enable-faac --enable-mp3lame --enable-pp --enable-gpl --log \
--enable-amr_nb --enable-amr_wb \

so how to fix this problem

Re: i need ur help. i have a problem when i compile VLC player

Posted: 21 Jan 2008 06:44
by Jean-Baptiste Kempf
Don't compile ffmpeg, use the one in the contribs.

Re: i need ur help. i have a problem when i compile VLC player

Posted: 21 Jan 2008 09:20
by free106034
sorry about this but can u explain me in some details
i mean about contrib. i downloaded winrar file from the site: http://ffmpeg.mplayerhq.hu/download.html. in fullcheckout link.
but i don't know how to extract it. is it by command from cygwin or such as extract by winrar?. the other quision is, is this the contrib file of ffmpeg? or am i in wrong way?
or do u mean the folder ffmpeg which is in the (contrib-20070530-win32-bin-gcc-3.4.5-only.tar)
sorry about noisy

Re: i need ur help. i have a problem when i compile VLC player

Posted: 24 Jan 2008 06:35
by free106034
could you please guide me to the exact way to the contrib?
hoping to receive early replay.
sorry for inconvenient.

Re: i need ur help. i have a problem when i compile VLC player

Posted: 24 Jan 2008 08:25
by Jean-Baptiste Kempf
Why do you not do as everyone ?

Install CYGWin,
Install the contribs,
Download VLC SVN,
Fix the configure.ac
bootstrap,
configure,
make

Re: i need ur help. i have a problem when i compile VLC player

Posted: 25 Jan 2008 05:59
by free106034
i'm so sorry. i'm still beginner. i made the 3 steps (install cygwin, install contribs, download vlc svn) but still the other steps i have some confus. could u explain me in some details about the other steps ?.
thanks alot

Re: i need ur help. i have a problem when i compile VLC player

Posted: 25 Jan 2008 08:27
by Jean-Baptiste Kempf
Have you read the wiki ?

Re: i need ur help. i have a problem when i compile VLC player

Posted: 25 Jan 2008 08:57
by free106034
i read the Win32CompileCygwin guideline
about wiki i have no idea about it. i'll look for it and will read it.
thanks alot

Re: i need ur help. i have a problem when i compile VLC player

Posted: 01 Feb 2008 06:06
by free106034
thanks alot j-b about help me
now the vlc is compiled

Re: i need ur help. i have a problem when i compile VLC player

Posted: 01 Feb 2008 06:31
by Jean-Baptiste Kempf
\o/