Hi
So I was trying to do this code from
link : https://www.fixstars.com/en/opencl/book/OpenCLProgrammingBook/first-opencl-program/
and I encounter some problem
Output log
'TrainOpenCL.exe' (Win32): Loaded 'C:\Users\Andre Ivan\Documents\Visual Studio 2013\Projects\TrainOpenCL\x64\Debug\TrainOpenCL.exe'. Symbols loaded.'TrainOpenCL.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Symbols loaded.'TrainOpenCL.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Symbols loaded.'TrainOpenCL.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Symbols loaded.'TrainOpenCL.exe' (Win32): Loaded 'C:\Windows\System32\OpenCL.dll'. Cannot find or open the PDB file.'TrainOpenCL.exe' (Win32): Loaded 'C:\Windows\System32\msvcr120d.dll'. Symbols loaded.'TrainOpenCL.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Symbols loaded.'TrainOpenCL.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded.'TrainOpenCL.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded.'TrainOpenCL.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Symbols loaded. The thread 0x3938 has exited with code 0 (0x0). The thread 0x372c has exited with code 0 (0x0). First-chance exception at 0x00007FFC00CB4820 (ntdll.dll) in TrainOpenCL.exe: 0xC0000139: Entry Point Not Found. The thread 0x3768 has exited with code -1073741511 (0xc0000139). The program '[14172] TrainOpenCL.exe' has exited with code -1073741511 (0xc0000139) 'Entry Point Not Found'.
I suspect something is wrong with my OpenCL.dll which cause error on clCreateCommandQueueWithProperties function. I am also confused even when I change the function into clCreateCommandQueue the same error also come out.
Thank you.