Re: [Podofo-users] build error

2018-05-16 Thread zyx
On Tue, 2018-05-15 at 12:02 +0200, M. Froese wrote: > cmake -G "Visual Studio 15 2017" .\src > -DCMAKE_INCLUDE_PATH="%FTDIR%\include;%JPEGDIR%\include;%JPEGDIR%;%ZL > IBDIR%\include" > > the command output shows: > > C:\ecworks_mep\podofo-0.9.6-rc1>build.cmd Hi, I usually create a 'buil

Re: [Podofo-users] build error

2018-05-15 Thread Joerg Sonnenberger
On Tue, May 15, 2018 at 12:02:30PM +0200, M. Froese wrote: > cmake -G "Visual Studio 15 2017" .\src > -DCMAKE_INCLUDE_PATH="%FTDIR%\include;%JPEGDIR%\include;%JPEGDIR%;%ZLIBDIR%\include" This tells cmake to configure the src directory, not the current directory. Joerg --

[Podofo-users] build error

2018-05-15 Thread M. Froese
hi everyone, i have downloaded the latest podofo-0.9.6-rc1 and want to build it on a win10 machine using  the visual studio 2017 command prompt. i have cmake 3.11.1 and all the nescessary libs installed/built. i created a build.cmd as described in the readme file, first in an empty subdirecto

Re: [Podofo-users] build error

2008-04-15 Thread Craig Ringer
Dominik Seichter wrote: > Hmm, does this help? Making it explicitly a long? > > #define PODOFO_MAX_OBJ_NUMBER 99L > > AFAIK Craig is working on x86_64, too, as I am. So our 64bit longs should be > definitely large enough, maybe we have to check MAX_INT or MAX_LONG on other > platforms.

Re: [Podofo-users] build error

2008-04-15 Thread Dominik Seichter
Hmm, does this help? Making it explicitly a long? #define PODOFO_MAX_OBJ_NUMBER 99L AFAIK Craig is working on x86_64, too, as I am. So our 64bit longs should be definitely large enough, maybe we have to check MAX_INT or MAX_LONG on other platforms. This could solve your problem on Unix

[Podofo-users] build error

2008-04-15 Thread Pierre Marchand
Hi, I got this today: /home/pierre/system/src/podofo/src/PdfParser.cpp:483: error: integer constant is too large for ‘long’ type /home/pierre/system/src/podofo/src/PdfParser.cpp:484: error: integer constant is too large for ‘long’ type with: ../podofo/src/PdfDefines.h:#define PODOFO_MAX_OBJ_NUMB