Compilation error when compiling for Windows
Posted: 05 Dec 2003 11:10
Ok.
So I've done _exactly_ (as well as using my own ideas - pah) as the INSTALL.win32 file says... I've tried to cross compile VLC on Linux, and I've tried using the MingW and MSYS packages too (with all the additional libs)...
<EDIT> I've tried using vlc-0.6.2 and the test 7 release </EDIT>
I've tried using the bootstrap as the install doc says, I've tried just configuring it and making it...
The configure works fine, it's when I make that the below happens.
Could the person who compiles the Windows release, or ANYONE who has successfully, PLEASE oh PLEASE tell me how they did it?
The error that happens on both Linux and on Windows using MingW is with libintl.h as follows:
<EDIT> The ssize_t error only came up after trying to skip the bootstrap and just configuring, so don't focus on that... </EDIT>
In file included from ../../include/vlc/vlc.h:121,
from file.c:27:
../../include/vlc_common.h:112: conflicting types for `ssize_t'
c:/mingw/include/sys/types.h:119: previous declaration of `ssize_t'
In file included from ../../include/vlc/vlc.h:121,
from file.c:27:
../../include/vlc_common.h:698:24: libintl.h: No such file or directory
make[4]: *** [libaccess_file_plugin_a-file.o] Error 1
make[4]: Leaving directory `/home/dirk/vlc-0.6.2/modules/access'
make[3]: *** [all-access_file] Error 1
make[3]: Leaving directory `/home/dirk/vlc-0.6.2/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dirk/vlc-0.6.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dirk/vlc-0.6.2'
make: *** [all] Error 2
So I've done _exactly_ (as well as using my own ideas - pah) as the INSTALL.win32 file says... I've tried to cross compile VLC on Linux, and I've tried using the MingW and MSYS packages too (with all the additional libs)...
<EDIT> I've tried using vlc-0.6.2 and the test 7 release </EDIT>
I've tried using the bootstrap as the install doc says, I've tried just configuring it and making it...
The configure works fine, it's when I make that the below happens.
Could the person who compiles the Windows release, or ANYONE who has successfully, PLEASE oh PLEASE tell me how they did it?
The error that happens on both Linux and on Windows using MingW is with libintl.h as follows:
<EDIT> The ssize_t error only came up after trying to skip the bootstrap and just configuring, so don't focus on that... </EDIT>
In file included from ../../include/vlc/vlc.h:121,
from file.c:27:
../../include/vlc_common.h:112: conflicting types for `ssize_t'
c:/mingw/include/sys/types.h:119: previous declaration of `ssize_t'
In file included from ../../include/vlc/vlc.h:121,
from file.c:27:
../../include/vlc_common.h:698:24: libintl.h: No such file or directory
make[4]: *** [libaccess_file_plugin_a-file.o] Error 1
make[4]: Leaving directory `/home/dirk/vlc-0.6.2/modules/access'
make[3]: *** [all-access_file] Error 1
make[3]: Leaving directory `/home/dirk/vlc-0.6.2/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dirk/vlc-0.6.2/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dirk/vlc-0.6.2'
make: *** [all] Error 2