Page 1 of 1

Building with Cygwin

Posted: 18 Aug 2005 15:40
by Magabondu
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.

Posted: 18 Aug 2005 21:00
by Guest
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.

thanks

Posted: 29 Aug 2005 21:26
by Magabondu
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.

Posted: 30 Aug 2005 06:55
by zcot
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..

Posted: 18 Jan 2006 08:40
by FF
I have exactly the same issue althought I have libiconv 1.9 :-(

Anybody have a solution ?

Thanks.

Posted: 08 Mar 2006 15:31
by Guest
Hello all,

Have you find something to fix this problem ?

Thanks,