You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did not use the makefile as it was incompatible with nmake. I got the following errors:
DeviceInfo.cpp
C:\Users\raghu\Documents\code\practice\opcl_data\Exercises\Cpp_common\cl.hpp(5363): error C2039: 'clEnqueueReadBufferRect': is not a member of '`global namespace''
C:\Users\raghu\Documents\code\practice\opcl_data\Exercises\Cpp_common\cl.hpp(5363): error C3861: 'clEnqueueReadBufferRect': identifier not found
C:\Users\raghu\Documents\code\practice\opcl_data\Exercises\Cpp_common\cl.hpp(5402): error C2039: 'clEnqueueWriteBufferRect': is not a member of '`global namespace''
C:\Users\raghu\Documents\code\practice\opcl_data\Exercises\Cpp_common\cl.hpp(5402): error C3861: 'clEnqueueWriteBufferRect': identifier not found
C:\Users\raghu\Documents\code\practice\opcl_data\Exercises\Cpp_common\cl.hpp(5440): error C2039: 'clEnqueueCopyBufferRect': is not a member of '`global namespace''
C:\Users\raghu\Documents\code\practice\opcl_data\Exercises\Cpp_common\cl.hpp(5440): error C3861: 'clEnqueueCopyBufferRect': identifier not found
C:\Users\raghu\Documents\code\practice\opcl_data\Exercises\Cpp_common\err_code.h(62): error C2065: 'CL_MISALIGNED_SUB_BUFFER_OFFSET': undeclared identifier
C:\Users\raghu\Documents\code\practice\opcl_data\Exercises\Cpp_common\err_code.h(64): error C2065: 'CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST': undeclared identifier
C:\Users\raghu\Documents\code\practice\opcl_data\Exercises\Cpp_common\err_code.h(134): error C2065: 'CL_INVALID_PROPERTY': undeclared identifier
C:\Users\raghu\Documents\code\practice\opcl_data\Exercises\Cpp_common\err_code.h(62): error C2051: case expression not constant
C:\Users\raghu\Documents\code\practice\opcl_data\Exercises\Cpp_common\err_code.h(64): error C2051: case expression not constant
C:\Users\raghu\Documents\code\practice\opcl_data\Exercises\Cpp_common\err_code.h(134): error C2051: case expression not constant
DeviceInfo.cpp(56): error C2065: 'CL_DEVICE_OPENCL_C_VERSION': undeclared identifier
What is a possible reason that this could happen? I am running Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32824 for x64.
The text was updated successfully, but these errors were encountered:
I have installed opencl on windows with the help of visual studio devtools and vcpkg.
I
cd
'd into the folderExercises/Exercise01
and I tried running the file with the following command:I did not use the makefile as it was incompatible with nmake. I got the following errors:
What is a possible reason that this could happen? I am running
Microsoft (R) C/C++ Optimizing Compiler Version 19.37.32824 for x64
.The text was updated successfully, but these errors were encountered: