Closed golpa closed 8 years ago
Thanks for reporting this issue.
As there were a number of additional issues with the existing build script, I rewrote it completely. There should be no more issues in #48. If you have time, please take a look and let me know if the rewrite is missing any features you require.
I just tried it and it compiled cleanly without problems. Thank you for also getting rid of the build of ssl and protobuf and relying on the OS build. That significantly reduced the build time of this code
When compiling kinetic-cpp-client on CentOS 6 with cmake version 3 I see the following compile error:
and if you manage to get past that error you get:
The cause seems to be that, at least on my computer, cmake is trying to build the dependencies in the wrong order.
Changing line 222 in CMakeLists.txt from
add_dependencies(kinetic_client openssl)
toadd_dependencies(kinetic_client openssl glog gmock)
seems to fix the issue.