Recent

Author Topic: Lazarus Release Candidate 1 of 1.8  (Read 73492 times)

dstritt

  • Newbie
  • Posts: 6
  • Eternally a newbie
Re: Lazarus Release Canditate 1 of 1.8
« Reply #60 on: May 24, 2017, 02:00:23 am »
Ok, I tried trunk 55069 and the problem I was having seems to be resolved. Thanks.

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Lazarus Release Canditate 1 of 1.8
« Reply #61 on: May 26, 2017, 02:50:19 pm »
I started working on one of my projects this week,
until now everything works fine with Lazarus 1.8 RC1 !

 :D
usually using latest Lazarus release version with Windows 10

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Lazarus Release Canditate 1 of 1.8
« Reply #62 on: May 28, 2017, 05:30:13 pm »
Hello all.

I found some minor issues and 1 critical issue in Lazarus 1.8.0 RC1:

- Installation - FPC Conflict
- First Time Starting IDE - Wrong Version
- First Time Starting IDE - Package Registration Error
- IDE Keyboard Typing !!! Critical !!!

I posted those problem on different thread, if you're interested you can visit here:
http://forum.lazarus.freepascal.org/index.php/topic,37022.msg247603.html#msg247603

Note:
The tests were performed on Ubuntu Mate 16.10 64-bit and the installation was using 3 deb files (2017-05-15) downloaded from here:
https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.8.0RC1/
« Last Edit: May 28, 2017, 05:38:18 pm by Handoko »

chentung

  • New member
  • *
  • Posts: 9
Re: Lazarus Release Canditate 1 of 1.8
« Reply #63 on: May 28, 2017, 05:34:17 pm »
report :
win10 , 64bit, Chinese

C:\lazarus18rc1\components\printers\win32\winutilprn.pas
line 251 is commented out :
-->//function OpenPrinter(_para1:LPSTR; _para2:PHANDLE; _para3:LPPRINTER_DEFAULTSA):BOOL;stdcall; external LibWinSpool name 'OpenPrinterA';

but package fortesreport-3.24-LCL-R2 \ rlprinterd.pas
line 127 need the function OpenPrinter() :
-->if not OpenPrinter(PChar(PrinterDevice.Name),@hPrinter,@foodefs) then ...

I  changed that to
-->  if not OpenPrinterW(PWideChar(PrinterDevice.Name),@hPrinter,@foodefs) then ...

then it can be compiled and installed.

cpicanco

  • Hero Member
  • *****
  • Posts: 618
  • Behavioral Scientist and Programmer
    • Portfolio
Re: Lazarus Release Canditate 1 of 1.8
« Reply #64 on: May 30, 2017, 06:33:42 pm »
http://forum.lazarus.freepascal.org/index.php/topic,36093.msg247835/topicseen.html#new

I am guessing this issue (see link above) will be properly resolved when unstable debian becomes stable. It seems that official (from Lazarus) FPC 3.0.2 (also FPC 3.0.3) was compiled using unstable debian source. If you are someone from the official release team, please, could you confirm if this is the case? Also, can you imagine some alternative solution in order to avoid such problems for future releases? Newbies like me will appreciate. Thanks.

PS.: The fix is just a workaround. As noted by Marco van de Voort, there is no official release of FPC *.deb files. In other words, the Lazarus Team (not FPC Team) is redistributing a buggy .deb FPC file. 
Be mindful and excellent with each other.
https://github.com/cpicanco/

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Lazarus Release Canditate 1 of 1.8
« Reply #65 on: May 30, 2017, 06:48:24 pm »
I ever got "Error while linking" issue. But it fixed after I properly compile/cross-compile the FPC.

cpicanco

  • Hero Member
  • *****
  • Posts: 618
  • Behavioral Scientist and Programmer
    • Portfolio
Re: Lazarus Release Canditate 1 of 1.8
« Reply #66 on: May 30, 2017, 06:58:27 pm »
Quote
I ever got "Error while linking" issue. But it fixed after I properly compile/cross-compile the FPC.

What is your OS Handoko?
Be mindful and excellent with each other.
https://github.com/cpicanco/

Thaddy

  • Hero Member
  • *****
  • Posts: 14214
  • Probably until I exterminate Putin.
