Forum
× CodeTyphon Linux OS Development, discussions and problems

Question Problems using indy under Ubuntu 20.04. IdGlobal not found

  • Stefan
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 3 weeks ago #14212 by Stefan
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.

  • Stefan
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 3 weeks ago #14213 by Stefan
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.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 month 3 weeks ago - 1 month 3 weeks ago #14214 by Sternas Stefanos
Replied by Sternas Stefanos on topic Problems using indy under Ubuntu 20.04. IdGlobal not found
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
Last edit: 1 month 3 weeks ago by Sternas Stefanos.

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

  • Stefan
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 3 weeks ago #14218 by Stefan
i am using the stable version 6.9 on linux.

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
1 month 3 weeks ago #14219 by Sternas Stefanos
Replied by Sternas Stefanos on topic Problems using indy under Ubuntu 20.04. IdGlobal not found
All OK now ?

PilotLogic Architect and Core Programmer

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

  • Stefan
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 month 3 weeks ago #14221 by Stefan
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.