Closed manishjha5410 closed 3 months ago
Please tell me guys if someone know the answer
That's not a random error that's a linker problem. You should do a little more research before opening issues especially bug reports.
The issue is with your build scripts. Please make sure you are using the correct version of Boost.Json in standalone mode. The README and CI pipeline have the tested matrix of JSON libraries. Newer versions are likely to not work.
You can find the support CMake configuration here https://github.com/Thalhammer/jwt-cpp/blob/master/cmake/private-find-boost-json.cmake
Feel free to ask more detailed questions if you need more help.
Hi can you provide an in detail steps to use jwt-cpp without picojson and only using boost-json i think there is no documentation correct me if i am wrong
We dont provide any installation intructions.... This is a problem for the whole ecosystem, here are links to how it's done in our CI.
I normally suggest using a package manager but the boost project dropped the standalone more which this is using so you need to use an older version (1.78.0 is the last one) -- this is a whole can of worms because they did not support std::string
Hopefully this helps.
What happened?
Whenever i tried to use boost json traits it just produce some random error
How To Reproduce?
Version
0.7.0
What OS are you seeing the problem on?
Linux
What compiler are you seeing the problem on?
GCC
Relevant log output
Code of Conduct