Hi all,
I contribute the attached patch for achieving
what's in the subject. It's made to the current
svn revision, please apply it before any older
unapplied patch. I come around to zyx' discussion
position, please see next e-mail.
Best regards, mabri
Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt (revision 1697)
+++ CMakeLists.txt (working copy)
@@ -462,9 +464,12 @@
ENDIF(BOOST_FOUND)
ENDIF(WANT_BOOST)
+INCLUDE_DIRECTORIES(BEFORE # before toolchain include dir (to ignore installed)
+ ${PoDoFo_SOURCE_DIR} # order will be reversed, so this is the second dir
+ ${PoDoFo_BINARY_DIR} # because of BEFORE, this is the first include dir
+ )
+
INCLUDE_DIRECTORIES(
- ${PoDoFo_BINARY_DIR}
- ${PoDoFo_SOURCE_DIR}
${PoDoFo_SOURCE_DIR}/src
${FREETYPE_INCLUDE_DIR}
${ZLIB_INCLUDE_DIR}
Index: examples/helloworld-base14/helloworld-base14.cpp
===================================================================
--- examples/helloworld-base14/helloworld-base14.cpp (revision 1697)
+++ examples/helloworld-base14/helloworld-base14.cpp (working copy)
@@ -25,13 +25,6 @@
*/
#include <iostream>
-/* Include appropriate system header for standard integer types
-*/
-#ifdef _WIN32
-#include <BaseTsd.h>
-#else
-#include <stdint.h>
-#endif
/*
* Now include all podofo header files, to have access
* to all functions of podofo and so that you do not have
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users