我在ubuntu20.04上安装triton client c++遇到了一些问题,如下:
-- Installing: /project/client/build/install/bin/perf_analyzer
-- Set runtime path of "/project/client/build/install/bin/perf_analyzer" to ""
-- Created symlink: perf_client -> ./perf_analyzer
-- Installing: /project/client/build/install/bin/perf_analyzer_unit_tests
-- Set runtime path of "/project/client/build/install/bin/perf_analyzer_unit_tests" to ""
[100%] Completed 'cc-clients'
[100%] Built target cc-clients
这里表示我使用cmake编译官方仓库22.09客户端已经成功,
但我无法在我自己的c++代码中链接到已经安装成功的库,如find_package(tritonclient REQUIRED)
在cmake时会提示
CMake Error at CMakeLists.txt:11 (find_package):
By not providing "Findtritonclient.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"tritonclient", but CMake did not find one.
Could not find a package configuration file provided by "tritonclient" with
any of the following names:
tritonclientConfig.cmake
tritonclient-config.cmake
Add the installation prefix of "tritonclient" to CMAKE_PREFIX_PATH or set
"tritonclient_DIR" to a directory containing one of the above files. If
"tritonclient" provides a separate development package or SDK, be sure it
has been installed
这意味着在make cc-client之后,应该还有一些步骤,使cmake可以找到tritonclient,由于我是一个triton和c++的noob,我不知道怎么操作,互联网上关于这方面的资料少之又少,请指导。