You are not logged in.
Pages: 1
I tried today to include a part my code with mormot2 in a delphi package.
During compile I am getting an error [dcc32 Fatal Error] mormot.db.raw.sqlite3.pas(1): F2084 Internal Error: GH8402 and a message box that it can not find the file in the package directory path(????)
I have tried to included it as a unit with its directory path in uses list, but the error persists
I have read problems concerning include it in a dll, but is it free of problems with a delphi package?
Offline
Delphi 11.3 patch 1
Offline
I've got the exact same issue. I can't create a package for Delphi. I also use Delphi 11.3, but without patch 1.
Edit: I've managed to create and install the package by editing Javierus' .dpk file, creating a .bpl from it as well as a dcp file. I nested this into another dcp file. I tried it with both files: I get an error when compiling my units in Delphi telling me mormot.db.raw.sqlite3.pas was missing. Now I'm thinking it could actually be a bug inside mORMot 2 itself. I've just included units necessary for SQLite plus a few extra ones. It would be really appreciated if mORMot 2 would come with a working .dpk file on Github just like there is one for Lazarus.
Last edited by vennexedu (2024-11-21 22:25:12)
Offline
The solution was to go into Project->Options->Delphi-Compiler->C/C++-Compilation->Compiling of output file->Only build DCUs in the project that uses mORMot2's dcp file.
Last edited by vennexedu (2024-11-22 15:26:29)
Offline
Pages: 1