I've compiled pdfedit-4.4.1 earlier today after having trouble with 0.4.5
and it runs.  I did manage to hang it poking around in a pdf file, I have
better luck on Linux.  Still, much more robust than 0.4.3.

On Mac OS X 10.5.7, using boost 1.0.42 compiled under macports 1.8.2,
Apple's gcc-4.0.1 from XCode.  Straight forward 'configure', simply 'make'.


Complains on include pdfedit-0.4.5/src/kernel/cobjectsimple.h:

g++ -c  -O2   -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing
-fexceptions    -pipe -posix -ansi -std=c++98 -pedantic -I.
-I/Users/diogratia/Desktop/pdfedit-0.4.5/src
-I/Users/diogratia/Desktop/pdfedit-0.4.5/src/xpdf/  -I/opt/local/include
-I/opt/local/include/freetype2 -I/opt/local/include  -I/usr/include -o
cpagecontents.o cpagecontents.cc

/Users/diogratia/Desktop/pdfedit-0.4.5/src/kernel/cobjectsimple.h: In copy
constructor 'pdfobjects::CObjectSimple<pInt>::CObjectSimple(const
pdfobjects::CObjectSimple<pInt>&)':
/opt/local/include/boost/noncopyable.hpp:27: error:
'boost::noncopyable_::noncopyable::noncopyable(const
boost::noncopyable_::noncopyable&)' is private
/Users/diogratia/Desktop/pdfedit-0.4.5/src/kernel/cobjectsimple.h:104:
error: within this context
cpagecontents.cc: In member function 'void
pdfobjects::CPageContents::addInlineImage(const std::vector<char,
std::allocator<char> >&, const libs::Point&, const libs::Point&)':
cpagecontents.cc:543: warning: synthesized method
'pdfobjects::CObjectSimple<pInt>::CObjectSimple(const
pdfobjects::CObjectSimple<pInt>&)' first required here

/Users/diogratia/Desktop/pdfedit-0.4.5/src/kernel/cobjectsimple.h: In copy
constructor 'pdfobjects::CObjectSimple<pName>::CObjectSimple(const
pdfobjects::CObjectSimple<pName>&)':
/opt/local/include/boost/noncopyable.hpp:27: error:
'boost::noncopyable_::noncopyable::noncopyable(const
boost::noncopyable_::noncopyable&)' is private
/Users/diogratia/Desktop/pdfedit-0.4.5/src/kernel/cobjectsimple.h:104:
error: within this context
cpagecontents.cc: In member function 'void
pdfobjects::CPageContents::addInlineImage(const std::vector<char,
std::allocator<char> >&, const libs::Point&, const libs::Point&)':
cpagecontents.cc:545: warning: synthesized method
'pdfobjects::CObjectSimple<pName>::CObjectSimple(const
pdfobjects::CObjectSimple<pName>&)' first required here

make[2]: *** [cpagecontents.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [kernel] Error 2
make: *** [source] Error 2

This involves the new AddInlineImage code. This has the look of a compiler
version language compliance issue.  Any hints?

Thanks


------------------------------------------------------------------------------

_______________________________________________
Pdfedit-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdfedit-support

Reply via email to