Hi Craig, > I try to compile the actual trunk with VS2005 or VS2003 > and I got the following problems: > > 1.) PdfXObject.cpp > s:\vsprojects\podofo\vs2005\src\util\PdfMutexImpl_win32.h(86) : error C3861: > "TryEnterCriticalSection":
... where's the rest of the error mesage? --> Bezeichner nicht gefunden. - Identifier not found. If I use define _WIN32_WINNT 0x0400 in podofo_config.h the error is gone, but it should work anyways, see define in PdfCompilerCompatPrivate.h. > 2.) PdfFiltersPrivate.cpp > C:\Program Files\Microsoft Visual Studio > 8\VC\PlatformSDK\include\winsock2.h(112) : error C2011: 'fd_set': > 'struct' > -> I got here a bunch of definition errors... >Please always quote FULL and EXACT error message text. Truncated and >incomplete errors are useless, especially when you're asking for help >with a compiler few people here (or at least few who actually try to >help out on the list) have access to. Next time I will try to translate more. >Presumably, in your case, one of the two macros will trigger a #error, >since you're having include order issues. >If it's the the first one, then you just need to track down where the >rogue inclusion of <windows.h> is coming from. At no point do >PdfDefines.h or PdfCompilerCompat.h include <windows.h> and they're the >only headers included before PdfDefinesPrivate.h and in turn >PdfCompilerCompatPrivate.h, so I'm not really sure how it could be >getting included. The PoDoFo sources don't include <windows.h> anywhere >except PdfCompilerCompatPrivate.h. >I'd bet it's the second one, and probably because PODOFO_HAVE_WINSOCK2_H >won't be set, probably because of some problem with the build scripts or >a modification to them. If that's the case you need to look at >podofo_config.h and your CMakeCache.txt, or provide me with enough >information to actually do more than vague guesswork. Wrong bet ;-)) It's the first one, windows.h is included before winsock2. >Anyway, I'm going to go do something more fun and productive now. Have fun! Bye Sebastian ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
