Recent

Author Topic: Problem with GraphMath Library on Raspbian  (Read 1092 times)

berghem

  • Jr. Member
  • **
  • Posts: 63
Problem with GraphMath Library on Raspbian
« on: May 08, 2024, 06:44:19 pm »
I installed last version od raspbian (version 12) and Lazarus 2.2.6 from repository, but it's dosen't work. with new project (a simple GUI) I hve the problem in attachment

graphics.pp(69,14) Fatal: Cannot find GraphMath used by Graphics, incompatible ppu=/usr/lib/lazarus/2.2.6/components/lazutils/lib/arm-linux/graphmath.ppu, multiple packages: LazUtils, LCLBase
« Last Edit: May 08, 2024, 06:46:06 pm by berghem »

berghem

  • Jr. Member
  • **
  • Posts: 63
Re: Problem with GraphMath Library on Raspbian
« Reply #1 on: May 12, 2024, 06:50:02 pm »
Can you hekp me?

wp

  • Hero Member
  • *****
  • Posts: 12353
Re: Problem with GraphMath Library on Raspbian
« Reply #2 on: May 12, 2024, 07:29:21 pm »
What is a "simple GUI" program? A standard LCL application ("Project" > "New" > "Project" > "Application")? In this case, it should work. Please remove everything unneeded from your project and post it here so that we can check the project. In the other case, a plausible error would be that you did not add package LazUtils to the requirements of your project which contains the unit "GraphMath".

TRon

  • Hero Member
  • *****
  • Posts: 3236
Re: Problem with GraphMath Library on Raspbian
« Reply #3 on: May 12, 2024, 08:37:35 pm »
The issue is that you have installed Lazarus in a directory where it does not have enough rights.

It should be automatically handled, and tries to (attempting to use the graphmath unit in the user configuration directory) but ultimately fails. For some reason the checksum calculation/check seem to go wrong and you end up with this mess. afaik it is still an issue in trunk.

At least, de-install your current lazarus, remove any (configuration) remnants and use something like fpcupdeluxe to install a newer version of Lazarus into a directory with enough access rights (you can keep the Free pascal installation from your package manager as long as it is FPC 3.2.2).

see also #40701
« Last Edit: May 12, 2024, 09:11:09 pm by TRon »
All software is open source (as long as you can read assembler)

 

TinyPortal © 2005-2018