Cross compile Linux amd64

Hi, i’m stuck when compiling, i’m a new linux user and cmake. I’m trying to compile Jedi-Academy’s source code running Ubuntu 19.10 amd64. I understand this is a cross compiling error as it’s trying to use 32bit SDL, i’m building with cmake 3.17.1.
I have already installed the i386 packages but haven’t fix the error.

Console log:
/usr/bin/ld: se salta el /usr/lib/x86_64-linux-gnu/libSDLmain.a incompatible mientras se busca -lSDLmain
/usr/bin/ld: no se puede encontrar -lSDLmain
/usr/bin/ld: se salta el /usr/lib/x86_64-linux-gnu/libSDL.so incompatible mientras se busca -lSDL
/usr/bin/ld: se salta el /usr/lib/x86_64-linux-gnu/libSDL.a incompatible mientras se busca -lSDL
/usr/bin/ld: no se puede encontrar -lSDL
/usr/bin/ld: se salta el /usr/lib/x86_64-linux-gnu/libGL.so incompatible mientras se busca -lGL
/usr/bin/ld: no se puede encontrar -lGL
/usr/bin/ld: se salta el /usr/lib/x86_64-linux-gnu/libopenal.so incompatible mientras se busca -lopenal
/usr/bin/ld: no se puede encontrar -lopenal
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/jamp.dir/build.make:3402: jamp] Error 1
make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/jamp.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

(Equivalent console log in english would be: “/usr/bin/ld: skipping incompatible /usr/lib/libSDL.so when searching for -lSDL”)

What would be the noob friendly solution, thanks.