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

链接时找不到 Boost::asio #13

Open
LHzeromy opened this issue Nov 27, 2024 · 1 comment
Open

链接时找不到 Boost::asio #13

LHzeromy opened this issue Nov 27, 2024 · 1 comment

Comments

@LHzeromy
Copy link

CMake Error at build/_deps/aimrt-src/src/runtime/core/CMakeLists.txt:35 (target_link_libraries):
Target "aimrt_runtime_core" links to:

Boost::asio

but the target was not found. Possible reasons include:

* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
@LHzeromy
Copy link
Author

LHzeromy commented Dec 3, 2024

卡在# 编译./build.sh $DOWNLOAD_FLAGS这里,Boost版本1.82版本和设置是正确的, 目前的问题是这个报错的CMakeLists.txt是通过这个工程里面的build.sh这个项目脚本生成的,处在生成的build文件夹里面,不能直接修改这个CMakeLists.txt的内容以解决报错,有什么解决方案吗?在总的CMakeLists.txt下指定 Boost 路径和在运行 build.sh 时明确指定 Boost 1.82 的路径这两种方法都无法解决报错。万分感谢。
image

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

1 participant