Building with Cygwin

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.
Magabondu
New Cone
New Cone
Posts: 3
Joined: 17 Aug 2005 21:36
Contact:

Building with Cygwin

Postby Magabondu » 18 Aug 2005 15:40

First of all, i am new to the whole cygwin thing- so i apologize in advance for my ignorance!!!
I've tried for a few days now to get the VLC player to build using Cygwin on winxp pro. I've tried using gcc 3.3.3 and 3.4.4 with the --disable-mkv option but keep getting the followoing:

"configure: error: libiconv is needed for VLC to work properly".

I have downloaded the latest code from the subversion repository and I have uninstalled and re-installed libiconv a few times from different cygwin mirrors just to make sure i have a good install and i still get the same error. i am using the followiing script to kick off the build:

./bootstrap && \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--disable-sdl --disable-gtk \
--enable-nls \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --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-livedotcom --with-livedotcom-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-toolame --enable-dvdread \
--enable-debug \
--enable-optimizations \
--enable-release \
--disable-mkv
Make

Anybody have any ideas?

Thanks in advance- magabondu.

Guest

Postby Guest » 18 Aug 2005 21:00

I don't think this relates exactly to the issue but the last few lines of the script aren't appropriate that way.

Code: Select all

--enable-debug \ --enable-optimizations \ --enable-release \ --disable-mkv Make
you dont want to use debug and release together due to something I don't know exactly but has to do with the generated file. You will either end up with something that is not a debug build or not a release build or maybe some mixture between.

Also, you may find that once you succeed in configuration that you keep getting odd errors during make(perhaps even BSOD). I have found that the only successful way to finish a make w/o failing is to use `logout'(or `exit') after the configuration. Then restart for the make.

Magabondu
New Cone
New Cone
Posts: 3
Joined: 17 Aug 2005 21:36
Contact:

thanks

Postby Magabondu » 29 Aug 2005 21:26

i didn't even notice that- i guess i was to pre-occupied with cygwin to look for the obvious. i will remove the release flag and see what happens. thanks- sometimes you just need anther set of eyes.

zcot
Big Cone-huna
Big Cone-huna
Posts: 606
Joined: 15 Jun 2005 10:58

Postby zcot » 30 Aug 2005 06:55

try a different cygwin mirror for iconv..

on the bash type:

Code: Select all

iconv --version
I have iconv (GNU libiconv 1.9) without any problems..

FF

Postby FF » 18 Jan 2006 08:40

I have exactly the same issue althought I have libiconv 1.9 :-(

Anybody have a solution ?

Thanks.

Guest

Postby Guest » 08 Mar 2006 15:31

Hello all,

Have you find something to fix this problem ?

Thanks,


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 76 guests