[Ipe-discuss] Fwd: cygwin build of pdftoipe
René van Oostrum
rwvo at xs4all.nl
Thu Sep 16 19:19:54 CEST 2010
> Hi,
>
> I was able to successfully build pdftoipe 20091014 on Cygwin, using the libpoppler build at http://sourceware.org/cygwinports . I installed the following packages from cygwin ports:
>
> libpoppler-cpp-devel 0.14.2-1
> libpoppler-cpp0 0.14.2-1
> libpoppler-devel 0.14.2-1
> libpoppler7 0.14.2-1
> poppler-data 0.4.2-1
>
> I also found I had to install libpng14 from the standard Cygwin repository - not to build, but to run. To debug issues like this, use the cygcheck utility provided with Cygwin.
>
> Instructions on how to install packages from cygwin ports are on the web page identified above.
>
> I did have to edit the makefile. A unified diff is shown below.
>
>> --- Makefile.orig 2009-10-14 09:19:12.000000000 -0400
>> +++ Makefile 2010-09-16 11:58:01.932133900 -0400
>> @@ -4,8 +4,9 @@
>>
>> TARGET = pdftoipe
>>
>> -CPPFLAGS += $(shell pkg-config --cflags poppler)
>> -LIBS += $(shell pkg-config --libs poppler)
>> +CPPFLAGS += -I /usr/include/poppler
>> +LIBS += -lpoppler
>> +
>> CXXFLAGS += -Wno-write-strings
>>
>> all: $(TARGET)
>
> Installation consists of manually copying the executable to /usr/local/bin, and the man page to /usr/local/man/man1.
>
> Regards
> --
> James R. Phillips
> Principal Engineer
> Honeywell MCOE Systems Modeling and Analysis
> South Bend, IN
> 574-231-2306
> James.Phillips at honeywell.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/ipe-discuss/attachments/20100916/230a9530/attachment.html
More information about the Ipe-discuss
mailing list