Comments (2)
Hey @onitake I
I have the same output for file:
$ file libagsjoy.so
libagsjoy.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=99cf8dea57a9854d1ecf52700ea4507868a7a229, not stripped
I understand this means this is a 64-bit binary. I don't really know this and believed the voted answer here.
What I couldn't find out, is how to build for a 32 bit system (i386) while I am using a 64 bit system. Unfortunately, I don't have a 32 bit computer anymore, so I was looking in a way to do this on my 64 bit machine (but all dependencies I tried to install, depended on more stuff until I got the "you have held broken packages" message).
This is why for now, I think it should be easier to create a virtual machine running some 32-bit Ubuntu to do it - I didn't had the time yet to do it though.
Ah yes, this all require the user (player) has sdl2 installed or is playing the game through Steam.
from agsjoy.
Ah, I see now. I misinterpreted the README and thought only i386 was supported.
And I agree that cross-compiling on Debian/Ubuntu is a bit complicated.
The correct way to this would be to add the additional architecture to the system, then install dependencies using the appropriate arch tag. The compiler can then be launched with -m32 (or -m64 for 64bit cross-compilation).
Something like:
dpkg --add-architecture i386
apt update
apt install libsdl2-dev:i386
Note that libsdl2-dev does not support Multi-Arch properly, so you can only have the -dev files installed for either i386 or amd64. Other -dev packages handle this better.
from agsjoy.
Related Issues (8)
- simplify windows and linux code to one HOT 1
- Do an OSX port HOT 5
- Pass enums, constants and other information for AGS Editor HOT 1
- MFI game controller support
- Allow rumble control through the plugin HOT 8
- Switch from Joystick to Gamecontrollers
- Doesn't work if the SDL2 Digi audio driver is used HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agsjoy.