Code Monkey home page Code Monkey logo

Comments (13)

Alexey-T avatar Alexey-T commented on August 24, 2024

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.

DUOLabs333 avatar DUOLabs333 commented on August 24, 2024

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.

Alexey-T avatar Alexey-T commented on August 24, 2024

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.

DUOLabs333 avatar DUOLabs333 commented on August 24, 2024

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.

Alexey-T avatar Alexey-T commented on August 24, 2024

fpcUpDeluxe will ignore that sad fact, it can install any last version.

from cudatext_up.

DUOLabs333 avatar DUOLabs333 commented on August 24, 2024

Hmmm, it turns out that compiling lazbuild fails with the same error.

from cudatext_up.

DUOLabs333 avatar DUOLabs333 commented on August 24, 2024

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.

Alexey-T avatar Alexey-T commented on August 24, 2024

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.

DUOLabs333 avatar DUOLabs333 commented on August 24, 2024

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.

Alexey-T avatar Alexey-T commented on August 24, 2024

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.

DUOLabs333 avatar DUOLabs333 commented on August 24, 2024

I'll try again soon and see if I can get it working this time.

from cudatext_up.

DUOLabs333 avatar DUOLabs333 commented on August 24, 2024

Is there a way to set fpcdeluxe to do a shallow clone (ie, clone --depth 1)?

from cudatext_up.

DUOLabs333 avatar DUOLabs333 commented on August 24, 2024

Ok, I got it compiled using fpcupdeluxe!

from cudatext_up.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.