gpt4 book ai didi

c++ - biicode.conf 中的 Chaiscript #include 语句映射

转载 作者:太空狗 更新时间:2023-10-29 20:39:05 25 4
gpt4 key购买 nike

我想创建一个依赖于 chaiscript block (lefticus/ChaiScript) 的 biicode block 。如果我以这种方式包含 chaiscript header

#include <lefticus/ChaiScript/chaiscript/chaiscript.hpp>

bii find 工作正常。但我想将它们包括在内

#include <chaiscript/chaiscript.hpp>

所以我更改了我的 biicode.conf 如下:

[includes]
chaiscript/*.hpp: lefticus/ChaiScript

但后来我得到了

florian@florian-VirtualBox:~/dev/ATE$ bii find
INFO: Processing changes...
WARN: There are local unresolved dependencies
They will not be searched in the server
Unresolved: chaiscript/chaiscript.hpp, chaiscript/chaiscript_stdlib.hpp
INFO: Finding missing dependencies in server
INFO: Looking for chaiscript/utility...
WARN: Can't find block candidate for: chaiscript/utility
INFO: Looking for chaiscript/dispatchkit...
WARN: Can't find block candidate for: chaiscript/dispatchkit
INFO: No block candidates found

我必须如何配置 biicode 才能使其与包含的“经典”chaiscript 一起使用?

谢谢

最佳答案

你做得很好,但你也需要写需求:

[requirements] 
lefticus/ChaiScript: 1
[includes]
chaiscript/*.hpp: lefticus/ChaiScript

这样你就可以保持你的包含为:

#include "chaiscript/chaiscript.hpp"

PD:这是必要的,因为“bii find”还不适用于此类包含映射。

关于c++ - biicode.conf 中的 Chaiscript #include 语句映射,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29061018/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com