#1 Re: mORMot 1 » TRTLCriticalSection not found for macOS 32. » 2019-03-25 21:20:09

Hi Arnaud,

Thank you for your reply. So there is no way for me to host the database on a Mac system? Looking at the source code i do not see how to connect to a local database. I am sad that this did not work out. I was really starting to appreciate the functionality.

Best,
Pat

#2 mORMot 1 » TRTLCriticalSection not found for macOS 32. » 2019-03-23 18:14:52

Pat Costigan
Replies: 3

Hi,
I am using Delphi 10.3 (community edition) on Windows 10. I am using mormot on a SQLite DB that contains a single table. Using a firemonkey application, the win32 version compiles and runs fine but the macOS 32 version does not compile (or build). The problem is in SynCommons. The class TSynPersistent declares the private variable fSection: TRTLCriticalSection. However, the compiler says that TRTLCriticalSection is an ‘undeclared variable’ and I cannot seem to find its definition. I do not use any critical sections in my code and today I downloaded the latest mormot update from Github. What do I need to declare/omit/define in OSX to get this to compile.
I appreciate the work that goes into this package, truly outstanding.
Thanks,
Pat

Board footer

Powered by FluxBB