Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

Raspberry pi SDL application 9 years 4 months ago #6336

  • chulwoong
  • chulwoong's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 2
Hi guys,
I am buliding an application using SDL for Raspberry pi.
First, I built it for Windows platform, confirmed the application was working.
Finally, I tryied to do cross-compile for raspberry pi, but it had link a link error that was saying 'arm-linux-ld.exe cannot find -lSDL'.
I already indicated that the binLibraried forlder for raspberry pi.
How do I solve this problem?

Please Log in or Create an account to join the conversation.

Raspberry pi SDL application 9 years 4 months ago #6337

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Sir
the "Linker" want -lSDL (libSDL.so) for arm-linux, in Raspberry pi OS library folder

search to web for this file
for sample here search for libSDL-1.2.so.0
1)-download RPM file SDL-1.2.15-13.fc20.armv7hl.rpm open with 7Zip application
2)-and copy libSDL-1.2.so.0.11.4 file
3)rename this file to libSDL.so and put it in Raspberry pi OS library folder

This level of programming request knowledge :)
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.
  • Page:
  • 1