Hello, is this library supposed to work on Mac OS X? I did the following:
$ hg clone ssh://email@example.com/tunnuz/json $ mkdir build $ cd build $ cmake ..
At this point, I had the output from CMake:
-- The C compiler identification is Clang 5.1.0 -- The CXX compiler identification is Clang 5.1.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found BISON: /usr/bin/bison (found version "2.3") -- Found FLEX: /usr/bin/flex (found version "2.5.35") -- Configuring done -- Generating done -- Build files have been written to: /Users/ataias/Documents/json/build
$ make /Users/ataias/Documents/json/json.y:20.1-5: invalid directive: `%code' /Users/ataias/Documents/json/json.y:20.7-14: syntax error, unexpected identifier make: *** [../json.tab.cc] Error 1 make: *** [CMakeFiles/json.dir/all] Error 2 make: *** [all] Error 2
Is this a known issue? Has anyone succeed to compile on Mac? What about required libraries? I didn't see any requirement to install when I looked in the README.