- Posts: 12
- Thank you received: 0
- Forum
- CodeTyphon Studio
- Using CT on Linux
- Problems using indy under Ubuntu 20.04. IdGlobal not found
×
CodeTyphon Linux OS Development, discussions and problems
Question Problems using indy under Ubuntu 20.04. IdGlobal not found
- Stefan
- Topic Author
- Offline
- New Member
-
Less
More
2 years 5 months ago #14212
by Stefan
Problems using indy under Ubuntu 20.04. IdGlobal not found was created 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
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
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
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
2 years 5 months ago #14213
by Stefan
Replied by Stefan on topic Problems using indy under Ubuntu 20.04. IdGlobal not found
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 !
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
-
- Away
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
2 years 5 months ago - 2 years 5 months ago #14214
by Sternas Stefanos
PilotLogic Architect and Core Programmer
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.
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: 2 years 5 months ago by Sternas Stefanos.
Please Log in or Create an account to join the conversation.
- Stefan
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
2 years 4 months ago #14218
by Stefan
Replied by Stefan on topic Problems using indy under Ubuntu 20.04. IdGlobal not found
i am using the stable version 6.9 on linux.
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Away
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
2 years 4 months ago #14219
by Sternas Stefanos
PilotLogic Architect and Core Programmer
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
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
2 years 4 months ago #14221
by Stefan
Replied by Stefan on topic Problems using indy under Ubuntu 20.04. IdGlobal not found
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 !
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
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.