Hazen Babcock wrote:
> 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).
I think I did install the WinAPI package. In C:\MinGW there is a file
called installed.ini with contents:
[settings]
mirror=
installtype=current
[components]
runtime=mingwrt-3.15.2-mingw32-dev.tar.gz
w32api=w32api-3.13-mingw32-dev.tar.gz
binutils=binutils-2.19.1-mingw32-bin.tar.gz
core=gcc-core-3.4.5-20060117-3.tar.gz
gpp=gcc-g++-3.4.5-20060117-3.tar.gz
g77=gcc-g77-3.4.5-20060117-3.tar.gz
ada=gcc-ada-3.4.5-20060117-3.tar.gz
java=
objc=
make=mingw32-make-3.81-20080326-2.tar.gz
This seems to match what I remember installing in terms of compilers, etc.
-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
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel