Closed sibi-venti closed 1 year ago
Hi,
It looks like SSH2 is enabled by default https://github.com/curl/curl/blob/master/CMakeLists.txt#L876C8-L876C24. Please try to add "CURL_USE_LIBSSH2": "OFF"
to https://github.com/mvukov/rules_ros2/blob/main/repositories/curl.BUILD.bazel#L18. Don't know why you get those linking errors, see for instance bazel-bin/external/curl/curl_foreign_cc/CMake.log
to learn more.
cache_entries = {
"CMAKE_POSITION_INDEPENDENT_CODE": "ON", # Must be set!
"BUILD_SHARED_LIBS": "OFF",
# curl specific options.
"BUILD_CURL_EXE": "OFF",
"CMAKE_PREFIX_PATH": "$EXT_BUILD_DEPS/openssl",
"CURL_DISABLE_LDAP": "ON",
"CURL_ENABLE_SSL": "ON",
"CURL_USE_LIBPSL": "OFF",
"CURL_USE_LIBSSH2": "OFF",
# TODO(mvukov) Fine-tune other options.
},
it worked https://github.com/mvukov/rules_ros2/blob/main/repositories/curl.BUILD.bazel#L18
how do i solve this?