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
System: Kali Linux Latest Kernel/Update. (apt full upgrade and dist upgrade and update)
Files version: Latest (Installed now)
Command having the error: make-j$(nproc)
I think the error is: forgetting to '#include '.
Ran As super user (Root).
Error:-
In file included from /home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.cpp:20:
/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:89:29: error: ‘size_t’ does not name a type
89 | static inline constexpr size_t l2(Id id) { return family(id) == RANDOM_X ? (1U <<((id >> 8) & 0xff)) : 0U; } | ^~~~~~In file included from /home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.cpp:20:/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:26:1: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’? 25 | #include <vector> +++ |+#include <cstddef> 26 | In file included from /home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.cpp:20:/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:90:29: error: ‘size_t’ does not name a type 90 | static inline constexpr size_t l3(Id id) { return 1ULL << ((id >> 16) & 0xff); } | ^~~~~~/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:90:29: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:98:12: error: ‘size_t’ does not name a type 98 | inline size_t l2() const { return l2(m_id); } | ^~~~~~/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:98:12: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:102:12: error: ‘size_t’ does not name a type 102 | inline size_t l3() const | ^~~~~~/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:102:12: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?In file included from /home/craftit7/Downloads/xmrig-cuda/src/cryptonight.h:30, from /home/craftit7/Downloads/xmrig-cuda/src/xmrig-cuda.cpp:26:/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:89:29: error: ‘size_t’ does not name a type 89 | static inline constexpr size_t l2(Id id) { return family(id) == RANDOM_X ? (1U << ((id >> 8) & 0xff)) : 0U; } | ^~~~~~In file included from /home/craftit7/Downloads/xmrig-cuda/src/cryptonight.h:30, from /home/craftit7/Downloads/xmrig-cuda/src/xmrig-cuda.cpp:26:/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:26:1: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’? 25 | #include <vector> +++ |+#include <cstddef> 26 | In file included from /home/craftit7/Downloads/xmrig-cuda/src/cryptonight.h:30, from /home/craftit7/Downloads/xmrig-cuda/src/xmrig-cuda.cpp:26:/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:90:29: error: ‘size_t’ does not name a type 90 | static inline constexpr size_t l3(Id id) { return 1ULL << ((id >> 16) & 0xff); } | ^~~~~~/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:90:29: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:98:12: error: ‘size_t’ does not name a type 98 | inline size_t l2() const { return l2(m_id); } | ^~~~~~/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:98:12: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:102:12: error: ‘size_t’ does not name a type 102 | inline size_t l3() const | ^~~~~~/home/craftit7/Downloads/xmrig-cuda/src/crypto/common/Algorithm.h:102:12: note: ‘size_t’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?make[2]: *** [CMakeFiles/xmrig-cuda.dir/build.make:90: CMakeFiles/xmrig-cuda.dir/src/crypto/common/Algorithm.cpp.o] Error 1make[2]: *** Waiting for unfinished jobs....make[2]: *** [CMakeFiles/xmrig-cuda.dir/build.make:104: CMakeFiles/xmrig-cuda.dir/src/xmrig-cuda.cpp.o] Error 1make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/xmrig-cuda.dir/all] Error 2make: *** [Makefile:91: all] Error 2
Maybe this also would help idk.
/home/craftit7/Downloads/xmrig-cuda/src/cuda_extra.cu: In function‘void cryptonight_extra_cpu_prepare(nvid_ctx*, uint32_t, const xmrig_cuda::Algorithm&)’:
/home/craftit7/Downloads/xmrig-cuda/src/cuda_extra.cu:415:170: warning: passing argument 5 to ‘restrict’-qualified parameter aliases with argument 6 [-Wrestrict]
415 | CUDA_CHECK_KERNEL(ctx->device_id, cryptonight_extra_gpu_prepare<Algorithm::CN_0><<<grid, block >>>(wsize, ctx->d_input, ctx->inputlen, startNonce,| ^ /home/craftit7/Downloads/xmrig-cuda/src/cuda_extra.cu: In function‘int cuda_get_deviceinfo(nvid_ctx*)’:/home/craftit7/Downloads/xmrig-cuda/src/cuda_extra.cu:571:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 571 |if (ctx->device_blocks > max_blocks) {|~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
System: Kali Linux Latest Kernel/Update. (apt full upgrade and dist upgrade and update)
Files version: Latest (Installed now)
Command having the error: make-j$(nproc)
I think the error is: forgetting to '#include '.
Ran As super user (Root).
Error:-
Maybe this also would help idk.
The text was updated successfully, but these errors were encountered: