Closed Joanxt closed 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?
I think you'll need a 32-bit version of sdl2 to link with OpenJK
What red said. Wrong arch lib being used.
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?