问题描述
我正在尝试在Windows 10平台(Visual Studio 16 2019,Cmake等)上构建Hyperledger-Iroha,但运气不佳。问题是“ SOCI_postgresql_PLUGIN-NOTFOUND”!我收到以下错误消息。感谢所有帮助,并在此先感谢。
C:\Users\Tanis\OneDrive\Desktop\iroha>cmake -H. -Bbuild -DCMAKE_TOOLCHAIN_FILE=C:\Users\Tanis\OneDrive\Desktop\vcpkg\scripts\buildsystems\vcpkg.cmake -G "Ninja"
-- -DCMAKE_BUILD_TYPE=Debug
-- -DTESTING=ON
-- -DUSE_BTF=OFF
-- -DBENCHMARKING=OFF
-- -DFUZZING=OFF
-- -DCOVERAGE=OFF
-- -DPACKAGE_ZIP=OFF
-- -DPACKAGE_TGZ=OFF
-- -DPACKAGE_RPM=OFF
-- -DPACKAGE_DEB=OFF
-- -DSANITIZE_THREAD=OFF
-- -DSANITIZE_ADDRESS=OFF
-- -DSANITIZE_MEMORY=OFF
-- -DSANITIZE_UNDEFINED=OFF
-- RapidJSON found. Headers: C:/Users/Tanis/OneDrive/Desktop/vcpkg/installed/x86-windows/share/rapidjson/../../include
-- Could NOT find soci (missing: SOCI_postgresql_PLUGIN)
-- Git repo pretty version: 1.2.0-rc.1-33-geccea5eb
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Tanis/OneDrive/Desktop/iroha/build
C:\Users\Tanis\OneDrive\Desktop\iroha>cmake --build build --target irohad -- -j8
ninja: error: 'SOCI_postgresql_PLUGIN-NOTFOUND',needed by 'bin/irohad.exe',missing and no known rule to make it
---
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)