Comments (13)
Maybe Laz is old. Use 3.2.
anyway, comment this line
{$ifdef LCLQT5}
//if you use Lazarus 2.x, this line cannot be compiled, so comment it
QTimer_singleShot(10, @_QtDelayTimeOut);
{$endif}
it is check that runtime Qt5 lib is correct.
if it is not, on calling SaveAs dialog, app will crash.
from cudatext_up.
Commenting out that line got me to linking. Unfortunately, I get the same error I got before: undefined reference to __libc_csu_init. This is likely due to fpc not finding crtbegin.o, even though it's already installed on my system.
from cudatext_up.
What FPC version? try to use the last release. If not ok, try the 'trunk' (last in git).
Use the fpcUpDeluxe and set there the 'trunk' option to use last git version.
from cudatext_up.
Ok, so it turns out that on Arch Linux ARM, Lazarus is outdated by more than 2 years (though fpc is up to date).
from cudatext_up.
fpcUpDeluxe will ignore that sad fact, it can install any last version.
from cudatext_up.
Hmmm, it turns out that compiling lazbuild fails with the same error.
from cudatext_up.
It turns out the fix for fpc is in 3.2.4, which means I have to recompile that too. Is it possible for cudatext_up to point to a custom fpc directory, like with lazbuild?
from cudatext_up.
it don't support FPC path yet. try to fork it:
- lazarus dir is passed to lazbuild using
--lazdir
cmdline param - FPC dir is passed to lazbuild using
--compiler=<ppcXXX>
param --> add it please
from cudatext_up.
Interestingly, if I change the compiler parameter to my locally compiled version, I get Can't find unit system used by emmet_package
for each of the packages used.
from cudatext_up.
it means that fpc.cfg file is not fully configured. 'cannot find unit system' error means it. I guess here. not sure!
from cudatext_up.
I'll try again soon and see if I can get it working this time.
from cudatext_up.
Is there a way to set fpcdeluxe to do a shallow clone (ie, clone --depth 1
)?
from cudatext_up.
Ok, I got it compiled using fpcupdeluxe!
from cudatext_up.
Related Issues (14)
- Offline build support HOT 5
- cudaup.sh not portable (does not run "out of the box" on freebsd) HOT 5
- File/Folder permission HOT 3
- Missing LICENSE file HOT 1
- "unary operator expected" error HOT 3
- Not running on Fedora 37 HOT 12
- replace "git pull origin master" with just "git pull"? HOT 1
- switch bgrabitmap to custom branch HOT 5
- dir 'src' with poor attribs
- Cannot build on Arch? HOT 2
- Wrong (obsolete?) directory for bgrabitmap in packages
- Some lazbuild problem with BGRAbitmap pkg HOT 1
- DoGet broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cudatext_up.