Skip to content

Rust应该怎么导入 #263

Closed Answered by KevinT3Hu
pigeon-fancier asked this question in Q&A
Jun 24, 2024 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

你需要安装MaaFramework

推荐的方法是安装到你的本地。如果是Windows系统,解压最新版本的fw后将路径添加到CMake的search path中,具体方法查询CMake相关文档。最简单的方法是添加到PATH环境变量。

其次你可以添加maa_framework的download feature,会自动在构建时下载对应版本的fw,但这是不推荐的方法。

无论采取何种方法,最终的程序运行时都仍然需要fw的动态库。

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by pigeon-fancier
Comment options

You must be logged in to vote
7 replies
@pigeon-fancier
Comment options

@KevinT3Hu
Comment options

@pigeon-fancier
Comment options

@KevinT3Hu
Comment options

@pigeon-fancier
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants