oneAPI-samples icon indicating copy to clipboard operation
oneAPI-samples copied to clipboard

Cannot compile samples using VS2019 GUI

Open TrailingStop opened this issue 3 years ago • 2 comments

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:\PROGRA~2\Intel\oneAPI\compiler\20214~1.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

TrailingStop avatar Nov 01 '21 15:11 TrailingStop

OneSmpl_Team1 working on this

hexu33 avatar Apr 25 '23 01:04 hexu33

(OneSmpl_Team1)

@TrailingStop

Please try it on the latest oneAPI and samples.

hexu33 avatar Apr 25 '23 01:04 hexu33