Hi, On Thu, Sep 30, 2010 at 10:29 PM, Juanjo Marin <[email protected]> wrote: > > Hi, > > I'm trying to cross-compile Evince for Win32 on my Fedora F14 box using > the MinGW tools. What I've got is the following error: > > CC main.o > main.c:50:2: error: #error "_WIN32_WINNT must be defined >= 0x0500" > main.c: In function 'main': > main.c:250:52: error: 'ATTACH_PARENT_PROCESS' undeclared (first use in > this function) > main.c:250:52: note: each undeclared identifier is reported only once > for each function it appears in > make[3]: *** [main.o] Error 1 > make[3]: Leaving directory > `/home/jjmarin/proyectos/evince-win32/evince/shell' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/home/jjmarin/proyectos/evince-win32/evince/shell' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/jjmarin/proyectos/evince-win32/evince' > make: *** [all] Error 2 > > Anyone has any idea? Hib ? ;)
Try this: make CPPFLAGS="-D_WIN32_WINNT=0x0501" Cheers, Hib Eris _______________________________________________ evince-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evince-list
