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

TOPIC:

Problem on Zeos CT 6.90 4 years 6 months ago #13783

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 75
  • Thank you received: 0
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.

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

Problem on Zeos CT 6.90 4 years 6 months ago #13785

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1057
  • Thank you received: 148
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

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

Last edit: by Matis A..

Problem on Zeos CT 6.90 4 years 6 months ago #13787

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 75
  • Thank you received: 0
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.

Problem on Zeos CT 6.90 4 years 6 months ago #13788

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 75
  • Thank you received: 0
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.

Problem on Zeos CT 6.90 4 years 6 months ago #13789

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1057
  • Thank you received: 148
Did you add *Ole*.pas files in to your project file ?
PilotLogic Core Programmer

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

Last edit: by Matis A..

Problem on Zeos CT 6.90 4 years 6 months ago #13790

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 75
  • Thank you received: 0
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.

Problem on Zeos CT 6.90 4 years 6 months ago #13791

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1057
  • Thank you received: 148
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.

Problem on Zeos CT 6.90 4 years 6 months ago #13795

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 75
  • Thank you received: 0
I Receive the same error


Attachments:

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

Last edit: by superc. Reason: wrong image

Problem on Zeos CT 6.90 4 years 6 months ago #13797

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
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

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

Last edit: by Sternas Stefanos.

Problem on Zeos CT 6.90 4 years 6 months ago #13798

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 75
  • Thank you received: 0
Thanks Stefanos now I'm trying and report

:)

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

Problem on Zeos CT 6.90 4 years 6 months ago #13799

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
This is a common problem with Windows only files to
CrossBuild from Unix to Windows
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: superc

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

Last edit: by Sternas Stefanos.

Problem on Zeos CT 6.90 4 years 6 months ago #13800

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 75
  • Thank you received: 0
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?

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

Last edit: by superc.

Problem on Zeos CT 6.90 4 years 6 months ago #13802

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
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.

Problem on Zeos CT 6.90 4 years 6 months ago #13807

  • superc
  • superc's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 75
  • Thank you received: 0
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.

  • Page:
  • 1