Hi Hazen,
>>
>
> I believe everything is the same. I am using the CMake GUI  
> configuration
> utility and not the command line cmake (due to the apparent gdi32
> issue). The problem is that cmake-gui-plplot-5.9.4 considers my C++
> compiler to be findable/acceptable whereas cmake-gui-plplot-svn does
> not. Note that cmake-gui-plplot-svn does find a Gnu CXX compiler but
> then errors out anyway. Any ideas about what might have changed to  
> lead
> to this difference would be appreciated. I'd like to get Qt and PyQt
> working on the windows computer that I have access to so I'll need to
> get past this C++ hang up (and/or figure out the gdi32 thing so that I
> can use the command line version of cmake).

I don't believe that the gdi32 library is your problem. Look at the  
code in wingcc.cmake:

   message(STATUS "Looking for gdi32 header and library")
   find_library(GDI32_LIBRARY gdi32 HINTS ${MINGWLIBPATH} $ 
{BORLANDLIBPATH})
   if(GDI32_LIBRARY)
     find_library(COMDLG32_LIBRARY comdlg32 HINTS ${MINGWLIBPATH} $ 
{BORLANDLIBPATH})
   endif(GDI32_LIBRARY)
   if(GDI32_LIBRARY AND COMDLG32_LIBRARY)
     message(STATUS "Looking for gdi32 header and library - found")
     set(wingcc_LINK_FLAGS "${GDI32_LIBRARY};${COMDLG32_LIBRARY}")
     if(WITH_FREETYPE)
       set(
       wingcc_COMPILE_FLAGS
       "${wingcc_COMPILE_FLAGS} -I${FREETYPE_INCLUDE_DIR}"
       )
       set(
       wingcc_LINK_FLAGS
       ${wingcc_LINK_FLAGS}
       ${FREETYPE_LIBRARIES}
       )
     endif(WITH_FREETYPE)
     set(DRIVERS_LINK_FLAGS ${DRIVERS_LINK_FLAGS} ${wingcc_LINK_FLAGS})

It's just looking for gdi32.lib (or libgdi32.a in the MinGW case)  
using some hints where to find that. Then it looks for the comdlg32  
library. The only problem I can see is later, when the wingcc driver  
is called in test-drv-info? Here the gdi32 dll will be loaded and  
leads maybe to problems. I need to know which gdi32 library is found.  
Please add a

message(STATUS "GDI32_LIBRARY=${GDI32_LIBRARY}")

at an appropriate place. It must not be "gdi32.dll" since this is the  
system dll, which mingw might be able to link to, but can't use  
directly. Did you install the WinAPI package?

Regards,
Werner

PS: could you post the complete cmake configure output and also how  
you call it?


>
> -Hazen
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited  
> time,
> vendors submitting new applications to BlackBerry App World(TM) will  
> have
> the opportunity to enter the BlackBerry Developer Challenge. See  
> full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel

--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: sme...@iap.tuwien.ac.at
web: http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory)
fax: +43-(0)1-58801-13499


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to