Re: [AD] Windows unicode filename support

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2006-04-29, Trent Gamblin <trentgamblin@xxxxxxxxxx> wrote:
> Michal Molhanec wrote:
> >Compile and run this code:
> >
> >#define ALLEGRO_USE_CONSOLE
> >#include <allegro.h>
> >
> >int main(int argc, char* argv[]) {
> >    if (argc != 2) return 1;
> >    install_allegro(SYSTEM_NONE, &errno, atexit);
> >    long l = file_size(argv[1]);
> >    printf("%ld\n", l);
> >    return 0;
> >}
> >
> >and check if it prints correct filesizes.
> 
> This program prints 0 every time for me under Windows 98. I had to copy 
> obj/mingw32/asmcapa.h, obj/mingw32/asmdef.inc, and 
> lib/mingw32/allegro.def from the release version of 4.2 to the SVN tree 
> to get Allegro to compile though.

Please run misc/fixdll.bat or misc/fixdll.sh, then make depend
before running make.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/