Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to compile on linux #11

Open
abhi-infrrd opened this issue Nov 13, 2018 · 1 comment
Open

Not able to compile on linux #11

abhi-infrrd opened this issue Nov 13, 2018 · 1 comment

Comments

@abhi-infrrd
Copy link

[ 63%] No patch step for 'jsoncpp'
[ 66%] No update step for 'jsoncpp'
[ 70%] No configure step for 'jsoncpp'
[ 73%] No build step for 'jsoncpp'
[ 76%] No install step for 'jsoncpp'
[ 80%] Completed 'jsoncpp'
[ 80%] Built target jsoncpp
Scanning dependencies of target twitter
[ 83%] Building CXX object CMakeFiles/twitter.dir/main.cpp.o
/home/abhi/Music/twitter/main.cpp:39:10: fatal error: json.hpp: No such file or directory
 #include <json.hpp>
          ^~~~~~~~~~
compilation terminated.
CMakeFiles/twitter.dir/build.make:62: recipe for target 'CMakeFiles/twitter.dir/main.cpp.o' failed
make[2]: *** [CMakeFiles/twitter.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:210: recipe for target 'CMakeFiles/twitter.dir/all' failed
make[1]: *** [CMakeFiles/twitter.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2

I have installed jsoncpp independently and it is still failing. Any tips?

@kirkshoop
Copy link
Owner

Yes. The cmake build clones the json repo. In that repo the header files have moved. I have made changes on my local machine to account for this. My changes are not yet ready to make a pr from. Let me know if you are able to get it to compile!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants