I am getting the following compiler message when attempting to use AlphaBlend:
undefined reference to `__imp_AlphaBlend'
The MSDN lists the requirements for AlphaBlend:
Requirements:
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header WinGdi.h (include Windows.h)
Library Msimg32.lib
DLL Msimg32.dll
I am using Dev-C++ Version 5.1 TDM-GCC 4.9.9.2 Build Time March 20, 2015 11:59
Language Standard: GNU C++11
I assume the required library file is libmsimg32.a.
The searched libraries in order are:
Dev-Cpp\MinGW64\lib --- Does not contain libmsimg32.a
Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib --- Does contain libmsimg32.a
Dev-Cpp\lib --- Does contain libmsimg32.a
Why does AlphaBlend remain undefined? It is right there in libmsimg32.a in the path of the searched directories?
Mysteries without any clues.
Last edit: Paul Gendron 2018-05-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am getting the following compiler message when attempting to use AlphaBlend:
undefined reference to `__imp_AlphaBlend'
The MSDN lists the requirements for AlphaBlend:
Requirements:
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header WinGdi.h (include Windows.h)
Library Msimg32.lib
DLL Msimg32.dll
I am using Dev-C++ Version 5.1 TDM-GCC 4.9.9.2 Build Time March 20, 2015 11:59
Language Standard: GNU C++11
I assume the required library file is libmsimg32.a.
The searched libraries in order are:
Dev-Cpp\MinGW64\lib --- Does not contain libmsimg32.a
Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib --- Does contain libmsimg32.a
Dev-Cpp\lib --- Does contain libmsimg32.a
Why does AlphaBlend remain undefined? It is right there in libmsimg32.a in the path of the searched directories?
Mysteries without any clues.
Last edit: Paul Gendron 2018-05-26