vrybant / unboundbible

Unbound Bible is an open source and a free, multilingual Bible-reader program for Mac, Linux and Windows.
https://unboundbible.net
GNU General Public License v3.0
33 stars 10 forks source link

Source code of release 5.1 cannot be compiled #3

Closed rchastain closed 4 years ago

rchastain commented 4 years ago

Hello! Congratulations for the new release.

There seems to be a problem with the source code of the release: I cannot compile it.

Fortunately, no problem with the *.rpm package.

Regards.

Roland

JulStrat commented 4 years ago
  1. Install components.
  2. Apply patch

$ git diff unitbible.pas diff --git a/unitbible.pas b/unitbible.pas index 1405406..e98e146 100644 --- a/unitbible.pas +++ b/unitbible.pas @@ -406,7 +406,7 @@ end;

function TBible.Search(searchString: string; SearchOptions: TSearchOptions; Range: TRange): TContentArray; var

$ git diff unitlib.pas diff --git a/unitlib.pas b/unitlib.pas index 12c36ea..2f21aac 100644 --- a/unitlib.pas +++ b/unitlib.pas @@ -124,7 +124,7 @@ end;

function StringToList(ch: Char; s: string): TStringArray; var

Regards.

rchastain commented 4 years ago

@JulStrat

Thank you. With the modifications that you suggested it compiles. I could also compile it without modifications, on another computer where I have FPC 3.2.0. I should have understood that the problem came from that. :)

JulStrat commented 4 years ago

I compiled on Lazarus 2.0.6/FPC 3.0.4/Windows Vista 32bit. I think it's compiler ...

rchastain commented 4 years ago

I compiled on Lazarus 2.0.6/FPC 3.0.4/Windows Vista 32bit. I think it's compiler ...

Yes. And for me I had also another problem, because I was using the packages from the previous version. When I recompiled the package, the error disappeared.

Thank you for your help!

JulStrat commented 4 years ago

I compiled on Lazarus 2.0.6/FPC 3.0.4/Windows Vista 32bit. I think it's compiler ...

Yes. And for me I had also another problem, because I was using the packages from the previous version. When I recompiled the package, the error disappeared.

Thank you for your help!

My pleasure. Regards.