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.01k stars 612 forks source link

Multy player doesn't work on OS X #407

Closed aronkihui closed 10 years ago

aronkihui commented 10 years ago

Hi when I execute the MP binary it crash. I try with the console and it shows this:

----- Initializing Renderer ---- Trying to load "rd-vanilla_x86.dylib" from "/Applications/Juegos Instalados/Jedi Knight III Jedi Academy/openjk.i386.app/Contents/MacOS"... Trying to load "rd-vanilla_x86.dylib" from "/Applications/Juegos Instalados/Jedi Knight III Jedi Academy"... Trying to load "rd-vanilla_x86.dylib" from ""... Loading "rd-vanilla_x86.dylib" failed

I can't understand why OpenJK try to call 64bit version of vanilla XS. It is so strange, because I compiled the engine with "cmake -DCMAKE_OSX_ARCHITECTURES=I386" compiled in 32bits as you can see. Why it calls "rdsp-vanilla_i386.dylib" when I execute SP binary and when I execute MP binary it calls "rd-vanilla_x86.dylib" instead "rd-vanilla_i386.dylib". I hasn't that and the engine only support 32bit as I know. Is so strange XP.

ensiform commented 10 years ago

Conflicting defines in code/codemp vs what the cmake instructs it to generate for output in the makefile. Will have someone look at it.

ensiform commented 10 years ago

Possibly fixed now after 0bf0b6f and 75b4ed5.

All of the dylibs should be x86 instead of i386 on mac/x86 now.

(It's not trying to call 64 bit version of vanilla renderer) x86 != 64. x86_64 is 64.

aronkihui commented 10 years ago

OK ;)