× CodeTyphon Cross-Build Development, discussions and problems

Question registerfcl.pas(45,22) Fatal: Cannot find process used by RegisterFCL of package

  • Richard C Giroux
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 weeks ago #10291 by Richard C Giroux
Codetyphon 5.9

I can't seem to find a solution to this.

Multiple installations on different OSs

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 2 weeks ago #10292 by Sternas Stefanos
Thanks Sir
give us more info

PilotLogic Architect and Core Programmer

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

  • Richard C Giroux
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 weeks ago #10293 by Richard C Giroux
I am doing development on the Raspberry Pi 2 and Zero.

My primary machine is a Elementary OS (Ubuntu 16.04 LTS 64bit)

I have also created a VMWare machine with Windows 7 Pro - 64bt)

On both machines, I have tried installing Codetyphon 5.9 and 5.7

The both install but after following the instruction on how to install and add Raspberry crosscomping support i get the error listed above.


I have had CodeTyphon 5.7 and 5.8 working on my old computer but somehow messed that up.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 2 weeks ago - 5 years 2 weeks ago #10295 by Sternas Stefanos
Sir
did you follow this Link1
or this
Link2

Did you set Platform to GTK2 ?
Did you use arm-linux-Raspbian or arm-linux-Raspbian2 libraries ?

PilotLogic Architect and Core Programmer
Last edit: 5 years 2 weeks ago by Sternas Stefanos.

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

  • Richard C Giroux
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 weeks ago #10296 by Richard C Giroux
For installation, I followed the link on the wiki page (www.pilotlogic.com/sitejoom/index.php/wiki?id=199) but I did the Multi-Architecture option.

For most of my cross-compiling I followed the wiki page for the Pi2 (www.pilotlogic.com/sitejoom/index.php/wiki?id=499)

However, I've been choosing both the Pi and P2 libraries at once. When I did JUST the Pi2 library alone this morning, it worked on Windows. I'll test on Linux tonight.

I do need Pi as well (I am developing for the Pi Zero) so I'm assuming I can do that after. (Do each one at a time.)
I

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 2 weeks ago #10297 by Sternas Stefanos
OK
we are here to solve any problem

PilotLogic Architect and Core Programmer

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

  • Richard C Giroux
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 weeks ago #10298 by Richard C Giroux
Windows machine compiles basic project but on my main project it throws this error:
c:\codetyphon\fpc\fpc32\bin\i386-win32\arm-linux-ld.exe: cannot find -lXtst

On Linux, it doesn't compile at all, throws this error:

c:\codetyphon\fpc\fpc32\bin\i386-win32\arm-linux-ld.exe: cannot find -lXtst

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

  • Richard C Giroux
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 weeks ago #10299 by Richard C Giroux
Sorry, on Linux it throws this error:

Edit Post: registerfcl.pas(45,22) Fatal: Cannot find process used by RegisterFCL of package

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

  • Richard C Giroux
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 2 weeks ago #10300 by Richard C Giroux
When compiling (not cross compiling) I get these warnings:

project1.lpr(20,1) Warning: "crtbegin.o" not found, this will probably cause a linking failure

project1.lpr(20,1) Warning: "crtend.o" not found, this will probably cause a linking failure

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 2 weeks ago #10301 by Sternas Stefanos
No problem with this "Warning" Sir

but if you want you can copy from target os:
-crtbegin.o
-crtend.o

files to your OS Libraries directory

PilotLogic Architect and Core Programmer

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

More
5 years 1 week ago #10306 by Abrax Brabax

registerfcl.pas(45,22) Fatal: Cannot find process used by RegisterFCL of package


I have the same error. OS: Win10_64, IDE: Typhon32 and Typhon64, Target: RaspberryPi and RaspberryPi2.

The cross build has been working well for months with the CodeTyphon Ver 5.80 under the same OS and project settings (LCL widget, target OS and CPU, library etc.). I updated today to Ver 5.90 and stopped the RPi cross compiling. For the test I opened an old Hello World project which compiled well with the former versions of CodeTyphon and therefore has proper settings, but I got the same error as the topic title.

BR.

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

More
5 years 1 day ago #10346 by Abrax Brabax
According to this thread www.pilotlogic.com/sitejoom/index.php/fo...2-not-build-program/ I have found a temporary solution. I overwrited the .\codetyphon\ScriptsWin\crossbuild\ folder with the content of the CodeTyphonIns_580.zip -> ScriptsWin.7z -> .\ScriptsWin\crossbuild\ folder. Since then the croossbuild has been building well working crosscompiler enviroment.

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