Hi, Using OpenSuse 12.6 x86_64, podofo trunk builds and install fine.
I have some issues with building Podofobrowser. In general the compiler can't find podofo_config.h. Copying that over to from podofo-build to podofobrowser-build/src is a workaround. In RELEASE_0_5_0 this compilation error occurs: ~/work/podofobrowser-build> make [ 5%] Building CXX object src/CMakeFiles/podofobrowser.dir/backgroundloader.o /home/dennis/work/podofobrowser/src/backgroundloader.cpp: In constructor ‘BackgroundLoader::BackgroundLoader(PoDoFo::PdfDocument*)’: /home/dennis/work/podofobrowser/src/backgroundloader.cpp:14:73: error: request for member ‘GetSize’ in ‘doc->PoDoFo::PdfDocument::GetObjects()’, which is of non-class type ‘PoDoFo::PdfVecObjects*’ /home/dennis/work/podofobrowser/src/backgroundloader.cpp: In member function ‘void BackgroundLoader::loadNextObject()’: /home/dennis/work/podofobrowser/src/backgroundloader.cpp:30:75: error: invalid const_cast of an rvalue of type ‘PoDoFo::PdfVecObjects*’ to type ‘PoDoFo::PdfVecObjects&’ make[2]: *** [src/CMakeFiles/podofobrowser.dir/backgroundloader.o] Error 1 make[1]: *** [src/CMakeFiles/podofobrowser.dir/all] Error 2 make: *** [all] Error 2 In trunk (r1497) complilation stops at: [ 50%] Building CXX object src/CMakeFiles/podofobrowser.dir/hexwidget/moc_QHexView.o Linking CXX executable podofobrowser /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: /home/dennis/work/podofo-build/src/libpodofo.a(PdfFontConfigWrapper.cpp.o): undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5' /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: note: 'pthread_mutexattr_settype@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line /lib64/libpthread.so.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [src/podofobrowser] Error 1 make[1]: *** [src/CMakeFiles/podofobrowser.dir/all] Error 2 make: *** [all] Error 2 The latter being a more common problem. Is this a cmake-phase issue maybe? Hope this helps. Regards. Dennis ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
