make problem: desktop version

Topics about Monster Mash tool that did not fit in any other forum.
Post Reply
bazza
Posts: 4
Joined: Mon Jun 14, 2021 1:58 am

make problem: desktop version

Post by bazza » Mon Jun 14, 2021 3:01 am

I have SDL and SDL2 installed and libraries are in the system over Arch-linux:

Code: Select all

.../src/monster-mash/src/mywindow.h:18:10: error fatal: SDL.h: No existe el fichero o el directorio
18 | #include <SDL.h>

bazza
Posts: 4
Joined: Mon Jun 14, 2021 1:58 am

Re: make problem: desktop version

Post by bazza » Mon Jun 14, 2021 3:38 am

Add this to Cmake and Make:

Code: Select all

set(SDL2_INCLUDE_DIR /usr/include/SDL2/)
set(SDL2_LIBRARY /usr/lib/cmake/SDL2/ )
But...

Code: Select all

./monstermash       
GL version: 4.6.0 NVIDIA 465.31
X Error of failed request:  GLXBadDrawable
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  285
  Current serial number in output stream:  285

Post Reply