oneAPI-samples
oneAPI-samples copied to clipboard
Cannot compile samples using VS2019 GUI
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
OneSmpl_Team1 working on this
(OneSmpl_Team1)
@TrailingStop
Please try it on the latest oneAPI and samples.