Macro error while installing Libtorch with cmake of a different package
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 20/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- cmake, cpp
- 领域
- build-system
调研方向
首先,使用该软件包的 CMake 配置和已链接的 LibTorch 库重现安装过程。检查报告中的 AT_ASSERT 行所涉及的 CMake 定义和宏定义,然后确认配置和软件包构建能够完成,且不会出现 Error 宏参数失败。
由索引模型根据 Issue 内容生成。
描述
I am having a package with its own cmake. I am trying to link the libraries of libtorch with it.
But after successful cmake, following error occured
Error: macro "Error" passed 4 arguments, but takes just 1
AT_ASSERT(impl == nullptr || impl->type() == device.type());
^
- 主要语言
- HTML
- 星标
- 256
- 派生
- 37
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pytorch/cppdocs 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 20/100
-
Feedback 未关闭
相似的 Issue
-
Name consistency 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
eellak/triplestore#65 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
area-Bzlmod team-ExternalDeps type: bug untriaged
难度 2/5 1-3 小时 新手友好度 65/100
bazelbuild/bazel#31291 · 2 条评论 ·
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
bradcypert/plum#53 ·