Problem with libiconv

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.
Tanthalas
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Feb 2009 12:18

Problem with libiconv

Postby Tanthalas » 12 May 2009 15:51

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problem with libiconv

Postby Jean-Baptiste Kempf » 12 May 2009 20:20

0.8.4 is old. Compile 1.0.0 and ask on IRC to geal or linkfanel
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Tanthalas
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Feb 2009 12:18

Re: Problem with libiconv

Postby Tanthalas » 12 May 2009 22:20

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problem with libiconv

Postby Jean-Baptiste Kempf » 12 May 2009 22:24

"ask on IRC to geal or linkfanel"
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Tanthalas
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Feb 2009 12:18

Re: Problem with libiconv

Postby Tanthalas » 12 May 2009 23:02

Once again, thank you j-b. I have just found the IRC, jejeje.

sorry


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 33 guests