Recent

Author Topic: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)  (Read 100367 times)

boz

  • New Member
  • *
  • Posts: 10
    • Roving Dynamics Ltd
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #90 on: November 06, 2017, 07:01:03 pm »
Hi Guys

Did a complete install over my 1.64 version installing the i386-win32-win32/win64 SVN Revision 56026 on my Windows 10 64 bit system. Install was a very smooth, the program is very quick to load and run, and my four programs compile fine, including a very large one using the MySQL56 connector and LazReport which passed my basic test scripts without issue.

Shout out to the Online Package Manager, the two components I installed (indy and lazserial) went without a hitch, lazreport had to be installed the old way but also went without a hitch.

I will continue to use it in my day to day activity and report any problems. Thanks for the groups time and effort to make such a professional product. I feel another donation coming on :)

Boz
Roving Dynamics Ltd
rodyne.com
Boz
Roving Dynamics Ltd
www.rodyne.com

soerensen3

  • Full Member
  • ***
  • Posts: 213
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #91 on: November 18, 2017, 05:06:30 pm »
I don't know if anyone else has this behaviour but in my Lazarus 1.8 RC5 something with the automatic indentation is wrong. It always indents only one instead of two spaces regardless of the indentation settings.
I mean the behaviour of the editor when you type for example "if ( a = b ) then" followed by return, it would automatically indent the next line by 2 spaces by default. For me it's just one.
Lazarus 1.9 with FPC 3.0.4
Target: Manjaro Linux 64 Bit (4.9.68-1-MANJARO)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9792
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #92 on: November 18, 2017, 06:17:14 pm »
The "indentation settings" (those under Editor in the options) are for intend using tab or ctrl-i.

For auto indent after begin, you need "smart indent" under codetools. This has its own config. (it looks at the example file).

Not sure how it mixes with the tab vs space settings of the editor...

soerensen3

  • Full Member
  • ***
  • Posts: 213
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #93 on: November 18, 2017, 11:52:40 pm »
Yes, you're right it's in fact a Code Tools feature. Thanks for the tip with the example file. I always wondered what exactly it was for cause I didn't notice any difference last time I tried. After I found out that in other sources everything worked as expected I noticed that I did one wrong indentation in the same file. It seems that the tool uses the default indentation example only if it cannot find a rule for the "if" (or another keyword) in the same file being edited.
Lazarus 1.9 with FPC 3.0.4
Target: Manjaro Linux 64 Bit (4.9.68-1-MANJARO)

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #94 on: November 21, 2017, 10:48:09 am »
While step by step compiling some of my old projects I got this error:

Lazarus 1.8RC5 Error on compiling a project.jpg

Projekt kompilieren, Ziel: exeOutput\TFileExplorer.exe: Exit code 1, Fehler: 1, Warnungen: 1
Warning: Recompiling Win32Int, checksum changed for character
win32int.pp(37,14) Fatal: Kann Win32Int nicht finden verwendet von Interfaces, incompatible ppu=C:\lazarus\lcl\units\i386-win32\win32\win32int.ppu, Package LCL

The Project was last compiled on 2016-06-08 (successfully ..)
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #95 on: November 21, 2017, 12:14:23 pm »
I stripped down the project to the max, but it didn't help.

Then I copied win32int.pp to my project folder => Lazarus complained the missing "{$I win32defines.inc}"

Then I manually added
 C:\lazarus\lcl\interfaces\win32\
to the project's paths.

Then the stripped down project compiled - yeah !!!

------------------------------------------------

But I found several files in my project's output folder
  win32def.o, win32def.ppu, .....
and I do not understand why lazarus recompiles these lazarus sources into my output folder .. :-(
« Last Edit: November 21, 2017, 12:24:41 pm by PeterX »
usually using latest Lazarus release version with Windows 10

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #96 on: November 21, 2017, 12:57:52 pm »
I stripped down the project to the max, but it didn't help.

Then I copied win32int.pp to my project folder => Lazarus complained the missing "{$I win32defines.inc}"

Then I manually added
 C:\lazarus\lcl\interfaces\win32\
to the project's paths.

Then the stripped down project compiled - yeah !!!

------------------------------------------------

But I found several files in my project's output folder
  win32def.o, win32def.ppu, .....
and I do not understand why lazarus recompiles these lazarus sources into my output folder .. :-(
By adding the folder C:\lazarus\lcl\interfaces\win32\ to your project's path (instead of adding the package they belong to as a requirement) you instruct the IDE to assume that all the files in there are part of your project and ignore any package that they might belong. As long as you do not add a requirement for their package (and you keep that path),  your project's unit directory (and not the package's) is the only directory that is known to the IDE and to the compiler. Some times this is the only way to go in your case I have no idea I just jump in to explain the path thing.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #97 on: November 21, 2017, 01:17:31 pm »
@PeterX, you maybe installed a new Lazarus on top of an old one. A clean build of the whole Lazarus usually helps.

Then I copied win32int.pp to my project folder => Lazarus complained the missing "{$I win32defines.inc}"
Then I manually added
 C:\lazarus\lcl\interfaces\win32\
to the project's paths.
That is a NO NO ...
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #98 on: November 21, 2017, 01:21:44 pm »
@PeterX, you maybe installed a new Lazarus on top of an old one. A clean build of the whole Lazarus usually helps.
Hm, I always uninstall the old version before installing the new one, in this case 1.8RC5
usually using latest Lazarus release version with Windows 10

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #99 on: November 21, 2017, 01:34:49 pm »
@PeterX, you maybe installed a new Lazarus on top of an old one. A clean build of the whole Lazarus usually helps.
Hm, I always uninstall the old version before installing the new one, in this case 1.8RC5
Did a clean build of Lazarus help?
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #100 on: November 21, 2017, 01:42:25 pm »
Did a clean build of Lazarus help?
No. It didn't.

I now started with a NEW project and now copy everything into this new one. Let's see ..
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #101 on: November 21, 2017, 01:54:00 pm »
I copied everything into a NEW project and now everything works fine.

I wasn't able to find out why the 1.6.4 project did not compile under 1.8 RC5.
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #102 on: November 21, 2017, 04:36:01 pm »
Okay, not resoved but discovered + deactivated:

I used files from a really old package called "utf8tools".
Somehow these files did work under Laz 1.6.4
Now under 1.8 RC5 they somehow interfer with existing unit LConvEncoding or so ..
usually using latest Lazarus release version with Windows 10

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #103 on: November 22, 2017, 11:55:18 am »
My problem seems to be related to a LAZARUS behaviore I never realized before:

When simply adding a subfolder to PATHS
and NOT adding even one of the PAS files there
the compiler runs through all files.

A file named CHARACTER.PAS exists in both FPC folder and UTF8tools ZIP.

So there something interfers with UTF8tools and Laz 1.8 RC5
« Last Edit: November 22, 2017, 12:04:43 pm by PeterX »
usually using latest Lazarus release version with Windows 10

RayoGlauco

  • Full Member
  • ***
  • Posts: 176
  • Beers: 1567
Re: Lazarus Release Candidate 5 of 1.8 (includes RC1 fpc 3.0.4)
« Reply #104 on: November 22, 2017, 07:24:24 pm »
Hello!

Does anyone know when the final release is expected to be published?   :-\

Thanks!  :)

To err is human, but to really mess things up, you need a computer.

 

TinyPortal © 2005-2018