From: Sisyphus <sis...@op...> - 2010-06-20 14:25:42
|
----- Original Message ----- From: "Alessandro Piras" <la...@gm...> To: <plp...@li...> 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 |