Rotor-Cuda icon indicating copy to clipboard operation
Rotor-Cuda copied to clipboard

Unable to compile

Open MegaH01 opened this issue 3 years ago • 7 comments

Ubuntu 20.04 with Cuda 11 (2070 Card). Unable to compile. Any ideas?

~/Rotor-Cuda/linux# make gpu=1 CCAP=75 all cd obj && mkdir -p GPU cd obj && mkdir -p hash g++ -DWITHGPU -m64 -mssse3 -Wno-write-strings -O2 -I. -I/usr/local/cuda-11.0/include -o obj/Main.o -c Main.cpp Main.cpp: In function ‘int main(int, char**)’: Main.cpp:523:2: error: ‘console’ was not declared in this scope 523 | console con(bok1, bok2); | ^~~~~~~ Main.cpp:524:2: error: ‘HANDLE’ was not declared in this scope 524 | HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); | ^~~~~~ Main.cpp:525:26: error: ‘hConsole’ was not declared in this scope 525 | SetConsoleTextAttribute(hConsole, color); | ^~~~~~~~ Main.cpp:525:2: error: ‘SetConsoleTextAttribute’ was not declared in this scope 525 | SetConsoleTextAttribute(hConsole, color); | ^~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:71: obj/Main.o] Error 1

MegaH01 avatar Jan 26 '22 21:01 MegaH01