https://github.com/myriadrf/LoRa-SDRから複製した Pothos 用の LoRa SDR ブロックをインストールしようとすると、次のエラーが発生します。
-- Poco_VERSION: 1.7.2
-- Poco_INCLUDE_DIRS:
-- Poco_LIBRARIES: Poco::Foundation;Poco::Util;Poco::JSON;Poco::XML;Poco::Net
-- PothosSerialization_VERSION: 0.2.0
-- PothosSerialization_INCLUDE_DIRS: /usr/include
-- PothosSerialization_LIBRARIES: /usr/lib/x86_64-linux-gnu/libPothosSerialization.so
CMake Error at /home/jernej/pothos/cmake/PothosConfig.cmake:82 (file):
file failed to open for reading (No such file or directory):
/home/jernej/LoRa-SDR/POTHOS_INCLUDE_DIR-NOTFOUND/Pothos/System/Version.hpp
Call Stack (most recent call first):
/home/jernej/pothos/cmake/PothosConfig.cmake:240 (_POTHOS_GET_ABI_VERSION)
CMakeLists.txt:7 (find_package)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
POTHOS_INCLUDE_DIR
used as include directory in directory /home/jernej/LoRa-SDR
used as include directory in directory /home/jernej/LoRa-SDR
used as include directory in directory /home/jernej/LoRa-SDR
used as include directory in directory /home/jernej/LoRa-SDR
used as include directory in directory /home/jernej/LoRa-SDR
used as include directory in directory /home/jernej/LoRa-SDR
used as include directory in directory /home/jernej/LoRa-SDR
ファイルへのフルパスを挿入すると
/ポトス/システム/Version.hpp
PothosConfig.cmake では、最初のエラーは消えますが、これはまだ表示されます:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
POTHOS_INCLUDE_DIR
used as include directory in directory /home/jernej/LoRa-SDR
used as include directory in directory /home/jernej/LoRa-SDR
used as include directory in directory /home/jernej/LoRa-SDR
used as include directory in directory /home/jernej/LoRa-SDR
used as include directory in directory /home/jernej/LoRa-SDR
used as include directory in directory /home/jernej/LoRa-SDR
used as include directory in directory /home/jernej/LoRa-SDR
私の場合、Pothos と LoRa-SDR のディレクトリは /home/jernej/ フォルダーにあります。
どのパスに POTHOS_INCLUDE_DIR を設定する必要がありますか、それとも何か他のことをする必要がありますか?