-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
could this json lib work on windows? #664
Comments
Well the unit tests can be compiled and executed without errors, see https://ci.appveyor.com/project/nlohmann/json/build/2088/job/frx8pqcatlvi6goa Could you provide more information? |
if you want use this lib,you just only need download json.hpp,not the whole repository https://raw.githubusercontent.com/nlohmann/json/develop/src/json.hpp |
thanks for your reply! $ cmake .. I don't know whether it's right til this step. Then I build the project in VS, the errors reported are these: Severity Code Description Project File Line Suppression State thanks for your attention! |
@itviewer thank you for your help! |
@PinkGabriel yes, all other files only used for develop or test json.hpp,you only need json.hpp to develop your Project |
@itviewer thanks, I'll follow the readme and have a try. |
Any news on this? |
@nlohmann Sorry for the delay! |
Thanks for checking back! |
I download the zip on windows, and use cmake in minGW to generate .sln, then compile in VS2015, but I got more than 100 errors.
I saw this in readme:
Though it's 2016 already, the support for C++11 is still a bit sparse. Currently, the following compilers are known to work:
GCC 4.9 - 7.1 (and possibly later)
Clang 3.4 - 3.9 (and possibly later)
Microsoft Visual C++ 2015 / Build Tools 14.0.25123.0 (and possibly later)
Microsoft Visual C++ 2017 / Build Tools 15.1.548.43366 (and possibly later)
My VS2015 version is community 14.0.25431,I'm not sure where the problem is.
Thanks~
The text was updated successfully, but these errors were encountered: