Forum > General
MORMot problems with Lazarus
automacaosamos:
adding mORMot in the clause use when compiling the message:
interface
uses
Classes, SysUtils, mORMot;
.
.
Warning: Object fpc-linux64/sha512-x64sse4.o not found, Linking may fail !
Warning: Object fpc-linux64/crc32c64.o not found, Linking may fail !
help me please
thank you
Xor-el:
adding your Lazarus and FPC Version will help a lot in narrowing the issue down.
DonAlfredo:
If you are using Lazarus:
Goto the Project / Options / Paths. Point the Libraries (-FL) towards the correct static libraries for your system. See the libraries inside the static-directory of mORMot.
A good method to get an idea of all the settings, is to open or look into TestSQL3.lpi inside the mORMot directory. You will find something like this:
<Libraries Value="..\static\$(TargetCPU)-$(TargetOS)"/>
This line causes Lazarus to auto-magically use the right libs !
automacaosamos:
thanks for the help !
I tried using TestSQL3 to learn
but the errors were as follows
Linking /home/samos/Lazarus/mORMot/SQLite3/fpc/bin/x86_64-linux/TestSQL3
/usr/bin/ld: not found fpc-linux64/sha512-x64sse4.o
/usr/bin/ld: not found fpc-linux64/crc32c64.o
/usr/bin/ld: not found fpc-linux64/ecclin64O2.o
/usr/bin/ld: not found fpc-linux64/sqlite3-64.o
/usr/bin/ld: not found fpc-linux64/lizard_compress.o
/usr/bin/ld: not found fpc-linux64/lizard_decompress.o
/usr/bin/ld: not found fpc-linux64/lizard_frame.o
/usr/bin/ld: not found fpc-linux64/huf_compress.o
/usr/bin/ld: not found fpc-linux64/huf_decompress.o
/usr/bin/ld: not found fpc-linux64/fse_compress.o
/usr/bin/ld: not found fpc-linux64/fse_decompress.o
/usr/bin/ld: not found fpc-linux64/entropy_common.o
/usr/bin/ld: not found fpc-linux64/xxhash.o
TestSQL3.dpr(205,1) Error: Error while linking
I check: Options for Projects + Compile and Target
Target Platform selected as default
I performed tests.
messages:
WARNING: library search path does not exist: /home/samos/Lazarus/mORMot/fpc-linux
HINT: using config file /etc/fpc.cfg
thanks
DonAlfredo:
--- Quote ---library search path does not exist: /home/samos/Lazarus/mORMot/fpc-linux
--- End quote ---
The above is strange.
This path is wrong.
Look at the included picture of a standard mORMot checkout on Git.
The libs are placed in a "static" directory, under their CPU-OS type !
Navigation
[0] Message Index
[#] Next page