Hey all,
Having a really difficult time building the osmis s3 plugin. I'm on a Mac running Catalina. I've tried both commands mentioned in the docs, and neither work.
First command :
cmake -DCMAKE_TOOLCHAIN_FILE=/usr/local/Cellar/vcpkg/2020.11-1/libexec/scripts/buildsystems/vcpkg.cmake -DUSE_SYSTEM_GOOGLE_TEST=OFF ../../orthanc-object-storage/Aws
Result :
CMake Error at /Users/myname/aws/builds/aws-sdk-cpp/build/aws/orthanc/OrthancFramework/Resources/CMake/DownloadPackage.cmake:100 (message):
CMake is not allowed to download from Internet. Please set the
ALLOW_DOWNLOADS option to ON
This didn't make a ton of sense, because I looked at orthanc-object-storage/Aws/CMakeLists.txt and see "set(ALLOW_DOWNLOADS ON)" right there on line 15.
Second command :
cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_VCPKG_PACKAGES=OFF -DUSE_SYSTEM_GOOGLE_TEST=OFF ../../orthanc-object-storage/Aws
Result :
CMake Error at /Users/myname/aws/builds/aws-sdk-cpp/build/aws/orthanc/OrthancFramework/Resources/CMake/JsonCppConfiguration.cmake:67 (message):
Please install the libjsoncpp-dev package
I looked around and couldn't find a way to install the libjsoncpp-dev package on a Mac. You can install the libjsoncpp package just fine using brew, but not libjsoncpp-dev.
Can anybody out there please help me? I'm not a C++ programmer, so sadly I don't really understand any of this.
--Jeremy