From: Sisyphus <sis...@op...> - 2010-06-20 23:19:37
|
----- Original Message ----- From: "Alessandro Piras" <la...@gm...> To: "Sisyphus" <sis...@op...> > 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 |