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

TOPIC:

fpGui - Cross compile to Raspberry pi 8 years 11 months ago #8717

  • universe
  • universe's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 122
  • Thank you received: 8
Hello,
I'm trying to compile to Raspberry pi using the latest libraries (arm-linux-pi and arm-linux-Raspbian) with fpGui widget but the project failed to compile,
Compile Project, OS: linux, CPU: arm, Target: C:\codetyphon\typhonTemp\project1: Exit code 1, Errors: 1
c:\codetyphon\fpc\fpc32\bin\i386-win32\arm-linux-ld.exe: cannot find -lXft
c:\codetyphon\fpc\fpc32\bin\i386-win32\arm-linux-ld.exe: cannot find -lfontconfig
c:\codetyphon\fpc\fpc32\bin\i386-win32\arm-linux-ld.exe: cannot find -lfreetype
project1.lpr(58,0) Error: Error while linking

PS: CTC keeps only one arm compiler , it seems we can't keep arm-linux for pi and pi2 for example.

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

fpGui - Cross compile to Raspberry pi 8 years 11 months ago #8718

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
this is NOT error

the "linker" say to you that can't find some files in OSlibraries
lXft =>libXft.so
lfontconfig=>libfontconfig.so
lfreetype =>libfreetype.so

Find these files in your target arm OS (/usr/lib/) and
copy these files to your host OSlibraries directory

On Unix targets, "linker" need used by your app libraries, to save in your App
used functions addresses
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

fpGui - Cross compile to Raspberry pi 8 years 11 months ago #8719

  • universe
  • universe's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 122
  • Thank you received: 8
Thanks, sure this not an error, just wanted to report, I found them in path with different names, so I renamed them only.

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

fpGui - Cross compile to Raspberry pi 8 years 11 months ago #8720

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
We must update all OS-libraries...
but for today we have to release CT 5.60
PilotLogic Architect and Core Programmer

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

  • Page:
  • 1