----- Original Message ----- 
From: "Alessandro Piras" <[email protected]>
To: <[email protected]>
Sent: Sunday, June 20, 2010 10:04 PM
Subject: [Plplot-general] wingcc drivers fails to build on Windows 7 
64bit/VC


>
> The wingcc driver is using obsolete constants:
> GCL_HCURSOR
> GWL_USERDATA
>
> that should be replaced by
> GCLP_HCURSOR
> GWLP_USERDATA

I struck the same issue when building with MinGW. I resolved it by inserting

#ifdef _WIN64
#define GWL_USERDATA GWLP_USERDATA
#define GCL_HCURSOR GCLP_HCURSOR
#endif

into drivers/wingcc.c (near the beginning of that file, immediately after 
the #include'ing of <windows .h>).

That took care of the problem for me. I don't know if it will fix it for you 
.... sounds like it might not ... :-)

Cheers,
Rob 


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to