You are not logged in.
Pages: 1
Hello guys i'd like to know if its possible to use SynMongoDB without mORMot or without the full package since i'm not going to use the orm anyway. Besides i'm using lazarus do that works in FPC?(i know that should be the first question lol) and any description of "How to" is apreciated(newbie here...), sorry for any errors not a english speaker here
Offline
Yes, you can use directly SynMongoDB, which is not tied to the mORMot ORM at all.
Just check the corresponding sample, and the associated documentation.
It should work with FPC, too (even if you may have problem with some late-binding of variants, depending on the compiler revision).
Offline
Thanks for reply! i searched the docs and find de dependencies https://synopse.info/files/html/api-1.1 … ngoDB.html after get all the dependencies and codependencies when i run my test project the following error appear: https://drive.google.com/file/d/1Q3a43I … sp=sharing
how can i solve that?
Offline
I already put the necessary .o guys on the project folder https://drive.google.com/file/d/1vdN52D … sp=sharing i'm out of luck... well, everybody have to be a padawan before be a jedi don't you think? unless you are Chuck Norris.... lol thanks for help
Last edited by WilliamAndrade (2017-11-06 20:33:37)
Offline
Ok i looked on the docs https://synopse.info/files/html/Synopse … l#TITL_113 assuming that Dev(/Dev/Lib) its the project folder and lib is the lib folder created inside the project directory, i moved synmongodb and his dependencies to lib running the project the same errors appear https://drive.google.com/open?id=1Q3a43 … 2d1_V7WakU in the 26.3 section theres "for FPC only: static .o files for Windows or Linux" i have downloaded then but i don't get how to use it since i'm using windows x64 extract the fpc-win64 appeared to be the right thing to do, so i moved the FOLDER fpc-win64 to the lib folder https://drive.google.com/open?id=19oTZE … rXHUfGYfNJ but as in the website says TWO folders i put the the fpc-win32 too, but the same errors appear https://drive.google.com/open?id=1Q3a43 … 2d1_V7WakU i've tried to cut the all *.o files from fpc-win64 to the x86_64-win64 and that error came https://drive.google.com/open?id=1TCLps … 6iGf8fON7U i'm also tried to get the all *.o file from fpc-win64 and move to the lib folder(together with the synmongodb and his dependencies) but just came back to the first error https://drive.google.com/openid=1Q3a43I … 2d1_V7WakU.
How can i solve this? What i have to move of folder and in what folder?
Project Directory: https://drive.google.com/open?id=1b034g … yZcLcjRhIv
Lib folder: https://drive.google.com/open?id=19oTZE … rXHUfGYfNJ
Last edited by WilliamAndrade (2017-11-08 20:11:18)
Offline
Why are you re-creating the folder hierarchy?
Just start from https://github.com/synopse/mORMot by clicking "Clone or Download" button.
Extract all files and folders in your "lib" folder.
And it will compile.
Offline
I tried now same error https://drive.google.com/file/d/1Q3a43I … 7WakU/view
Offline
Pages: 1