Hi I've just commited a bunch of changes to the cmake files that may well help you. I've done a bit of testing here and after I built my own freetype (which worked fine using the stock project file provided by freetype) all went well.
You will now need a CMake 2.5 snapshot, which you can grab from cmake.org . I strongly recommend you use the zlib from zlib.org and build your own freetype. I'm using the GnuWin32 libjpeg but only because I haven't got around to building one - it's not hard. If you continue to have issues after updating to the latest PoDoFo trunk, please delete your build directory and do a clean build. I would not expect any further problems. FYI, here's the initial CMake command line I'm running (saved in "build.cmd" in my build directory): del cmakecache.txt set FTDIR=C:\developer\freetype-2.3.5 set JPEGDIR=C:\Developer\GnuWin32\jpeg set ZLIBDIR=C:\developer\zlib123-dll rem next is all on one line: cmake -G "Visual Studio 9 2008" ..\..\podofo -DCMAKE_INCLUDE_PATH="%FTDIR%\include;%JPEGDIR%\include;%ZLIBDIR%\include" -DCMAKE_LIBRARY_PATH="%FTDIR%\lib;%FTDIR%\objs;%JPEGDIR%\lib;%ZLIBDIR%\lib" -DPODOFO_BUILD_SHARED:BOOL=FALSE -DFREETYPE_LIBRARY_NAMES_DEBUG=freetype235MT_D -DFREETYPE_LIBRARY_NAMES_RELEASE=freetype235MT CMake 2.5 is on my PATH. I never used to have issues with the GnuWin32 freetype but they have just done a big refresh, so I wouldn't be too surprised to see things changing - and since I doubt they use VC++ ... . There is at least one issue remaining. Since I last used PoDoFo for anything except building PoDoFoBrowser there was some breakage in the CreationTest on win32 that nobody has noticed (yes, I know we need an automated test framework). If I run: cd test\CreationTest Release\CreationTest.exe I currently land up with an exception thrown because of an unexpected null handle passed to PDFPainter. Seems to be win32 font loading troubles - probably an invalid assumption about font availability. I'm looking into it, but it's 3am so I doubt I'll do anything about it today. -- Craig Ringer ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
