Ethminer error

Comment

Author: Admin | 2025-04-28

Expected primary-expression before ‘attribute’vector strings(n);^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6115:13: error: ‘strings’ was not declared in this scopestrings[i] = sources[(int)i].data();^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6115:40: error: invalid types ‘const int[int]’ for array subscriptstrings[i] = sources[(int)i].data();^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6116:13: error: ‘lengths’ was not declared in this scopelengths[i] = sources[(int)i].length();^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6116:40: error: invalid types ‘const int[int]’ for array subscriptlengths[i] = sources[(int)i].length();^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6124:36: error: ‘strings’ was not declared in this scopecontext(), (cl_uint)n, strings.data(), lengths.data(), &error);^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6124:52: error: ‘lengths’ was not declared in this scopecontext(), (cl_uint)n, strings.data(), lengths.data(), &error);^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::Program::Program(const cl::Context&, __vector(4) int)’:/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6160:38: error: ‘devices’ was not declared in this scopeconst size_type numDevices = devices.size();^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6163:12: error: ‘binaries’ was not declared in this scopeif(binaries.size() != numDevices) {^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6166:17: error: ‘err’ was not declared in this scopeif (err != NULL) {^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6173:9: error: expected primary-expression before ‘attribute’vector lengths(numDevices);^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6174:9: error: expected primary-expression before ‘attribute’vector images(numDevices);^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6177:13: error: ‘images’ was not declared in this scopeimages[i] = binaries[i].data();^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6177:25: error: ‘binaries’ was not declared in this scopeimages[i] = binaries[i].data();^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6178:13: error: ‘lengths’ was not declared in this scopelengths[i] = binaries[(int)i].size();^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6187:9: error: expected primary-expression before ‘attribute’vector deviceIDs(numDevices);^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6189:13: error: ‘deviceIDs’ was not declared in this scopedeviceIDs[deviceIndex] = (devices[deviceIndex])();^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6192:12: error: ‘binaryStatus’ was not declared in this scopeif(binaryStatus) {^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6198:13: error: ‘deviceIDs’ was not declared in this scopedeviceIDs.data(),^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6199:13: error: ‘lengths’ was not declared in this scopelengths.data(), images.data(), (binaryStatus != NULL && numDevices > 0)^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6199:29: error: ‘images’ was not declared in this scopelengths.data(), images.data(), (binaryStatus != NULL && numDevices > 0)^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6199:45: error: ‘binaryStatus’ was not declared in this scopelengths.data(), images.data(), (binaryStatus != NULL && numDevices > 0)^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6204:13: error: ‘err’ was not declared in this scopeif (err != NULL) {^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In constructor ‘cl::Program::Program(const cl::Context&, __vector(4) int)’:/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6224:32: error: ‘devices’ was not declared in this scopesize_type numDevices = devices.size();^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6225:9: error: expected primary-expression before ‘attribute’vector deviceIDs(numDevices);^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6227:13: error: ‘deviceIDs’ was not declared in this scopedeviceIDs[deviceIndex] = (devices[deviceIndex])();^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6233:13: error: ‘deviceIDs’ was not declared in this scopedeviceIDs.data(),^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6234:13: error: ‘kernelNames’ was not declared in this scopekernelNames.c_str(),^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6238:13: error: ‘err’ was not declared in this scopeif (err != NULL) {^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp: In member function ‘cl_int cl::Program::build(__vector(4) int) const’:/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6296:32: error: ‘devices’ was not declared in this scopesize_type numDevices = devices.size();^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6297:9: error: expected primary-expression before ‘attribute’vector deviceIDs(numDevices);^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6300:13: error: ‘deviceIDs’ was not declared in this scopedeviceIDs[deviceIndex] = (devices[deviceIndex])();^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6307:13: error: ‘deviceIDs’ was not declared in this scopedeviceIDs.data(),^/home/cuttie/ethminer/libethash-cl/CL/cl.hpp:6308:13: error: ‘options’

Add Comment