Closed ezamosch closed 4 years ago
Can you include more info? Build script, source files, URL to repo?
@mrozigor, this is my project: https://github.com/lapleski/CrowServer
In Dao.h I create a data access object to oracle via OCILIB and there I include json.hpp (nlohmann/json). In Server.h I create a server object in which I use Dao class and include crow.h.
How to get build script from MVS I don't know(
I've built this. But first had to convert from MVS to CMake, then remove all dependencies to OCILIB. And then compiled project and it works OK. Maybe you incorrectly copied json.hpp file?
You are right. Looks like the problem is with OCILIB collisions. Anyway @mrozigor thank you. upd: I switched includes of json.hpp before ocilib.h and it compiled without errors.
Hello. I am trying to use nlohmann/json lib in my Crow, but during compilation (MVS 2019) I got tons of errors:
Can somebody share experience how to plug nlohmann/json to my Crow project?