I'm trying to link my C++ application statically against Python 2.7 using the static library provided (libpython27.a).
Builds fine, but when I try to run it, it displays this message:
"The procedure entry point GdipCreateBitmapFromStream could not be located in the dynamic link library python27.dll"
1) How does that function relate to python27.dll ? it's obviously a GDI+ function.
2) Why does it try to link dynamically ?
I opened the EXE using CFF Explorer (a PE explorer) and it displayed 10-15 import descriptors, two of which were python27.dll and gdiplus.dll. All the functions under python27.dll were gdiplus'. On fully removing the python27.dll entry, the application works perfectly.
This didn't seem like anything but a linker bug, so I just straight away reported it here.