Hi Rob, Alessandro,

I have incorporated these proposed changes in the wingcc driver,
as suggested. For WIN32 platforms there is no GCLP_* macro defined, that
is only for WIN64 (at least that is what I see in one of the header
files on my system). So I kept the #ifdef.

As I have no way to test this in the absence of a Windows 64 bits system
that I can easily use, I would like to ask you to check these changes.

Regards,

Arjen

On 2010-06-21 01:18, Sisyphus wrote:
> ----- Original Message ----- 
> From: "Alessandro Piras" <[email protected]>
> To: "Sisyphus" <[email protected]>
> 
>> Hi Rob,
>>
>> for what I understood from the Microsoft docs (correct me if I'm wrong)
>> GWLP_* and GCLP_* constants should work on both 32bit and 64bit windows.
> 
> Haven't checked the documentation, but looking at winuser.h, that appears to 
> be the case.
> 
>> Renaming those constants fixes the build problem, but the examples will
>> crash when selecting the wingcc driver (which is the only one
>> interactive driver I've been able to use kind of reliably with
>> windows/sbcl/cl-plplot).
>>
>> Does the driver work correctly when built with mingw64?
> 
> Yes, though I've only built with -DBUILD_SHARED_LIBS=OFF .
> 
> I had to copy libgdi32.a and libcomdlg32.a from the /mingw/lib folder to the 
> /lib folder, otherwise they are not found and the process tries to link to 
> the system dll's (and fails).
> 
> One other complication for me was that I use the cross-compiler (where the 
> gcc executable is not actually named 'gcc.exe'). See my post of  12 June 
> titled '[Win32] x64 build of plplot' for a more detailed account. You'll 
> avoid that naming issue if you grab the "sezero" binary which, I think, is 
> to be found under the "Personal Builds" section.
> 
> 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
> 

------------------------------------------------------------------------------
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