Problem with libiconv
Posted: 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:
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.
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:
The "with-libiconv-prefix" was written just before the --host option, but it didn't work.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/
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.