Open ThatOneCalculator opened 4 days ago
Are you trying to build shadps4-git
? In this case you need to use sdl3-git
instead of sdl3
. And you should report this on the AUR page first.
Ah, gotcha. I am trying that package, yeah. Once I get home today I'll try it with that, and if that's the issue I'll report it to the AUR page
I installed sdl3-git
and it got much further, but errored out at the end:
[100%] Building CXX object CMakeFiles/shadps4.dir/src/main.cpp.o
/home/kainoa/.cache/yay/shadps4-git/src/shadps4/src/sdl_window.cpp: In member function ‘void Frontend::WindowSDL::onKeyPress(const SDL_Event*)’:
/home/kainoa/.cache/yay/shadps4-git/src/shadps4/src/sdl_window.cpp:133:10: error: ‘SDLK_a’ was not declared in this scope; did you mean ‘SDLK_A’?
133 | case SDLK_a:
| ^~~~~~
| SDLK_A
/home/kainoa/.cache/yay/shadps4-git/src/shadps4/src/sdl_window.cpp:142:10: error: ‘SDLK_d’ was not declared in this scope; did you mean ‘SDLK_D’?
142 | case SDLK_d:
| ^~~~~~
| SDLK_D
/home/kainoa/.cache/yay/shadps4-git/src/shadps4/src/sdl_window.cpp:151:10: error: ‘SDLK_w’ was not declared in this scope; did you mean ‘SDLK_W’?
151 | case SDLK_w:
| ^~~~~~
| SDLK_W
/home/kainoa/.cache/yay/shadps4-git/src/shadps4/src/sdl_window.cpp:160:10: error: ‘SDLK_s’ was not declared in this scope; did you mean ‘SDLK_S’?
160 | case SDLK_s:
| ^~~~~~
| SDLK_S
/home/kainoa/.cache/yay/shadps4-git/src/shadps4/src/sdl_window.cpp:169:10: error: ‘SDLK_j’ was not declared in this scope; did you mean ‘SDLK_J’?
169 | case SDLK_j:
| ^~~~~~
| SDLK_J
/home/kainoa/.cache/yay/shadps4-git/src/shadps4/src/sdl_window.cpp:178:10: error: ‘SDLK_l’ was not declared in this scope; did you mean ‘SDLK_L’?
178 | case SDLK_l:
| ^~~~~~
| SDLK_L
/home/kainoa/.cache/yay/shadps4-git/src/shadps4/src/sdl_window.cpp:187:10: error: ‘SDLK_i’ was not declared in this scope; did you mean ‘SDLK_I’?
187 | case SDLK_i:
| ^~~~~~
| SDLK_I
/home/kainoa/.cache/yay/shadps4-git/src/shadps4/src/sdl_window.cpp:196:10: error: ‘SDLK_k’ was not declared in this scope; did you mean ‘SDLK_K’?
196 | case SDLK_k:
| ^~~~~~
| SDLK_K
/home/kainoa/.cache/yay/shadps4-git/src/shadps4/src/sdl_window.cpp:205:10: error: ‘SDLK_x’ was not declared in this scope; did you mean ‘SDLK_X’?
205 | case SDLK_x:
| ^~~~~~
| SDLK_X
/home/kainoa/.cache/yay/shadps4-git/src/shadps4/src/sdl_window.cpp:208:10: error: ‘SDLK_m’ was not declared in this scope; did you mean ‘SDLK_M’?
208 | case SDLK_m:
| ^~~~~~
| SDLK_M
/home/kainoa/.cache/yay/shadps4-git/src/shadps4/src/sdl_window.cpp:211:10: error: ‘SDLK_q’ was not declared in this scope; did you mean ‘SDLK_Q’?
211 | case SDLK_q:
| ^~~~~~
| SDLK_Q
/home/kainoa/.cache/yay/shadps4-git/src/shadps4/src/sdl_window.cpp:214:10: error: ‘SDLK_u’ was not declared in this scope; did you mean ‘SDLK_U’?
214 | case SDLK_u:
| ^~~~~~
| SDLK_U
/home/kainoa/.cache/yay/shadps4-git/src/shadps4/src/sdl_window.cpp:217:10: error: ‘SDLK_e’ was not declared in this scope; did you mean ‘SDLK_E’?
217 | case SDLK_e:
| ^~~~~~
| SDLK_E
/home/kainoa/.cache/yay/shadps4-git/src/shadps4/src/sdl_window.cpp:227:10: error: ‘SDLK_o’ was not declared in this scope; did you mean ‘SDLK_O’?
227 | case SDLK_o:
| ^~~~~~
| SDLK_O
make[2]: *** [CMakeFiles/shadps4.dir/build.make:2260: CMakeFiles/shadps4.dir/src/sdl_window.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:227: CMakeFiles/shadps4.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
-> error making: shadps4-git-exit status 4
Arch Linux x86_64