Hi,
Am fairly new to FPC.
I have with me the latest trial version of Pgdac (6.3)
Have installed FPC 3.2.0 (Lazarus 2.0.10) on Windows and successfully installed PgDac components
I want to cross compile with target as Linux.
With the help of fpcupdeluxe I installed the cross Compiler for Linux on my Windows machine
When I try and compile my source code which contains pgDac in the uses class (and also the PgConnection and PgQuery components) I am unable to compile.
Question : Should I install pgDac in the cross compiler also? If so how do I do it?
Thanks
Ganesh
PgDac 6.3 FPC 2.0.10 Install components
Re: PgDac 6.3 FPC 2.0.10 Install components
You can try cross-compilation in PgDAC Professional Edition with source code. For example, this edition allows you to develop applications on Linux in Lazarus for Linux, and Win32 and Win64 applications on Windows in Lazarus for Windows. This is the way we compile the source code. Please reach out to the developers of Lazarus for information on using cross-compilation.
-
- Posts: 2
- Joined: Tue 15 Sep 2020 14:27
Re: PgDac 6.3 FPC 2.0.10 Install components
Hi,
I use Free Pascal 3.2.0
Lazarus 2.0.10
on Windows 10 currently.
While trying to install pgDac component I get the following error
Messages, Warnings: 6
Warning: other unit files search path (aka unit path) of "dclpgdac10 6.3.2" contains "C:\Lazarus\pgdac\PgDAC\Source", which belongs to package "pgdacvcl10"
Warning: other unit files search path (aka unit path) of "dcldac10 11.3.2" contains "C:\Lazarus\pgdac\PgDAC\Source", which belongs to package "pgdacvcl10"
Warning: other unit files search path (aka unit path) of "pgdacvcl10 6.3.2" contains "C:\Lazarus\pgdac\PgDAC\Source", which belongs to package "dacvcl10"
Warning: other unit files search path (aka unit path) of "dacvcl10 11.3.2" contains "C:\Lazarus\pgdac\PgDAC\Source", which belongs to package "pgdacvcl10"
Warning: other unit files search path (aka unit path) of "pgdac10 6.3.2" contains "C:\Lazarus\pgdac\PgDAC", which belongs to package "dac10"
Warning: other unit files search path (aka unit path) of "dac10 11.3.2" contains "C:\Lazarus\pgdac\PgDAC", which belongs to package "pgdac10"
Compile package dac10 11.3.2: Exit code 1, Errors: 1, Warnings: 1
Warning: Recompiling CRAccess, checksum changed for C:\Lazarus\fpc\units\x86_64-win64\rtl\system.ppu
dac10.pas(11,3) Fatal: Cannot find CRAccess used by dac10, incompatible ppu=C:\Lazarus\pgdac\PgDAC\lib\x86_64-win64\CRAccess.ppu, package dac10
Can you help me install the package?
I use Free Pascal 3.2.0
Lazarus 2.0.10
on Windows 10 currently.
While trying to install pgDac component I get the following error
Messages, Warnings: 6
Warning: other unit files search path (aka unit path) of "dclpgdac10 6.3.2" contains "C:\Lazarus\pgdac\PgDAC\Source", which belongs to package "pgdacvcl10"
Warning: other unit files search path (aka unit path) of "dcldac10 11.3.2" contains "C:\Lazarus\pgdac\PgDAC\Source", which belongs to package "pgdacvcl10"
Warning: other unit files search path (aka unit path) of "pgdacvcl10 6.3.2" contains "C:\Lazarus\pgdac\PgDAC\Source", which belongs to package "dacvcl10"
Warning: other unit files search path (aka unit path) of "dacvcl10 11.3.2" contains "C:\Lazarus\pgdac\PgDAC\Source", which belongs to package "pgdacvcl10"
Warning: other unit files search path (aka unit path) of "pgdac10 6.3.2" contains "C:\Lazarus\pgdac\PgDAC", which belongs to package "dac10"
Warning: other unit files search path (aka unit path) of "dac10 11.3.2" contains "C:\Lazarus\pgdac\PgDAC", which belongs to package "pgdac10"
Compile package dac10 11.3.2: Exit code 1, Errors: 1, Warnings: 1
Warning: Recompiling CRAccess, checksum changed for C:\Lazarus\fpc\units\x86_64-win64\rtl\system.ppu
dac10.pas(11,3) Fatal: Cannot find CRAccess used by dac10, incompatible ppu=C:\Lazarus\pgdac\PgDAC\lib\x86_64-win64\CRAccess.ppu, package dac10
Can you help me install the package?
Re: PgDac 6.3 FPC 2.0.10 Install components
We've successfully tested PgDAC 6.3.2 Trial Edition in Lazarus 2.0.10. The error message suggests that some libraries from the previous versions of PgDAC are left in the IDE. Before installing PgDAC 6.3.2, make sure that there are not previous versions of PgDAC installed in the system and all associated packages have been removed.