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

Reply via email to