Re: Lazarus Release Canditate 1 of 1.8
« Reply #67 on: May 30, 2017, 07:05:50 pm »
Quote
I ever got "Error while linking" issue. But it fixed after I properly compile/cross-compile the FPC.

What is your OS Handoko?
Multiple ;) I know that. But anyway a linker problem like yours is fixed by updating your toolchain properly.
The only OS for which that is unlikely is Windows 32/64 because those have an internal linker.
Specialize a type, not a var.

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Lazarus Release Canditate 1 of 1.8
« Reply #68 on: May 30, 2017, 07:08:58 pm »
Main OS: Ubuntu Mate 16.10 64-bit.

I remember I ever got that error several times, because
- I tried to cross-compile but I did it wrong
- I tried to combine Lazarus/FPC with different version of FPC-source

I sometimes naughty, I do thing not following the correct way. I learned the lesson. That "error while linking" just gone if I do it correctly.

Deepaak

  • Sr. Member
  • ****
  • Posts: 454
Re: Lazarus Release Canditate 1 of 1.8
« Reply #69 on: May 31, 2017, 04:44:11 pm »
 ;D ;D Amazing! million thanks to team Lazarus.  ;D ;D

Holiday season is online now. :-)

amarryat

  • New Member
  • *
  • Posts: 12
Re: Lazarus Release Canditate 1 of 1.8
« Reply #70 on: May 31, 2017, 10:30:46 pm »
Not knowing what's the best way to report an issue, I'll describe it here.  This was not an issue in 1.6.4, but is a bug in 1.8.0RC1.  I'm using the win32 version.

StringGrid.CellRect returns the improper coordinates when the form isn't visible yet, but works correctly once the form is visible.

cpicanco

  • Hero Member
  • *****
  • Posts: 618
  • Behavioral Scientist and Programmer
    • Portfolio
Re: Lazarus Release Canditate 1 of 1.8
« Reply #71 on: June 01, 2017, 10:20:07 pm »
Handoko, as noted by Marco van de Voort, there is no official release of FPC *.deb files. In other words, the Lazarus Team (not FPC Team) is redistributing a .deb FPC file that will cause the linker error for machines with Debian 8 Stable.
Be mindful and excellent with each other.
https://github.com/cpicanco/

zeljko

  • Hero Member
  • *****
  • Posts: 1594
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus Release Canditate 1 of 1.8
« Reply #72 on: June 01, 2017, 10:26:09 pm »
Not knowing what's the best way to report an issue, I'll describe it here.  This was not an issue in 1.6.4, but is a bug in 1.8.0RC1.  I'm using the win32 version.

StringGrid.CellRect returns the improper coordinates when the form isn't visible yet, but works correctly once the form is visible.

Best was is to report issue here: https://bugs.freepascal.org , choose lazarus project and fill bug report + example project.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: Lazarus Release Canditate 1 of 1.8
« Reply #73 on: June 01, 2017, 11:45:37 pm »
Best was is to report issue here: https://bugs.freepascal.org , choose lazarus project and fill bug report + example project.
Unless the login problem still prevents him doing so.
Anyway it will be fixed in near future, I understood somebody is working on it.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Ondrej Pokorny

  • Full Member
  • ***
  • Posts: 220
Re: Lazarus Release Canditate 1 of 1.8
« Reply #74 on: June 02, 2017, 09:54:51 am »
Anyway it will be fixed in near future, I understood somebody is working on it.

Who?

Btw. I cannot reproduce it. This code works just fine in trunk and 1.8 RC1:

Code: [Select]
procedure TForm1.FormCreate(Sender: TObject);
var
  R: TRect;
begin
  WriteLn('Creating grid');

  FGrid := TDrawGrid.Create(Self);
  with FGrid do
  begin
    Parent := Self;
    Width := 0;
    Flat := True;

    FixedRows := 1;
    FixedCols := 0;

    // At least 2 columns.
    while Columns.Count < 2 do
      Columns.Add;

    // First column wider than grid width.
    ColWidths[0] := 250;
    ColWidths[1] := 50;

    R := CellRect(0, 0);
    Writeln(Format('%d %d %d %d', [R.Top, R.Left, R.Bottom, R.Right]));

    Row := 4;
  end;
  WriteLn('Done');
end;

end.

 

TinyPortal © 2005-2018