Closed ccas007 closed 3 years ago
Hi @ccas007 , Could you please send the whole build log? Also what version of the cmake are you using?
@ccas007 the log shows that you're using CMake 3.5. At least CMake 3.6 is required for this script, this is what's causing the error.
Because CMake 3.5 defines PROTOBUF_LITE_LIBRARY
instead of Protobuf_LITE_LIBRARY
and in the CMakeLists.txt we use Protobuf_LITE_LIBRARY
and when CMake tries to find it can't so it throws an error that you need 4 arguments. The recommended fix would be to upgrade CMake to at least 3.6.
When following the instructions for building the local proxy, the final step, building the AWS code itself fails to build the make file giving an error that a REPLACE operation has the wrong number of arguments. Both the code downloaded from AWS and following the git download in the local proxy instructions fail the same way in the same place.
Other sources say that this can happen if a string argument is blank, not filled in by the CMAKE.
How do I fix this and build this?