Cannot compile samples using VS2019 GUI

オープン
#730 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cpp
領域
build-system

調査の方向性

VS2019 16.11.4 と oneAPI 2021.4 を使用してサンプルプロジェクトで失敗を再現し、mandelbrot.vcxproj と、報告されている llvm-objcopy.exe、clang-offload-bundler、dpcpp のエラーから調査を開始します。報告で言及されているツールの場所とバージョンを比較します。コンパイル失敗の原因が特定され、影響を受けたサンプルが正常にコンパイルできれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

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

主要言語
C++
スター
1.2k
フォーク
745
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

oneapi-src/oneAPI-samples のほかの issue

oneapi-src/oneAPI-samples の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。