diff --git a/README.md b/README.md index edb25ac..6b5eafc 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,15 @@ FITD https://github.com/jmimu/FITD +To be able to compile in 32 bits from 64 bit Ubuntu 20.04: + + sudo apt install libsdl1.2-dev:i386 libsdl-mixer1.2-dev:i386 libglu1-mesa-dev:i386 libzzip-dev:i386 libgc-dev:i386 libstdc++-dev:i386 + sudo apt-get install gcc-multilib g++-multilib + + +Original Readme from yaz0r +========================== + What is FITD ------------ diff --git a/fitd.pro b/fitd.pro index 26ef261..ece7dc2 100644 --- a/fitd.pro +++ b/fitd.pro @@ -95,5 +95,8 @@ HEADERS += \ src/actorList.h \ src/types.h -LIBS += -lSDL -lSDL_mixer -lGL -lGLU -lz +LIBS += -lSDL -lSDL_mixer -lGL -lGLU -lz -L/usr/lib/i386-linux-gnu INCLUDEPATH += "/usr/include/SDL" + +QMAKE_LFLAGS += -m32 +QMAKE_CFLAGS += -m32