oneapi-src / oneapi-src/oneAPI-samples
Cannot compile samples using VS2019 GUI
还没有人认领这个 Issue。
- 主要语言
- C++
- 星标
- 1.2k
- 派生
- 745
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi,
I tries to compile the saple project with the latest version of VS2019 (16.11.4) and the latest oneAPI (2021.4) and the latest samples from Nov. 1st. All samples show the same compile error with "llvm-objcopy.exe". Not shur what the problem is, but I found that I have different version of that file installed (Some in the VS 2019 folder, one other in the oneAPI 2021.4 folder)
1>llvm-objcopy.exe: : error : 'x64\Debug\main.obj': function not supported
1>C:\PROGRA2\Intel\oneAPI\compiler\202141.0\windows\bin\clang-offload-bundler: : error : 'llvm-objcopy' tool failed
1>dpcpp: : error : clang-offload-bundler command failed with exit code 1 (use -v to see invocation)
1>Done building project "mandelbrot.vcxproj" -- FAILED.
Any idea what I'm doing wrong?
Thanks,
Daniel
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用 VS2019 16.11.4 和 oneAPI 2021.4 在示例项目中重现该失败,先从 mandelbrot.vcxproj 以及报告中的 llvm-objcopy.exe、clang-offload-bundler 和 dpcpp 错误开始。比较报告中提到的工具位置和版本;当确定编译失败的原因并且受影响的示例成功编译时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp
- 领域
- build-system
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100