JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.03k stars 614 forks source link

Compiling errors witch Cmake #302

Closed Joanxt closed 11 years ago

Joanxt commented 11 years ago

Greetings, i'm trying to compile this under Archlinux x86_x64 with the 32 flags with cmake. these errors keep popping out

Linking CXX executable ../openjk_sp.i386 /usr/local/lib/libSDL2.so: could not read symbols: File in wrong format collect2: error: ld returned 1 exit status make[2]: * [openjk_sp.i386] Error 1 make[1]: * [code/CMakeFiles/openjk_sp.i386.dir/all] Error 2 make: *\ [all] Error 2

is there a way to solve this?

redsaurus commented 11 years ago

I think you'll need a 32-bit version of sdl2 to link with OpenJK

ensiform commented 11 years ago

What red said. Wrong arch lib being used.