Hello, I did have some problems using the macports version as well. Since then I switched to the latest SVN version of PoDoFo and it works very well with Xcode and Mountain Lion.
Maybe you should give it a try. Regards -- Palmer Zent On Tuesday, January 1, 2013 at 3:23 PM, Sagen de Jonge wrote: > Hi, > > I'm trying to compile the PoDoFo helloworld example on OSX Mountain Lion > using Xcode 4.5.2 and I keep getting compiling errors as below: > > /opt/local/include/podofo/base/PdfInputDevice.h:109:49: Incomplete type > 'std::ios_base' named in nested name specifier > /opt/local/include/podofo/base/PdfInputDevice.h:136:52: Incomplete type > 'std::ios_base' named in nested name specifier > /opt/local/include/podofo/base/PdfInputDevice.h:187:33: Incomplete type > 'std::ios_base' named in nested name specifier > /opt/local/include/podofo/base/PdfInputDevice.h:187:22: Variable has > incomplete type 'void' > /opt/local/include/podofo/base/PdfInputDevice.h:187:57: Expected ';' after > top level declarator > /opt/local/include/podofo/base/PdfInputDevice.h:188:1: Expected unqualified-id > > I used MacPorts to install PoDoFo so it is installed in /opt/local/lib. In my > Xcode project I've added /opt/local/include for the header search path and > /opt/local/lib for the library search path. I've also added "-lpodofo" to > other linker flags. I've been at this for quite a few hours with no results. > If anyone has an idea what the problem is I would greatly appreciate some > input. Thanks! > > -sagen > ------------------------------------------------------------------------------ > Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS > and more. Get SQL Server skills now (including 2012) with LearnDevNow - > 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > _______________________________________________ > Podofo-users mailing list > [email protected] (mailto:[email protected]) > https://lists.sourceforge.net/lists/listinfo/podofo-users > >
------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
