Permalink
Browse files

Minor fixes to make it compile

  • Loading branch information...
1 parent a7a2010 commit dafef3bd79316c9dee2f5b157ad9e91ef5ec570d Martin York committed May 7, 2012
Showing with 14 additions and 5 deletions.
  1. +3 −0 Json/ParserInterface.cpp
  2. +0 −2 README
  3. +1 −1 Serialize/JsonSerializer.h
  4. +10 −2 third/setup
@@ -7,6 +7,9 @@
#include <string>
#include <iterator>
+
+#include <stdint.h>
+
template<typename C>
struct TransformJsonStringIter: std::iterator<std::input_iterator_tag, char, ptrdiff_t, char*,char&>
{
View
@@ -1,6 +1,4 @@
-Test:
-
Yet another JSON serialization library for C++
Objective:
@@ -59,7 +59,7 @@
* std::cin >> jsonImport(vec);
*/
#include "json/ScannerSax.h"
-#include "json/ParserShiftReduce.tab.hpp"
+#include "json/ParserShiftReduce.h"
#include <boost/mpl/at.hpp>
#include <boost/mpl/pop_front.hpp>
#include <boost/mpl/for_each.hpp>
View
@@ -2,6 +2,14 @@
ROOT=`pwd`
+# Need this to unpack some of the packages.
+# sudo apt-get install unzip
+
+#
+# Need this for building
+sudo apt-get install bison flex
+sudo apt-get install libboost-dev libboost-doc
+
#
# Change this as required to point at the root of ThorsAnvil code
THORSANVIL_ROOT=`dirname ${ROOT}`
@@ -11,7 +19,7 @@ THORSANVIL_ROOT=`dirname ${ROOT}`
# to the directory containing 'boost' If not set it will search for the
# boost tar.gz archive in the current directory and use that
#
-USE_INSTALLED_BOOST=
+USE_INSTALLED_BOOST=/usr/include
#
@@ -23,7 +31,7 @@ BUILD_BOOST=0
# Set to 1 to build boost logging.
# Note: this implies building the boost lib
#
-BOOST_LOG=1
+BOOST_LOG=0
#
# If you want to use the unit test automatically you need this

0 comments on commit dafef3b

Please sign in to comment.