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

TOPIC:

Compiler won't find .dll when cross-comp to linux 9 years 2 months ago #6557

  • Achim Fleischle
  • Achim Fleischle's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
The code function OpenDevice(CardAdress:Longint):Longint; stdcall; external 'k8055fpc64.dll' name 'OpenDevice';
generates the error message c:\codetyphon\fpc\fpc64\bin\x86_64-win64\arm-linux-ld.exe: cannot find -lk8055fpc64.dll
when compiling to target platform Linux / arm. Please note that the specified missing file name starts with an extra -l !!!

FI path is C:\codetyphon\binLibraries\arm-linux-Raspbian
Compilation for Windows platforms works fine, as well as compilation without the DLL call above.

Anybody an idea which might help?

Thanks in advance.

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

Compiler won't find .dll when cross-comp to linux 9 years 2 months ago #6562

  • Achim Fleischle
  • Achim Fleischle's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
Addendum:
The error occurs in the linking phase ("Error while linking")

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

  • Page:
  • 1