Forum > Other
Cannot compile CudaText for FreeBSD x64 with libQt5Pas
AlexTP:
I got the libQt5Pas file from
https://github.com/Alexey-T/CudaText/issues/5040#issuecomment-1533917966
and copied it to
fpcupdeluxe/fpcupdeluxe32/cross/lib/x86_64-freebsd/libQt5Pas.so
On compiling, I got many messages like this:
--- Quote ---Error: /home/user/fpcupdeluxe/fpcupdeluxe32/cross/bin/x86_64-freebsd/x86_64-freebsd12-ld.bfd: /home/user/fpcupdeluxe/fpcupdeluxe32/cross/lib/x86_64-freebsd//libQt5Pas.so: undefined reference to `QItemSelectionModel::columnIntersectsSelection(int, QModelIndex const&) const@Qt_5'
--- End quote ---
And 'linking error' at end.
Thaddy:
If you remove the .1 (specific versioning, bad idea) it compiles if FreeBSD is up to date. I just tested that.
(btw thx for the nice projects you do)
AlexTP:
I already removed the .1 (because if not, linker cannot find the file, now it finds the .so file, but we have many compile errors, like I shown).
I use fpcupdeluxe, cross-compiling to FreeBSD on Linux Ubuntu 20.4.
AlexTP:
And I use
Free Pascal Compiler version 3.2.3-660-g9b2ba834a6 [2022/08/18] for x86_64
dbannon:
--- Quote from: Thaddy on May 04, 2023, 11:15:31 am ---If you remove the .1 (specific versioning, bad idea) it compiles if FreeBSD is up to date. I just tested that.
--- End quote ---
it would be more normal to put the original file, libQt5Pas.so.1.2.12, in the appropriate lib directory and then make symlinks called libQt5Pas.so.1.2, libQt5Pas.so.1 and libQt5Pas.so to it.
I am unsure which one Zeljko's code tries to open. But it could be any of them except, probably, "libQt5Pas.so.1.2.12".
Davo
Navigation
[0] Message Index
[#] Next page