Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http_utils包如何安装 #2

Open
xueyuannn opened this issue May 16, 2024 · 3 comments
Open

http_utils包如何安装 #2

xueyuannn opened this issue May 16, 2024 · 3 comments

Comments

@xueyuannn
Copy link

$ cmake ../tree_editor/
CMake Error at CMakeLists.txt:62 (find_package):
Could not find a package configuration file provided by "http_utils" with
any of the following names:

http_utilsConfig.cmake
http_utils-config.cmake

Add the installation prefix of "http_utils" to CMAKE_PREFIX_PATH or set
"http_utils_DIR" to a directory containing one of the above files. If
"http_utils" provides a separate development package or SDK, be sure it has
been installed.

-- Configuring incomplete, errors occurred!
See also "/home/amov/code/BTTreeQt/build/CMakeFiles/CMakeOutput.log".
See also "/home/amov/code/BTTreeQt/build/CMakeFiles/CMakeError.log".

你好,请问这个问题要怎么解决

@huangfeidian
Copy link
Owner

这个库在这里 https://github.com/huangfeidian/http_utils 依赖于一个纯头文件版本的asio 你看一下这个git里的cmake 把asio_dir变量传递进去

@huangfeidian
Copy link
Owner

更新了一下这个http_utils 现在直接依赖boost了 省去了下载asio的麻烦

@xueyuannn
Copy link
Author

好的,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants