Re: evince Problems cross-compiling Evince for Win32
- From: Hib Eris <hib hiberis nl>
- To: Juanjo Marin <juanjomarin96 yahoo es>
- Cc: evince-list gnome org
- Subject: Re: evince Problems cross-compiling Evince for Win32
- Date: Fri, 1 Oct 2010 08:19:10 +0200
Hi,
On Thu, Sep 30, 2010 at 10:29 PM, Juanjo Marin <juanjomarin96 yahoo es> 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
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]