Edward Ross wrote: > I had to make some changes to the project file - to include the libs and > header files. Also some of the podofo code was missing from the > project. Perhaps the visual studio project is out of date in podofo-0.5.0.
The project file is hopelessly out of date. It was removed from the tree after PoDoFo 0.5.0 was released. The README in 0.5.0 strongly recommends using CMake instead and it is advice you should probably follow. Please read the documentation. It tells you how to build PoDoFo. I have not built it with Visual Studio 6 myself ( I don't know why that dinosaur keeps on kicking ) but CMake does support building with it, and I know we have users using Visual Studio 6. CMake is the recommended (now only) build system option. It will generate a Visual Studio project file for you, an up-to-date one that has correct paths for the location of the SDK, libraries, etc on your system and is compatible with your version of Visual Studio. > Anyway, I've managed to get the projects PoDoFoLib and podofouncompress > to compile and link. But when I run I get an exception before even the > first line of main. Below is the debug output from MS C++ 2006 Express > Edition. I've also attached the podofo and podofouncompress project files. Please build the library according to the documentation. If you still have problems, post with details and I or someone else here will try to help. > First-chance exception at 0x00322ba6 in podofouncompress.exe: > 0xC0000005: Access violation reading location 0x00322ba6. > Unhandled exception at 0x00322ba6 in podofouncompress.exe: 0xC0000005: > Access violation reading location 0x00322ba6. > The program '[4420] podofouncompress.exe: Native' has exited with code 0 > (0x0). I'm afraid this trace is completely useless, as it is only meaningful with reference to offsets in the binaries you have built, and lacks any symbol information. Try building with debugging enabled, trap the exception, and get a real backtrace. You should also download the symbol database for your version of Windows and your C runtime, or configure the symbol server in windbg and use that. -- Craig Ringer ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
