[Lazarus] Compile issue with Lazarus / FPC 3.2.0 64bit

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] Compile issue with Lazarus / FPC 3.2.0 64bit

Free Pascal - Lazarus mailing list
Hi all,

I am trying to compile Lazarus (the GitHub mirror SVN rev51500) on windows 64bit with the following compiler

Free Pascal Compiler version 3.2.0 [2020/07/07] for x86_64

I get the following error:

make all
<skip>
D:\lazarus\components\lazutils\utf8process.pp(357,69) Error: (3285) Expected another 2 array elements
<skip>
utf8process.pp(664) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted

I did expect that Lazarus would be out of the box compiling on FPC 3.2.0. Do I need to set some defines from the command line on 64bit?

TIA!

Rgds, Darius

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Compile issue with Lazarus / FPC 3.2.0 64bit

Free Pascal - Lazarus mailing list
On 10/03/2021 16:48, Darius Blaszyk via lazarus wrote:
> Hi all,
>
> I am trying to compile Lazarus (the GitHub mirror SVN rev51500) on
> windows 64bit with the following compiler
>

Which mirror?
51500 is from 2016.

> utf8process.pp(664) Fatal: (10026) There were 1 errors compiling
> module, stopping

Not looked at it, but it may be some
   array [some_enum_defined_in_fpc] of ....

If that enum has changed in fpc, then the old code no longer compiles.

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Compile issue with Lazarus / FPC 3.2.0 64bit

Free Pascal - Lazarus mailing list
duh... Indeed, the repository I have been using (https://github.com/graemeg/lazarus) seems to be running behind for quite some years.  I will use the official SVN repository instead.

Thanks!

Darius

On Wed, Mar 10, 2021 at 5:19 PM Martin Frb via lazarus <[hidden email]> wrote:
On 10/03/2021 16:48, Darius Blaszyk via lazarus wrote:
> Hi all,
>
> I am trying to compile Lazarus (the GitHub mirror SVN rev51500) on
> windows 64bit with the following compiler
>

Which mirror?
51500 is from 2016.

> utf8process.pp(664) Fatal: (10026) There were 1 errors compiling
> module, stopping

Not looked at it, but it may be some
   array [some_enum_defined_in_fpc] of ....

If that enum has changed in fpc, then the old code no longer compiles.

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Compile issue with Lazarus / FPC 3.2.0 64bit

Free Pascal - Lazarus mailing list
On 10/03/2021 21:08, Darius Blaszyk wrote:
> duh... Indeed, the repository I have been using
> (https://github.com/graemeg/lazarus 
> <https://github.com/graemeg/lazarus>) seems to be running behind for
> quite some years.  I will use the official SVN repository instead.
>

Just looked. The "upstream" branch seems to be up to date.

There also is a 2nd mirror, but it is separately translated from svn, so
it has different commit hashes.
https://github.com/User4martin/lazarus/
--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Compile issue with Lazarus / FPC 3.2.0 64bit

Free Pascal - Lazarus mailing list
It has just yesterday updated so it seems. Thanks for the support!

Rgds, Darius

On Wed, Mar 10, 2021 at 9:20 PM Martin Frb <[hidden email]> wrote:
On 10/03/2021 21:08, Darius Blaszyk wrote:
> duh... Indeed, the repository I have been using
> (https://github.com/graemeg/lazarus
> <https://github.com/graemeg/lazarus>) seems to be running behind for
> quite some years.  I will use the official SVN repository instead.
>

Just looked. The "upstream" branch seems to be up to date.

There also is a 2nd mirror, but it is separately translated from svn, so
it has different commit hashes.
https://github.com/User4martin/lazarus/

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus