Forum
× CodeTyphon Linux OS Development, discussions and problems

Question Problem on Zeos CT 6.90

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
4 months 1 week ago #13783 by superc
Problem on Zeos CT 6.90 was created by superc
Hello,

I've a problem when compile on Typhon 6.9 r61812 FPC 3.3.1 r42912 Platform : x86_64-linux-gtk2 Debian 10 On VirtualBox 4GB

my target is Win64 bit arch x86_64

if I build a blank form program that's ok, but if insert Zeos component I receive this error:




but,
cross build for raspberry pi3b ok and for Linux 64bit gtk2 ok.

Thanks in advance.
Attachments:

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

More
4 months 1 week ago - 4 months 1 week ago #13785 by Matis A.
Replied by Matis A. on topic Problem on Zeos CT 6.90
ZEOS *Ole*.pas files are only for MS Windows and
NOT build with MultiCPU-MultiOS pl_ZeosDBO package.

Just ADD into your App the Zeos *Ole*.pas files you want to use from
codetyphon\typhon\components\pl_ZeosDBO\source\
folder

PilotLogic Core Programmer
Last edit: 4 months 1 week ago by Matis A..

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

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
4 months 1 week ago #13787 by superc
Replied by superc on topic Problem on Zeos CT 6.90
excuse me Matis, be patient,

Just ADD into your App the Zeos *Ole*.pas files you want to use from
codetyphon\typhon\components\pl_ZeosDBO\source\
folder


where I add "codetyphon\typhon\components\pl_ZeosDBO\source\ "
in CodeTyphon??

I'm try to compile the same project From Win64 to Linux 64 and compile well....

Thanks in advance

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

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
4 months 1 week ago #13788 by superc
Replied by superc on topic Problem on Zeos CT 6.90
I found ZDbcOleDBMetadata.pas (and other file *Ole*.pas) and I copied into directory project but don't work, I add directory "/usr/local/codetyphon/typhon/components/pl_ZeosDBO/source/dbc/" into Paths of Project option but don't works....
What I wrong?

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

More
4 months 1 week ago - 4 months 1 week ago #13789 by Matis A.
Replied by Matis A. on topic Problem on Zeos CT 6.90
Did you add *Ole*.pas files in to your project file ?

PilotLogic Core Programmer
Last edit: 4 months 1 week ago by Matis A..

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

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
4 months 1 week ago #13790 by superc
Replied by superc on topic Problem on Zeos CT 6.90
Matis, I Add file into directory project, and I try to set up Project / Option / Compiler Option / Other Sources but the files * Ole * .pas that I copied into my directory are not selectable (the files permission was setted ok)
can you explain me which is the correct way?

Thanks in advance.

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

More
4 months 1 week ago #13791 by Matis A.
Replied by Matis A. on topic Problem on Zeos CT 6.90
open Project Inspector




and ADD the files files * Ole * .pas you want

PilotLogic Core Programmer
Attachments:

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

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
4 months 1 week ago - 4 months 1 week ago #13795 by superc
Replied by superc on topic Problem on Zeos CT 6.90
I Receive the same error


Attachments:
Last edit: 4 months 1 week ago by superc. Reason: wrong image

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
4 months 1 week ago - 4 months 1 week ago #13797 by Sternas Stefanos
Replied by Sternas Stefanos on topic Problem on Zeos CT 6.90
Please rename to unit ZDbcOleDB line 161
uses ZDbcOleDBMetadata, ZDbcOleDBStatement, ZSysUtils, ZDbcUtils,
with
uses ZDbcOleDBMetaData, ZDbcOleDBStatement, ZSysUtils, ZDbcUtils,

It's Unix and it's ZDbcOleDBMetaData.pas file name
On Windows this is NOT a Problem.

ZEOS it's NOT develop for CrossBuild from Linux to Windows

PilotLogic Architect and Core Programmer
Last edit: 4 months 1 week ago by Sternas Stefanos.

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

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
4 months 1 week ago #13798 by superc
Replied by superc on topic Problem on Zeos CT 6.90
Thanks Stefanos now I'm trying and report

:)

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
4 months 1 week ago - 4 months 1 week ago #13799 by Sternas Stefanos
Replied by Sternas Stefanos on topic Problem on Zeos CT 6.90
This is a common problem with Windows only files to
CrossBuild from Unix to Windows

PilotLogic Architect and Core Programmer
Last edit: 4 months 1 week ago by Sternas Stefanos.
The following user(s) said Thank You: superc

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

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
4 months 1 week ago - 4 months 1 week ago #13800 by superc
Replied by superc on topic Problem on Zeos CT 6.90
My goal was to create a virtual machine that would allow me to compile my projects quickly and from a single point.

If I cross-compile from Linux to Windows, as in this case, somehow I should have a inability signal to compile the Zeos components, putting perhaps the components in the taskbar in grey : this is an interesting feature to implement: what do you do you think Stefanos?
Last edit: 4 months 1 week ago by superc.

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
4 months 1 week ago #13802 by Sternas Stefanos
Replied by Sternas Stefanos on topic Problem on Zeos CT 6.90
The problem with ZEOS Library filesnames, can be solved very easily
with the conversion all ZEOS Package files to lowercase.

pl_ZeosDBO source it's 98% the same with ZEOS library source,
so the above lowercase solution must start from ZEOS Developers.

If you want Applications to run on ALL OSes my suggestion is to
look at Scripting Programming Lang like:
-CodeTyphon Pas2JS session
-Java
-JavaScript
etc

PilotLogic Architect and Core Programmer

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

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
4 months 1 week ago #13807 by superc
Replied by superc on topic Problem on Zeos CT 6.90
I used Zeos in delphi 7 from version alpha and my goal is compile FROM vm for linux / windows / raspberry for the moment.

Thanks for the suggestion, It is clear that I am trying to help ...

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