Hi all! I've just updated to PoDoFo Revision 1724. I'm building with Microsoft VS2008 32Bit.
In PdfImage.cpp I get a bunch of compiler errors due to a collision between winsock.h and ws2def.h. I have PODOFO_HAVE_WINSOCK2_H defined, so winsock2.h should be drawn instead of winsock.h in the first place. But windows.h, probably called via tiffio.h which is now already called in PdfImage.h, seems to draw winsock.h before winsock2.h can be drawn. I'm not using CMake but a handbuild podofo_config.h and a VS2008-Solution-File to build. I have solved the problem in podofo_config.h by defining #define _WINSOCKAPI_ /* Prevent inclusion of winsock.h in windows.h */ after the define of #define PODOFO_HAVE_WINSOCK2_H 1 Works fine for me, but I think this should be included in the CMakeList.txt as well Uli ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users