[hatari-devel] Small compilation snag while compiling on Windows

Nicolas Pomarède npomarede at corp.free.fr
Mon Jul 4 23:31:03 CEST 2011


Le 04/07/2011 21:28, George Nakos a écrit :
> Hello,
>
>    Because  of  a bad partition table, I had to reinstall windows on my
>    compiling  pc,  and  of  course  the  mingw  toolchain. Then I tried
>    compiling  the latest snapshot of the code (form mercurial) and came
>    across this small problem:
>
> $ make
> [...]
> [snip]
> [...]
> [ 51%] Building C object src/CMakeFiles/hatari.dir/ide.c.obj
> In file included from c:\msys\1.0\mingw\bin\../lib/gcc/mingw32/4.5.1/../../../../include/windef.h:253:0,
>                   from c:\msys\1.0\mingw\bin\../lib/gcc/mingw32/4.5.1/../../../../include/windows.h:48,
>                   from c:/msys/1.0/home/Administrator/hatari/src/ide.c:369:
> c:\msys\1.0\mingw\bin\../lib/gcc/mingw32/4.5.1/../../../../include/winnt.h:120:14: error: two or more data types in declaration specifiers
> make[2]: *** [src/CMakeFiles/hatari.dir/ide.c.obj] Error 1
> make[1]: *** [src/CMakeFiles/hatari.dir/all] Error 2
> make: *** [all] Error 2
>
>    Seems  that  although  including windows.h should work, but for some
>    reason  these  errors  occur.  I  haven't been able to find anything
>    relevant on the internet.
>
>    Anyone got any ideas?
>
>

hello

I don't know what this error means, but at least I can compile recent 
Hatari with mingw under linux, so I think this is really windows 
specific, not mingw (but I don't compile under windows, so I can't help)

Nicolas



More information about the hatari-devel mailing list