Hashcat 3.0 ERROR: clBuildProgram()
#1
Hi. 
I receive this error when trying to run hashcat 3.0:


Code:
[/font][/size][/color]
hashcat (v3.00-1-g67a8d97) starting in benchmark-mode...

OpenCL Platform #1: Advanced Micro Devices, Inc.
================================================
- Device #1: Spectre, 1151/2559 MB allocatable, 6MCU
- Device #2: Oland, 1344/2048 MB allocatable, 6MCU
- Device #3: AMD A10-7300 Radeon R6, 10 Compute Cores 4C+6G , 7118/7118 MB allocatable, 4MCU



ERROR: clBuildProgram() : -11 : CL_BUILD_PROGRAM_FAILURE





=== Build Options : -I "D:/Decrypt/hashcat-3.00/OpenCL/" -D VENDOR_ID=1 -D CUDA_ARCH=0 -D VECT_SIZE=1 -D DEVICE_TYPE=4 -D DGST_R0=0 -D DGST_R1=3 -D DGST_R2=2 -D DGST_R3=1 -D DGST_ELEM=4 -D KERN_TYPE=900 -D _unroll -cl-std=CL1.1 ===



=== Build Log (start) ===
C:\Users\Tins\AppData\Local\Temp\\OCL7516T10.cl:10:10: fatal error: 'inc_vendor.cl' file not found
#include "inc_vendor.cl"
         ^

error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR

=== Build Log (end) ===


[color=#000000][size=small][font=Verdana, Arial, sans-serif]


OS: Win10 x64
Version oclHashcat 2.01 works fine
#2
It looks like you are missing the inc_vendor.cl OpenCL file, so when it tries to compile that it fails. Go look under
D:/Decrypt/hashcat-3.00/OpenCL/ and see if it is there. If it is, make sure hashcat has permissions to read it. If it isn't, reinstall hashcat. If that still doesn't work, try downloading it again and trying. If it *still* doesn't work after that, make sure your antivirus isn't removing it for some reason.
#3
(07-03-2016, 03:12 PM)MsChievous Wrote: It looks like you are missing the inc_vendor.cl OpenCL file, so when it tries to compile that it fails. Go look under
D:/Decrypt/hashcat-3.00/OpenCL/ and see if it is there. If it is, make sure hashcat has permissions to read it. If it isn't, reinstall hashcat. If that still doesn't work, try downloading it again and trying. If it *still* doesn't work after that, make sure your antivirus isn't removing it for some reason.

It's working!
I copied files from folder OpenCL to \AppData\Local\Temp\
#4
We highly recommend that you DO NOT copy any haschat (include) files to a system folder or that you use similar stupid workarounds like this.

The problem with such a "fix" is that after you do that, you don't only have a broken driver (which you already had otherwise the problem with the failed includes wouldn't be there at all), but also have a very broken hashcat installation.

Any updates to hashcat would mean that you need to keep the folder within %APPDATA% also up-to-date and by not doing this carefully enough it only leads to very strange and difficult to troubleshoot problems.
Fix your driver installation already. Instead of breaking your system w/ those "fixes".

See here for a reference, how "similar"/"identical" some systems are, but still have this problem if the drivers were not installed correctly:
https://hashcat.net/forum/thread-5566-po...l#pid29947
https://hashcat.net/forum/thread-5566-po...l#pid29952