Open HumamHelfawi opened 6 years ago
Met same issue with boost 1.65.1. Workaround by changing CMakeLists.txt: change -Werror to -Wno-error. Not sure if this workaround could be a problem in the future.
@hyiyang yes that what did I do for compiling it. BTW, there is an CMake option for this if you do not you want to edit the flag manually.
there is an CMake option for this if you do not you want to edit the flag manually
What is that CMake option? I'm trying to set up a reproducable and automated build and I'd rather not mess about modifying the CMakeLists.txt file with janky scripts.
@Southclaws it is WERROR
. Just turn it off.|
anybody worked this out ?
on the command line, pass "-DWERROR=OFF"
I don't think this is a cmake option, it's an option that cpprestsdk acts on. see https://github.com/Microsoft/cpprestsdk/blob/master/Release/src/CMakeLists.txt#L188
+1 Similar errors on Ubuntu 18.04 with Boost 1.65.1.
I am trying to build cpprestsk on Ubuntu 16.04 linking to Boost 1.66. I am getting this error:
The full log: