Recent

Author Topic: Lazarus Release 2.2.2  (Read 11822 times)

tetrastes

  • Full Member
  • ***
  • Posts: 214
Re: Lazarus Release 2.2.2
« Reply #30 on: May 20, 2022, 09:41:51 pm »
Yes, that's the exactly the point which I do not understand: From Win64 to Linux64 -> same architecture, so both do not have Extended. But it doesn't work anyway  ::)

Linux 64 bit has Extended, quote from https://www.freepascal.org/docs-html/current/ref/refsu5.html#x27-310003.1.2:
Quote
the extended type is available on all Intel x86 processors, except on the Windows 64-bit platform

piola

  • Full Member
  • ***
  • Posts: 108
  • Lazarus 2.2, 64bit on Windows 8.1 x64
Re: Lazarus Release 2.2.2
« Reply #31 on: May 20, 2022, 10:23:39 pm »
Okay...  I do understand even less now %)

I thought it was a the AMD64 architecture to lack support for 80bit-floats, but it's obviously the Win64 libraries which do not provide 80bit-float API functions. Is this the correct interpretation?

So if I go back to using 32bit-Lazarus, I should be able to cross-compile both for Win64 and Linux64, right?

dbannon

  • Hero Member
  • *****
  • Posts: 2036
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus Release 2.2.2
« Reply #32 on: May 21, 2022, 01:52:19 am »
So if I go back to using 32bit-Lazarus, I should be able to cross-compile both for Win64 and Linux64, right?

One approach that might be easier. Use VirtualBox on your windows machine, make a Linux VM for it and call that your "release VM", from there you can pretty easily compile Linux32/64 and Windows32/64 (and Raspberry Pi etc ).  Having that VM there set aside for the final build and test is good too.

My build and package script https://github.com/tomboy-notes/tomboy-ng/blob/master/package/package.bash needs a fair bit of infrastructure around it and it does require the final Inno Setup stage done on Windows but it does make the release very easy. To setup the cross compilers see https://wiki.freepascal.org/Cross_compiling .

I suggest if you need more help, probably should open a new forum thread, its not really an Lazarus issue (its a FPC one)and certainly not Lazarus 2.2.2. one.

Davo

Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

PeaZomboss

  • Newbie
  • Posts: 2
Re: Lazarus Release 2.2.2
« Reply #33 on: May 21, 2022, 10:42:07 am »
In fact you can use FPU through assembler by hand to use Extended float on Windows x64,
but I don't know why MS don't like FPU while Linux x64 use it. ;)

Espectr0

  • New Member
  • *
  • Posts: 44
Re: Lazarus Release 2.2.2
« Reply #34 on: May 21, 2022, 04:04:15 pm »
Many thanks to the lazarus developers!!

cpalx

  • Hero Member
  • *****
  • Posts: 696
Re: Lazarus Release 2.2.2
« Reply #35 on: May 22, 2022, 03:34:39 am »
Thanks all Devrlopers

440bx

  • Hero Member
  • *****
  • Posts: 2812
Re: Lazarus Release 2.2.2
« Reply #36 on: May 22, 2022, 04:24:26 am »
Another thank you and expression of appreciation for all the hard work the team consistently puts into making Lazarus ever better.
FPC v3.0.4 and Lazarus 1.8.2 on Windows 7 64bit.

BrunoK

  • Sr. Member
  • ****
  • Posts: 293
  • Retired programmer
Re: Lazarus Release 2.2.2
« Reply #37 on: May 22, 2022, 03:55:21 pm »
Win 10, Display text size = 200% (Laptop high resolution)
Project -> Options -> Custom Options -> All Options
 displays like in the attachment.

in ide\allcompileroptions.pas at lines near 350, adding   
Container.Perform(CM_PARENTFONTCHANGED, 0, 0) corrects the line spacing.

Code: Pascal  [Select][+][-]
  1.   Container := sbAllOptions;
  2.   Container.Perform(CM_PARENTFONTCHANGED, 0, 0); // ~bk
  3.   Container.DisableAutoSizing{$IFDEF DebugDisableAutoSizing}('TfrmAllCompilerOptions.RenderAndFilterOptions'){$ENDIF};


folkeu08

  • Jr. Member
  • **
  • Posts: 69
Re: Lazarus Release 2.2.2
« Reply #38 on: May 22, 2022, 07:01:24 pm »
Hi,
I'm using lazarus in portable mode on a USB key.
Before installation, I create in the directory dedicated to lazarus a file named "lazarus.cfg" containing these values ​​"--primary-config-path=e:\lazarus_2.2.2\lazconfig".
When I add the installation package "sqlite3laz", and the application recompiles, I get an error message when I launch it (see the attachment). Is this normal?
With version 2.2.0, I didn't have it.
Thank you

« Last Edit: May 22, 2022, 07:13:59 pm by folkeu08 »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 7933
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release 2.2.2
« Reply #39 on: May 22, 2022, 08:36:28 pm »
Hi,
I'm using lazarus in portable mode on a USB key.
Before installation, I create in the directory dedicated to lazarus a file named "lazarus.cfg" containing these values ​​"--primary-config-path=e:\lazarus_2.2.2\lazconfig".
When I add the installation package "sqlite3laz", and the application recompiles, I get an error message when I launch it (see the attachment). Is this normal?
With version 2.2.0, I didn't have it.
Thank you

From Microsoft's page
Code: Text  [Select][+][-]
  1. Error 0x7b
  2. The filename, directory name, or volume label syntax is incorrect.

Do you have the sqlite dll installed (matching 64/32 bit depending on what Lazarus bit-ness you have?

folkeu08

  • Jr. Member
  • **
  • Posts: 69
Re: Lazarus Release 2.2.2
« Reply #40 on: May 22, 2022, 09:31:08 pm »
Hi Martin_fr,
You have right. It's a new install and the dll is not present
I add a line in my tuto to install on a usb Stick.
Very thanks.
François

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4098
  • I like bugs.
Re: Lazarus Release 2.2.2
« Reply #41 on: May 23, 2022, 10:04:05 am »
Win 10, Display text size = 200% (Laptop high resolution)
Project -> Options -> Custom Options -> All Options
 displays like in the attachment.

in ide\allcompileroptions.pas at lines near 350, adding   
Container.Perform(CM_PARENTFONTCHANGED, 0, 0) corrects the line spacing.

Code: Pascal  [Select][+][-]
  1.   Container := sbAllOptions;
  2.   Container.Perform(CM_PARENTFONTCHANGED, 0, 0); // ~bk
  3.   Container.DisableAutoSizing{$IFDEF DebugDisableAutoSizing}('TfrmAllCompilerOptions.RenderAndFilterOptions'){$ENDIF};
Luckily I noticed this and added the line in 59eeb39742. Will be merged to fixes branch.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Al-Eid

  • Jr. Member
  • **
  • Posts: 53
Re: Lazarus Release 2.2.2
« Reply #42 on: May 24, 2022, 12:57:06 pm »
thank you all  :)

Milsa

  • Sr. Member
  • ****
  • Posts: 282
Re: Lazarus Release 2.2.2
« Reply #43 on: May 27, 2022, 04:24:37 pm »
Configuration path error for fppkg is still not fixed.

My Lazarus path is (for secondary installation):
D:\Windows\Programy\lazarus\

Config path is (for secondary installation):
D:\Windows\Programy\lazarus\config\

Fppkg still save configuration file to local file:
C:\Users\---\AppData\Local\FreePascal\fppkg\fppkg.cfg

Correct configuration file must be:
D:\Windows\Programy\lazarus\config\fppkg.cfg

Please fix it, this is issue for it:
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39612
« Last Edit: May 27, 2022, 04:34:04 pm by Milsa »
I work with Lazarus 2.0.10, FPC 3.2.0, SVN 63526
This information is actual to: 1st Aug 2020

12398890

  • Newbie
  • Posts: 3
Re: Lazarus Release 2.2.2
« Reply #44 on: May 29, 2022, 06:44:18 pm »
Many thanks to the lazarus developers.

 

TinyPortal © 2005-2018