jonano614/DaggerGpuMiner

Will not build - Visual Studio 2015

caseymhunt opened this issue · 2 comments

Admittedly my familiarity with Visual Studio is almost non-existent but there's very little in the README to go on. That being said, the project will not build in VS 2015. This is my build output...

1>------ Build started: Project: DaggerGpuMiner, Configuration: Release x64 ------ 1> MinerManager.cpp 1>c:\users\casey\desktop\daggergpuminer-master\gpuminer\hashcl\CL/cl2.hpp(504): fatal error C1083: Cannot open include file: 'CL/opencl.h': No such file or directory 1> CLMiner.cpp 1>c:\users\casey\desktop\daggergpuminer-master\gpuminer\hashcl\CL/cl2.hpp(504): fatal error C1083: Cannot open include file: 'CL/opencl.h': No such file or directory 1> main.cpp 1>c:\users\casey\desktop\daggergpuminer-master\gpuminer\hashcl\CL/cl2.hpp(504): fatal error C1083: Cannot open include file: 'CL/opencl.h': No such file or directory ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

The environment variable has been declared as such...
env_variables

Please advise.

No idea what's going on. I re-extracted the project and opened again in VS- then it built successfully. 🤷‍♂️

Visual Studio loads environment variables while launching. So if you creates new variable - you need restart opened VSs.