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

TOPIC:

Error when compiling a library using lib (?) 9 years 11 months ago #6516

  • German Pablo Gentile
  • German Pablo Gentile's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 51
  • Thank you received: 0
i get this error:

arm-linux-ld.exe: cannot find -lz

Is zlib related?

If i compile a simple form it works and run join raspberry pi (perfect!) but after trying to use RemObjects libraries (use lib) it fails.

I check the

C:\codetyphon\binLibraries\arm-linux-Raspbian

and libz.so.1 is present

Any help please?

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

Error when compiling a library using lib (?) 9 years 11 months ago #6519

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
The linker don't find -lz = libz.so library
simple: make a link to exists libz.so.1 library

sudo ln -s libz.so.1 libz.so

PS we upload new arm-linux-Raspbian.7z file
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: German Pablo Gentile

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

Last edit: by Sternas Stefanos.

Error when compiling a library using lib (?) 9 years 11 months ago #6520

  • German Pablo Gentile
  • German Pablo Gentile's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 51
  • Thank you received: 0
The problem is im on a Windows xp PC have no idea how to do this link there.

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

Error when compiling a library using lib (?) 9 years 11 months ago #6522

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Simple download again the new arm-linux-Raspbian.7z
from CTCenter->Download Libraries
or simple
on windows copy libz.so.1 somewhere and rename to libz.so and put this new renamed file in
libraries folder C:\codetyphon\binLibraries\arm-linux-Raspbian
(this is the "ln -s libz.so.1 libz.so" command of Unix OS to Windows...)

nothing exotic :) simplicity
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Error when compiling a library using lib (?) 9 years 11 months ago #6526

  • German Pablo Gentile
  • German Pablo Gentile's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 51
  • Thank you received: 0
Thanks my friend, it work as expected. I will continue testing on emu until i get my first raspberry pi.

Another question. How compatible is lazarus with beagle bone? do you use this?

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

  • Page:
  • 1