View Issue Details

IDProjectCategoryView StatusLast Update
0000627SkyChart1-Softwarepublic10-10-30 10:10
ReporterSasa Assigned ToPatrick Chevalley  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx86OSLinuxOS Version2.6
Target Version3.2Fixed in Version3.1 SVN 
Summary0000627: Build process fails
Description- CDC SVN 1349
- FPC 2.4.0 (no sources, just binary installation) on Linux, GTK2
- Lazarus SVN 26528

Build problem:

1. Clean bigide environment
2. Installation of components and rebuild Lazarus
3. Open cdc.lpi and started compilation

Following error popup:
pu_main.pas(743,15) Fatal: Can't find unit gtkproc used by pu_main
TagsNo tags attached.

Activities

Sasa

10-07-09 03:49

reporter   ~0001145

After removing line where gtkproc unit is required and related another line in the code (SetWindowFullScreen(f_main,FullScreen1.Checked)) building pass with no further problems.

Patrick Chevalley

10-07-17 15:09

administrator   ~0001148

Thank you for the tip Sasa.

At the moment I am still using Lazarus 0.9.28.2 (svn 23469) so I not have this problem.
I will look where this functions have moved with the last version.

Sasa

10-07-17 17:39

reporter   ~0001154

I searched a bit and this seems the problem: now there is two units, one for gtk and second for gtk2. Solution is splitting directives:

{$IF DEFINED(LCLgtk)}
     gtkproc,
{$endif}

{$IF DEFINED(LCLgtk2)}
     gtk2proc,
{$endif}

Patrick Chevalley

10-07-17 17:43

administrator   ~0001155

It look like a split in the LCL for GTK1 and GTK2.
I am not at home to try myself, but can you try to put again the SetWindowFullScreen code and to replace in pu_main.pas line 751:

uses
{$IF DEFINED(LCLgtk) or DEFINED(LCLgtk2)}
     gtkproc,
{$endif}

by :

uses
{$ifdef LCLgtk}
     gtkproc,
{$endif}
{$ifdef LCLgtk2}
     gtk2proc,
{$endif}

Patrick Chevalley

10-07-17 17:44

administrator   ~0001156

LOL
messages collision :-)

I keep this open until I am at home to fix the code.

Sasa

10-07-17 17:59

reporter   ~0001157

LOL

BTW, you have nicer directives in this case I just mechanically fixed the code. :)

Patrick Chevalley

10-07-18 19:34

administrator   ~0001178

I finally found a computer where to install Lazarus and make the correction (one $if more for compatibility with older Lazarus version).

Fixed by revision 1350
http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1350

Issue History

Date Modified Username Field Change
10-07-08 18:04 Sasa New Issue
10-07-09 03:49 Sasa Note Added: 0001145
10-07-17 15:09 Patrick Chevalley Note Added: 0001148
10-07-17 15:09 Patrick Chevalley Assigned To => Patrick Chevalley
10-07-17 15:09 Patrick Chevalley Status new => acknowledged
10-07-17 15:09 Patrick Chevalley Target Version 0.3.0 => 3.2
10-07-17 17:39 Sasa Note Added: 0001154
10-07-17 17:43 Patrick Chevalley Note Added: 0001155
10-07-17 17:44 Patrick Chevalley Note Added: 0001156
10-07-17 17:59 Sasa Note Added: 0001157
10-07-18 19:34 Patrick Chevalley Note Added: 0001178
10-07-18 19:34 Patrick Chevalley Status acknowledged => resolved
10-07-18 19:34 Patrick Chevalley Resolution open => fixed
10-07-18 19:34 Patrick Chevalley Fixed in Version 0.3.0 => 3.1 SVN
10-10-30 10:10 Patrick Chevalley Status resolved => closed