Jacob Holm wrote: > So I downloaded the latest version of the podofo source > code(podofo-0.6.0.tar.gz) and opened it using 7zip. Then I downloaded the > FreeType source and compiled it, then the zlib and libjpeg binary/lib files.
How did you compile them? Did you use the `nmake' and environment from Visual Studio 2005 for them too? > After that I downloaded CMake 2.6 and built the PoDoFo Visual Studio 8 2005 > project solution, which I opened and linked to the different libraries and > added the include directories. When I try to compile the project I get two > link errors concerning pdfhintstream.obj and pdfxrefstream.obj. Please quote the EXACT TEXT OF ALL ERROR MESSAGES. > I don't know > what I am doing wrong. Building freetype does not give me any dll > file(should it?). It depends on how you configured and built freetype. I think it produces a static library by default, so you shouldn't land up with a DLL. > Also, using the CMake to build the solution file, you are supposed to be > able to set it to "-DPODOFO_BUILD_SHARED:BOOL=FALSE", so that it will build > a static dll, but this gives me an error saying something about the install > targets not having an archive directory for the static dll. Please quote the EXACT text of the error message, and the full CMake command line. I'll be doing some more win32 testing shortly as I've had several problem reports recently. I finally got a Windows machine up and running again after my Vista install died along with the hard disk, so I'm in a position to set up a working dev env and test things. For that, though, I will need to know exactly where you got the sources for your libraries, the commands you used to build them and podofo, and the exact text of all error mesages. > Anyone who has built PoDoFo on windows and care to give a step by step > explanation? According to the readme it should be pretty straight forward, > but I haven't gotten it to work. Sadly, Windows development environments tend to all be subtly different, and very sensitive to small changes in things like the order in which you install things or to other packages installed in parallel. I'm constantly surprised by issues that people run into, especially when it turns out to be something completely unrelated and wacky like having an application installed *somewhere* on the system that installs its own version of zlib that's subtly binary-incompatible with the one PoDoFo was linked with. Using static linking whereever possible helps a lot, though, as does NEVER letting ANY development environment mess with your global environment variables. Using the vars scripts like vcvars is a pain, but not as bad as having MSVC decide to use cl.exe from VC 2005 and then link with 2008's linker.... -- Craig Ringer ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
