All files generated as expected. When I then include the files in my project I get an error compiling the generated jsoncpp.cpp :
"fatal error: json/config.h: No such file or directory"
This is making sense as json/config.h was not one of the two headers generated by the amalgamated steps. But obvioulsy I am doing something wrong.
Are there additional headers or shared libraries I need to be including other than those generated by the amalgamation step?
How should I be including the generated files? I am putting the two headers (json.h, json-forwards.h) in my include directory ( eg : ./include/json/json.h) and I have jsoncpp.cpp in the top level of my src.
Thanks for your time.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I cloned the jsonpp repo and followed the instructions to generate the amalgamated source here: https://github.com/open-source-parsers/jsoncpp/wiki/Amalgamated
All files generated as expected. When I then include the files in my project I get an error compiling the generated jsoncpp.cpp :
"fatal error: json/config.h: No such file or directory"
This is making sense as json/config.h was not one of the two headers generated by the amalgamated steps. But obvioulsy I am doing something wrong.
Are there additional headers or shared libraries I need to be including other than those generated by the amalgamation step?
How should I be including the generated files? I am putting the two headers (json.h, json-forwards.h) in my include directory ( eg : ./include/json/json.h) and I have jsoncpp.cpp in the top level of my src.
Thanks for your time.