Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux build fails #185

Open
tapir opened this issue May 5, 2014 · 2 comments
Open

Linux build fails #185

tapir opened this issue May 5, 2014 · 2 comments

Comments

@tapir
Copy link

tapir commented May 5, 2014

Linux build fails with error

Release/platformX86UNIX/x86UNIXInputManager.cc.o: In function `MapKey(unsigned short, unsigned char)':
x86UNIXInputManager.cc:(.text+0x43): undefined reference to `X11_KeyToUnicode'
x86UNIXInputManager.cc:(.text+0x7e): undefined reference to `X11_KeyToUnicode'
x86UNIXInputManager.cc:(.text+0xb8): undefined reference to `X11_KeyToUnicode'
collect2: error: ld returned 1 exit status
Torque2D:441: recipe for target '../../../Torque2D' failed
make: *** [../../../Torque2D] Error 1

Also the guide here: https://github.com/GarageGames/Torque2D/wiki/Linux-Development-Guide suggests make -f Torque2D.makefile release whereas it should be make release .
To only build Torque2D, -lpng -lz and -ljpeg should be added to Torque2D make file (note that its not Torque2D.makefile)

@tapir
Copy link
Author

tapir commented May 6, 2014

Turns out this was patched but not included in the latest stable release of SDL.

@tapir
Copy link
Author

tapir commented May 10, 2014

For people using Arch, here is my bug report and needed patches for building the correct sdl package: https://bugs.archlinux.org/task/40292

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants