You are not logged in.
Pages: 1
Hello
I was working on my project ImGui-Pascal, and It requires linking with some Windows libraries, one of them is msvcrt
And I was recreating one of my projects to use it as a UI and mORMot2 as the backend.
The problem is these APIs are already defined in src\lib\mormot.lib.static.pas
Error: Multiple defined symbol "__strtod"
Error: Multiple defined symbol "__imp__localtime64"
__strtod is only used by src\lib\mormot.lib.quickjs.pas, which can be handled with an IFDEF if QuickJS is used.
But the real problem is imp_localtime64 := @localtime64; which I assume is used for some other library (not sure).
So, what do you think about this case?
Mac, Windows, Linux
FPC Trunk, Lazarus Trunk, Delphi 12.x Latest
Offline
I end up using NOLIBCSTATIC
I created a pull request because it needed some extra fixes so the code could compile
Mac, Windows, Linux
FPC Trunk, Lazarus Trunk, Delphi 12.x Latest
Offline
Hello @ab
Any updates on this https://github.com/synopse/mORMot2/pull/231, Especially the _write bug.
Mac, Windows, Linux
FPC Trunk, Lazarus Trunk, Delphi 12.x Latest
Offline
Pages: 1