stople / OpenTitus

A port of the game engine behind the DOS versions of Titus the Fox and Moktar
http://sourceforge.net/projects/opentitus/
28 stars 13 forks source link

libopl_linux won't link in x86 #1

Open neuromancer opened 10 years ago

neuromancer commented 10 years ago

In the current repository, the precompiled versions of libopl are x86-64 and won't link in a i386 binary. In the OpenTitus compiling, you can see the errors:

cc -g -I./include -I./opl -o opentitus opentitus.o src/audio.o src/common.o src/draw.o src/enemies.o src/engine.o src/elevators.o src/fonts.o src/gates.o src/keyboard.o src/level.o src/menu.o src/objects.o src/original.o src/player.o src/reset.o src/scroll.o src/settings.o src/sprites.o src/sqz.o src/tile_animation.o src/viewimage.o opl/libopl_linux.a `sdl-config --cflags --libs` -lm -lSDL_mixer
/usr/bin/ld: i386:x86-64 architecture of input file `opl/libopl_linux.a(opl.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `opl/libopl_linux.a(opl_linux.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `opl/libopl_linux.a(opl_sdl.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `opl/libopl_linux.a(opl_timer.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `opl/libopl_linux.a(dbopl.o)' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `opl/libopl_linux.a(opl_queue.o)' is incompatible with i386 output
carstene1ns commented 10 years ago

Ran into the same problem today, while packaging OpenTitus for Arch Linux. I provide prebuilt versions by myself as a workaround here. If somebody is interested, here are the package files.

xcom169 commented 5 years ago

Ran into the same problem today, while packaging OpenTitus for Arch Linux. I provide prebuilt versions by myself as a workaround here. If somebody is interested, here are the package files.

Is there any fork of this repo which is easier to build for Windows and Linux?