open-discussion
open-discussion > RE: Unable to build and generate new exe file
Mar 7, 2020 04:03 PM | Chris Rorden
RE: Unable to build and generate new exe file
I suspect you are using an obsolete version of Lazarus. Please use
Lazarus 2.0.6. I just compiled the code on Windows, and if I
right-click on the OpenURL function it opens the file in
lazarus\lcl\lclintf.pas
https://svn.freepascal.org/svn/lazarus/trunk/lcl/lclintf.pas
I used the version of MRIcroGL source code from here
https://github.com/rordenlab/MRIcroGL12
I just downloaded and reinstalled Lazarus 2.0.6.
By the way, the latest commit does expect one feature (sort indicators) that is in the trunk version of Lazarus but not in the current stable release (2.0.6). If you want to compile on 2.0.6, just remove the comments ('//') at the beginning and end of this block. Alternatively, install the trunk version to enable this feature:
//{$ifndef windows} //next lines require trunk or Lazarus >= 2.0.8
for i := 0 to (ClusterView.ColumnCount -1) do begin
if (i = Column.Index) then continue;
ClusterView.Column.SortIndicator:= siNone;
end;
if isDescending then
ClusterView.Column[Column.Index].SortIndicator:= siDescending
else
ClusterView.Column[Column.Index].SortIndicator:= siAscending;
//{$endif}
https://svn.freepascal.org/svn/lazarus/trunk/lcl/lclintf.pas
I used the version of MRIcroGL source code from here
https://github.com/rordenlab/MRIcroGL12
I just downloaded and reinstalled Lazarus 2.0.6.
By the way, the latest commit does expect one feature (sort indicators) that is in the trunk version of Lazarus but not in the current stable release (2.0.6). If you want to compile on 2.0.6, just remove the comments ('//') at the beginning and end of this block. Alternatively, install the trunk version to enable this feature:
//{$ifndef windows} //next lines require trunk or Lazarus >= 2.0.8
for i := 0 to (ClusterView.ColumnCount -1) do begin
if (i = Column.Index) then continue;
ClusterView.Column.SortIndicator:= siNone;
end;
if isDescending then
ClusterView.Column[Column.Index].SortIndicator:= siDescending
else
ClusterView.Column[Column.Index].SortIndicator:= siAscending;
//{$endif}
Threaded View
Title | Author | Date |
---|---|---|
sujan dasmahapatra | Feb 28, 2020 | |
Chris Rorden | Mar 19, 2020 | |
sujan dasmahapatra | Mar 2, 2020 | |
Chris Rorden | Mar 2, 2020 | |
sujan dasmahapatra | Mar 7, 2020 | |
Chris Rorden | Mar 7, 2020 | |
sujan dasmahapatra | Mar 19, 2020 | |
sujan dasmahapatra | Mar 2, 2020 | |
Chris Rorden | Feb 28, 2020 | |