Jacob,

I've CC'd the list. Please reply all so the list can see the
conversation too.

My reply is interleaved below.

Jacob Holm wrote:
> Ok, I follow the readme from the PoDoFo tar.gz file I download from the
> website(podofo.sourceforge.net). This takes me through the steps of creating
> a Visual Studio solution using CMake.
> 
> First it tells me to get the precompiled zlib dll from zlib.org, but the
> link in the readme leads to zlib.net, which states it is "Not Related to the
> Linux zlibc Compressing File-I/O Library"

Correct. You want zlib, from zlib.net, rather than zlibc (which is
completely different).

zlibc is a LD_PRELOAD wrapper for Linux that wraps POSIX file calls like
open() to transparently detect and process gzip encoded files. It uses
zlib, but is not zlib.

> Then the readme tells me that Visual Studio users need to compile libjpeg on
> their own, so I follow the link to http://www.ijg.org/, download the
> sourcecode(ftp://ftp.simtel.net/pub/simtelnet/msdos/graphics/jpegsr6.zip). I
> unpack it into "../jpegsr6/". The readme then tells me to: "I'll assume
> you've used C:\Developer\jpeg. Once the sources are unpacked, start a visual
> studio command prompt and cd into c:\developer\jpeg then run nmake /f
> makefile.vc /a". Running this command in the command prompt gives me the
> following error: "NMAKE : fatal error U1073: don't know how to make
> 'jconfig.h' Stop."

That's interesting. Would you mind trying again, starting from clean
sources, and then sending me a log of your terminal output? Please
include the output of the "set" command run without arguments.

You can get a log of the terminal output by right-clicking in the
terminal window title bar, choosing select all, then doing the same and
choosing copy.

I've tested building libjpeg according to that process on VC++ 2005 and
2008, so I'm a bit puzzled as to what's going on.

>. The first time I tried to build PoDoFo I got this error
> as well, and just downloaded a precompiled binary package, but since it says
> I HAVE to build the libjpeg library myself, I think I'll stop here and let
> you take a look at that error.

If you can find a prebuilt binary from the same VC++ version, linked
against the same C runtime, then that will also be fine. One linked with
a DLL version of MSVCRT.DLL (no other runtimes) should also be fine. In
my experience, though, most prebuilt libjpeg binaries were built with
MinGW. MinGW-compiled versions of libjpeg mostly work with VC++, but are
really not a good idea. You'll hit issues with passing file descriptors,
among other things.

I'd prefer to find out what's going on and resolve it, as it's important
that the readme be accurate and cover common issues. If you can re-try
from the start and send me a log of your build attempt and environment
that would be very helpful.

--
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

Reply via email to