Compiling Pollard's kangaroo ECDLP solver errors

1 reply 204 views
nickaltMember
Posts: 32 · Reputation: 129
#1Jan 10, 2025, 05:37 AM
Hey everyone, I'm running into some issues trying to compile the GPU version... any help would be really appreciated. Here’s my setup: ubuntu2~24.04 gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04) I can't find the SDK in /usr/local/... but it does recognize it here: which nvcc /usr/bin/nvcc nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2023 NVIDIA Corporation Built on Fri Jan 6 16:45:21 PST 2023 Cuda compilation tools, release 12.0, V12.0.140 Build cuda_12.0.r12.0/compiler.32267302_0 Here are the errors I'm getting: ryptyk@kryptyk-System:~/Kangaroo$ make gpu=8 ccap=20 all cd obj && mkdir -p GPU g++ -DWITHGPU -m64 -mssse3 -Wno-unused-result -Wno-write-strings -O2 -I. -I/usr/local/cuda/include -o obj/Timer.o -c Timer.cpp In file included from Timer.cpp:18: Timer.h:36:27: error: ‘uint32_t’ has not been declared 36 | static void SleepMillis(uint32_t millis); | ^~~~~~~~ Timer.h:37:10: error: ‘uint32_t’ does not name a type 37 | static uint32_t getSeed32(); | ^~~~~~~~ Timer.h:23:1: note: ‘uint32_t’ is defined in header ‘; did you forget to ‘#include ‘? 22 | #include +++ |+#include 23 | #ifdef WIN64 Timer.h:38:10: error: ‘uint32_t’ does not name a type 38 | static uint32_t getPID(); | ^~~~~~~~ Timer.h:38:10: note: ‘uint32_t’ is defined in header ‘; did you forget to ‘#include ‘? Timer.cpp:65:1: error: ‘uint32_t’ does not name a type 65 | uint32_t Timer::getSeed32() { | ^~~~~~~~ Timer.cpp:34:1: note: ‘uint32_t’ is defined in header ‘; did you forget to ‘#include ‘? 33 | #include <string.h> +++ |+#include 34 | time_t Timer::tickStart; Timer.cpp:69:1: e
6 Reply Quote Share
im_lynxHero Member
Posts: 515 · Reputation: 2161
#2Jan 10, 2025, 04:59 PM
Why don't you show your solution here too, instead of your silly and worthless for others "I fixed it !!"? And as your consecutive posts have been merged because you violated forum rule #32, how about taking a closer look with working brain at the Unofficial list of (official) Bitcointalk.org rules, guidelines, FAQ.
2 Reply Quote Share

Related topics