Page 1 of 1

Problem with libiconv

Posted: 12 May 2009 15:51
by Tanthalas
Hi !! I am trying to compile vlc 0.8.4 for windows ce, using wince. I am following this wiki: http://wiki.videolan.org/WinCECompile

but when I try to configure the code I have the following error: "configure: error: libiconv is needed for VLC to work properly". I have just installed libiconv in /usr/local/libiconv but the error still appears.

I have taken a look to configure --help and I have seen that there are two options:

with-libiconv-prefix=path -> to set the path in which libiconv is stored
without-libiconv -> to compile without libiconv.

I have added this options to the script but it doesn't work. I think that the problem is the way i write path, maybe the script have problems with the "/" of the paths. I don't know.

Here I write the script I use:
PATH=/opt/mingw32ce/bin:/opt/mingw32ce/arm-wince-mingw32ce/bin:$PATH \
CC="arm-wince-mingw32ce-gcc" \
CXX="arm-wince-mingw32ce-g++" \
CFLAGS="-I/usr/wince/include -I/opt/mingw32ce/arm-wince-mingw32ce/include -mwin32 -D __COREDLL__ -D _WIN32_WCE=0x0500" \
CPPFLAGS="-I/usr/wince/include -I/opt/mingw32ce/arm-wince-mingw32ce/include -mwin32 -D __COREDLL__ -D _WIN32_WCE=0x0500" \
LDFLAGS="-L/opt/mingw32ce/arm-wince-mingw32ce/lib -L/usr/wince/lib" \

./configure --host=arm-wince-mingw32ce \
--disable-sdl --disable-gtk \
--disable-dvdnav --disable-dvdread --disable-avformat \
--disable-postproc --disable-hal --disable-nls \
--enable-sout --enable-vlm --disable-wxwindows \
--disable-a52 --enable-libmpeg2 --disable-freetype \
--disable-libgcrypt --disable-fribidi --disable-mad \
--disable-optimize-memory --disable-audioscrobbler \
--disable-tremor --disable-faad --enable-ffmpeg --disable-avcodec \
--enable-vlc --disable-activex --disable-testsuite --disable-skins2 \
--disable-qt4 --disable-notify --disable-httpd --disable-dbus-control \
--disable-growl --disable-telepathy --disable-lua --disable-vlm \
--disable-gnutls --disable-bonjour --disable-x11 --disable-glx \
--disable-xvideo --disable-remoteosd --disable-schroedinger \
--disable-dshow --enable-wingdi --disable-real --disable-realrtsp \
--disable-optimizations --enable-debug \
--enable-wince --enable-waveout --disable-directx --disable-x264 \
--disable-live555 --disable-pulse --disable-swscale --disable-telnet --with-libiconv-prefix=/usr/local/libiconv/
The "with-libiconv-prefix" was written just before the --host option, but it didn't work.

Can anybody help me? Thank you a lot.

PS: I am compiling vlc 0.8.4 because I have read that this is the last version without errors in the code.

Re: Problem with libiconv

Posted: 12 May 2009 20:20
by Jean-Baptiste Kempf
0.8.4 is old. Compile 1.0.0 and ask on IRC to geal or linkfanel

Re: Problem with libiconv

Posted: 12 May 2009 22:20
by Tanthalas
But, first of all, the higer version is 0.9.9a and this version fails when I try to compile it due to errors on the code. When I was trying to solve this errors, I read that the last version people were able to compile was 0.8.4. That's the reason of why I am using an old version. Moreover, I want vlc for winCE but I don't need the full functionality running, if the code is the latest version or not it doesn't care.

Thanks to j-b for the answer, but if anybody knows how to solve the problem with the path to libiconv please write me.

Thank you.

Re: Problem with libiconv

Posted: 12 May 2009 22:24
by Jean-Baptiste Kempf
"ask on IRC to geal or linkfanel"

Re: Problem with libiconv

Posted: 12 May 2009 23:02
by Tanthalas
Once again, thank you j-b. I have just found the IRC, jejeje.

sorry