Werner Smekal wrote: > > 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?
I'm not sure if I installed the WinAPI package. The log file follows (with your requested message inserted into wingcc.cmake at line 39). -Hazen CMake Command: "c:\Program Files\CMake 2.6\bin\cmake" ..\plplot -G "MinGW Makefiles" > log.txt CMake Output: -- The C compiler identification is GNU -- Check for working C compiler: C:/MinGW/bin/gcc.exe -- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- CMake version = 2.6.4 -- Checking whether system has ANSI C header files -- Looking for include files StandardHeadersExist -- Looking for include files StandardHeadersExist - found -- Performing Test memchrExists -- Performing Test memchrExists - Success -- Performing Test freeExists -- Performing Test freeExists - Success -- Check for whether ctype.h macros work on characters with the high bit set. -- High-bit characters - work -- ANSI C header files - found -- Looking for include files HAVE_UNISTD_H -- Looking for include files HAVE_UNISTD_H - found -- Looking for include files HAVE_TERMIOS_H -- Looking for include files HAVE_TERMIOS_H - not found. -- Looking for include files HAVE_STDINT_H -- Looking for include files HAVE_STDINT_H - found -- Performing Test HAVE_SYS_WAIT_H -- Performing Test HAVE_SYS_WAIT_H - Failed -- Looking for DIR in sys/types.h;dirent.h -- Looking for DIR in sys/types.h;dirent.h - found -- Check for signal return type in <signal.h> -- Check for signal handler return type type void - found -- Looking for popen -- Looking for popen - found -- Looking for usleep -- Looking for usleep - found -- Looking for finite -- Looking for finite - found -- Looking for isnan -- Looking for isnan - found -- Looking for isinf -- Looking for isinf - found -- Looking for snprintf -- Looking for snprintf - found -- SWIG was not found. Please specify Swig executable location -- Could NOT find Perl (missing: PERL_EXECUTABLE) -- Looking for pkg-config - not found -- WARNING: Install-tree build will be disabled. -- X11_FOUND = -- X11_INCLUDE_DIR = -- X11_COMPILE_FLAGS = -- X11_LIBRARIES = -- The CXX compiler identification is GNU -- Check for working CXX compiler: C:/minGW/bin/g++.exe -- Check for working CXX compiler: C:/minGW/bin/g++.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for using namespace support -- Check for using namespace - found -- Looking for C++ include cmath -- Looking for C++ include cmath - found -- Check for broken isnan support in <cmath> -- Check for isnan in <cmath> - found -- Check for using stdint.h with CXX compiler -- Check for using stdint.h with CXX compiler - ok -- The Fortran compiler identification is unknown -- Check for working Fortran compiler: C:/MinGW/bin/g77.exe -- Check for working Fortran compiler: C:/MinGW/bin/g77.exe -- works -- Checking whether C:/MinGW/bin/g77.exe supports Fortran 90 -- Checking whether C:/MinGW/bin/g77.exe supports Fortran 90 -- no -- WARNING: fortran compiler does not support f90/95. Disabling f95 bindings -- Check for f77 command line support -- Check for f77 command line support - found -- Check if isnan function is available in fortran -- Check for isnan in fortran - not found -- NOTICE: Found: C:/MinGW/bin/g77.exe -- WARNING: swig not found. Disabling java bindings -- WARNING: swig not found. Disabling python bindings -- WARNING: The octave build requires perl. Disabling octave bindings -- Looking for include paths and libraries for Tcl/Tk -- Looking for include paths and libraries for Tcl/Tk - not found -- WARNING: Disabling everything that is Tcl/Tk related -- WARNING: perl not found. Disabling Perl/PDL examples -- Check for working Ada builder: C:/MinGW/bin/gnatmake.exe -- Check for working Ada builder: C:/MinGW/bin/gnatmake.exe -- works -- WARNING: gnat library not found. Disabling ada bindings -- WARNING: ocamlbuild not found. Disabling ocaml bindings -- WARNING: swig not found. Disabling Lua bindings -- Check for NaN awareness in C compiler -- Check for NaN awareness in C compiler - found -- WARNING: qhull library not found. Setting HAVE_QHULL to OFF. -- WARNING: pango not found because pkg-config not available. -- WARNING: pkg-config not found. Setting cairo drivers to OFF. -- WARNING: ENABLE_tk OFF. Setting PLD_tk, PLD_ntk, and PLD_tkwin OFF. -- WARNING: pkg-config not found. Setting PLD_psttf to OFF. -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - not found. -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - found -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.5.2 -- QT_LIBRARIES = C:/Qt/2009.03/qt/lib/libQtSvg4.a;C:/Qt/2009.03/qt/lib/libQtGui4.a;imm32;winmm;C:/Qt/2009.03/qt/lib/libQtXml4.a;C:/Qt/2009.03/qt/lib/libQtCore4.a;ws2_32 -- WARNING: ENABLE_python is OFF so setting ENABLE_pyqt4 to OFF. -- Looking for gdi32 header and library -- Looking for gdi32 header and library - found -- GDI32_LIBRARY=C:/MinGW/lib/libgdi32.a ...crash... ------------------------------------------------------------------------------ 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