Hi, I am using the computecpp project template with VS2019 and when I try to build the generated project I get a number of errrors and the project fails to build.
1>------ Build started: Project: ComputeCpp SYCL C++2, Configuration: Release x64 ------
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\intrin.h(56,1): error : expected function body after function declarator
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\memory(619,23): error : use of undeclared identifier ‘__iso_volatile_load32’
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\atomic(895,13): error : use of undeclared identifier ‘__iso_volatile_store32’
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\atomic(899,13): error : use of undeclared identifier '_iso_volatile_store32’
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\atomic(2217,57): error : too many arguments to function call, expected single argument 'Value’, have 2 arguments
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\ComputeCpp.targets(60,9): error MSB3721: The command "“C:\Program Files\Codeplay\ComputeCpp\bin\compute++.exe” -D_SIZE_T_DEFINED -D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH -D_HAS_CONDITIONAL_EXPLICIT=0 -D__CUDACC -Wno-ignored-attributes -fdiagnostics-format=msvc -sycl -O2 -nobuiltininc -I"C:\Program Files\Codeplay\ComputeCpp\include" -I"C:\Program Files\Codeplay\ComputeCpp\include\image_library" -I"C:\Users\stuart-i7\source\repos\ComputeCpp SYCL C++2\ComputeCpp SYCL C++2\" -I"C:\Program Files\Codeplay\ComputeCpp\include" -I"C:\Program Files\Codeplay\ComputeCpp\include\image_library" -I"C:\Users\stuart-i7\source\repos\ComputeCpp SYCL C++2\ComputeCpp SYCL C++2\" -o"C:\Users\stuart-i7\source\repos\ComputeCpp SYCL C++2\ComputeCpp SYCL C++2\main.sycl" -c main.cpp " exited with code 1.
1>Done building project “ComputeCpp SYCL C++2.vcxproj” – FAILED.