Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Problems using indy under Ubuntu 20.04. IdGlobal not found 4 years 3 months ago #14212

  • Stefan
  • Stefan's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
Hello,

i would like to compile a Program under Linux (Ubuntu 20.04) that i compiled under Windows 10 many times before. But when i do that under linux i get this error
IdBaseComponent.pas(162,3) Fatal: Kann idGlobal nicht finden verwendet von IdBaseComponent. Stellen Sie sicher, daß alle .ppu-Dateien eines Packages sich in dessem Ausgabeverzeichnis befinden. ppu im falschen Verzeichnis=/usr/local/codetyphon/typhon/components/pl_Indy/lib/x86_64-linux/qt5/IdGlobal.ppu..

In the Projectsettings i have added this

-Fu /usr/local/codetyphon/typhon/components/pl_Indy/source/

and

-Fl /usr/local/codetyphon/typhon/components/pl_Indy/lib/x86_64-linux/qt5/

where i can see the files with the Filemanager.

Maybe this is a Problem with case sensitive because Typhon say's can't find idGlobal but in IdBaseComponent.pas(162,3) it is called IdGlobal


What should i do to make it work on linux ?


Best Regards

Stefan

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

Problems using indy under Ubuntu 20.04. IdGlobal not found 4 years 3 months ago #14213

  • Stefan
  • Stefan's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
Ok i fixed it by myself.

i put a copy of IdGlobal.pas to

/usr/local/codetyphon/typhon/components/pl_Indy/source/

and renamed it to idGlobal.pas !

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

Problems using indy under Ubuntu 20.04. IdGlobal not found 4 years 3 months ago #14214

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Thanks Sir
To copy the same file with other name (IdGlobal.pas) for Unix is NOT the correct solution

Just, at "Implementation Uses" of IdBaseComponent.pas line 162
replace idGlobal to IdGlobal

Your CodeTyphon version ?

Because LAB CT don't has this problem.
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Problems using indy under Ubuntu 20.04. IdGlobal not found 4 years 3 months ago #14218

  • Stefan
  • Stefan's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
i am using the stable version 6.9 on linux.

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

Problems using indy under Ubuntu 20.04. IdGlobal not found 4 years 3 months ago #14219

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
All OK now ?
PilotLogic Architect and Core Programmer

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

Problems using indy under Ubuntu 20.04. IdGlobal not found 4 years 3 months ago #14221

  • Stefan
  • Stefan's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
Yes Sir i found the Problem,

before i put a copy named idGlobal.pas i took a look to IdBaseComponent.pas line 162 and there was no idGlobal there was IdGlobal standing !
uses
  {$IFDEF DOTNET}
  System.Runtime.CompilerServices,
  {$ENDIF}
  IdGlobal;            <---- IdBaseComponent.pas line 162

The error message confused me. Because the problem was not in line 162 of IdBaseComponent.pas! I had developed the project under Windows and there was idGlobal instead of IdGlobal in two units from my Project. For Windows no problem, but unix don't like that.

But I don't understand why the error message didn't put me on the right track in my units.


Best Regards

Stefan

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

  • Page:
  • 1