Hello again,
I must say I feel kind of embarrased; it turned out all that was wrong was
the path to the podofo source set in the build.cmd. I had it set to
"C:\PDF\PoDoFo v0.6.0\podofo-0.6.0\src" when it should be set to
"C:\PDF\PoDoFo v0.6.0\podofo-0.6.0". I have now managed to succesfully
generate a working visual studio 8 2005 solution, as well as succesfully
building it! Hopefully someone else will benefit from my problem =) Thanks
for the help Craig, much appreciated!
/Jacob
On Fri, Aug 8, 2008 at 10:54 AM, Jacob Holm <[EMAIL PROTECTED]> wrote:
> I ran the command again from a clean source copy, and here is the terminal
> log:
>
> Setting environment for using Microsoft Visual Studio 2005 x86 tools.
>
> C:\Program Files\Microsoft Visual Studio 8\VC>cd..
>
> C:\Program Files\Microsoft Visual Studio 8>cd..
>
> C:\Program Files>cd..
>
> C:\>cd pdf
>
> C:\PDF>cd jpeg-6b
>
> C:\PDF\jpeg-6b>nmake /f makefile.vc /a
>
> Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> NMAKE : fatal error U1073: don't know how to make 'jconfig.h'
> Stop.
>
> C:\PDF\jpeg-6b>set
> ALLUSERSPROFILE=C:\Documents and Settings\All Users
> APPDATA=C:\Documents and Settings\jh\Application Data
> CLIENTNAME=Console
> CommonProgramFiles=C:\Program Files\Common Files
> COMPUTERNAME=JACOB-PC
> ComSpec=C:\WINDOWS\system32\cmd.exe
> DevEnvDir=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE
> DXSDKROOT=C:\Program Files\Microsoft SDK\.
> FP_NO_HOST_CHECK=NO
> FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework
> FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0
> FrameworkVersion=v2.0.50727
> HOMEDRIVE=C:
> HOMEPATH=\Documents and Settings\jh
> IFORT_COMPILER10=C:\Program Files\Intel\Compiler\Fortran\10.1.024\
> INCLUDE=C:\Program Files\Microsoft Visual Studio
> 8\VC\ATLMFC\INCLUDE;C:\Program
> Files\Microsoft Visual Studio 8\VC\INCLUDE;C:\Program Files\Microsoft
> Visual Stu
> dio 8\VC\PlatformSDK\include;C:\Program Files\Microsoft Visual Studio
> 8\SDK\v2.0
> \include;
> INTEL_LICENSE_FILE=C:\Program Files\Common Files\Intel\Licenses
> LIB=C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB;C:\Program
> Files\Mi
> crosoft Visual Studio 8\VC\LIB;C:\Program Files\Microsoft Visual Studio
> 8\VC\Pla
> tformSDK\lib;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib;
> LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program
> Files\Microsoft
> Visual Studio 8\VC\ATLMFC\LIB
> LOGONSERVER=\\VIRTHOST02
> NUMBER_OF_PROCESSORS=2
> OS=Windows_NT
> Path=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program
> Files\Mic
> rosoft Visual Studio 8\VC\BIN;C:\Program Files\Microsoft Visual Studio
> 8\Common7
> \Tools;C:\Program Files\Microsoft Visual Studio
> 8\Common7\Tools\bin;C:\Program F
> iles\Microsoft Visual Studio 8\VC\PlatformSDK\bin;C:\Program
> Files\Microsoft Vis
> ual Studio
> 8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Progr
> am Files\Microsoft Visual Studio
> 8\VC\VCPackages;C:\WINDOWS\system32;C:\WINDOWS;
> C:\WINDOWS\System32\Wbem;c:\Program Files\Microsoft SQL
> Server\90\Tools\binn\;C:
> \Program Files\cvsnt;C:\Program
> Files\Intel\Compiler\Fortran\10.1.024\\IA32\Lib;
> C:\Program Files\TortoiseSVN\bin;C:\Program Files\CMake 2.6\bin
> PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
> PROCESSOR_ARCHITECTURE=x86
> PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 6, GenuineIntel
> PROCESSOR_LEVEL=6
> PROCESSOR_REVISION=1706
> ProgramFiles=C:\Program Files
> PROMPT=$P$G
> SESSIONNAME=Console
> SystemDrive=C:
> SystemRoot=C:\WINDOWS
> TEMP=C:\DOCUME~1\jh\LOCALS~1\Temp
> TMP=C:\DOCUME~1\jh\LOCALS~1\Temp
> USERDNSDOMAIN=KLEPP.DDS.NO
> USERDOMAIN=DDSS
> USERNAME=jh
> USERPROFILE=C:\Documents and Settings\jh
> VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8\VC
> VS80COMNTOOLS=C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\
> VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8
> windir=C:\WINDOWS
>
> C:\PDF\jpeg-6b>
>
>
> On Fri, Aug 8, 2008 at 10:26 AM, Craig Ringer <[EMAIL PROTECTED]
> > wrote:
>
>> 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