Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-01

Error: unit not found: Classes

13 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Kjow

Lazarus: r28973M
FPC 2.4.2: r16754

Double clicking on any component (Form, Button, etc) to create the relative event or pressing ctrl+space on the source editor, causes this error:

---------------------------------------------
C:\Develop\lazarus\lcl\lclclasses.pp(32,10) Error: unit not found: Classes -------------- next part --------------
A non-text attachment was scrubbed...
Name: Classes not Found.jpg
Type: image/jpeg
Size: 35730 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110112/ce1d1cb8/attachment-0001.jpg>

Reply by email

Mattias Gaertner
to Kjow

?
?

Kjow hat am 12. Januar 2011 um 14:50 geschrieben:

Show quoted text 9 lines
Lazarus: r28973M FPC 2.4.2: r16754 Double clicking on any component (Form, Button, etc) to create the relative event or pressing ctrl+space on the source editor, causes this error: --------------------------------------------- C:\Develop\lazarus\lcl\lclclasses.pp(32,10) Error: unit not found: Classes?

What OS?
How did you install Lazarus and FPC?
Have you installed the FPC sources?
?
Mattias
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110112/1d77b620/attachment.html>

Reply by email

Kjow
to Mattias Gaertner

2011/1/12 Mattias Gaertner :

Show quoted text 9 lines
What OS? How did you install Lazarus and FPC? Have you installed the FPC sources? Mattias

Oops, I'm on Windows 7 and yes, sources are present and relative path setted on Lazarus.

I upgrade everyday, with a script, fpc + lazarus svn that rebuilds all automatically; yesterday there weren't problems... I can't understand if it isn't a lazarus/fpc issue

Regards,
Kjow

Reply by email

Kjow
to Kjow

2011/1/12 Kjow :

Show quoted text 9 lines
Oops, I'm on Windows 7 and yes, sources are present and relative path setted on Lazarus. I upgrade everyday, with a script, fpc + lazarus svn that rebuilds all automatically; yesterday there weren't problems... I can't understand if it isn't a lazarus/fpc issue Regards, Kjow

I don't know why, but whetted by your question I made "Environment -> Rescan FPC source directory" and now it works again.

Why Lazarus has lost this setting?

Regards,
Kjow

Reply by email

Kjow
to Kjow: Lazarus: r28973M FPC 2.4.2: r16754 Double clicking on any component (Form, Button, etc)…

2011/1/12 Kjow :

Show quoted text 10 lines
Lazarus: r28973M FPC 2.4.2: r16754 Double clicking on any component (Form, Button, etc) to create the relative event or pressing ctrl+space on the source editor, causes this error: --------------------------------------------- C:\Develop\lazarus\lcl\lclclasses.pp(32,10) Error: unit not found: Classes

Anytime I rebuild lazarus/fpc I have this error, so I need to press "Environment -> Rescan FPC source directory" to make it working again (just press, no rebuilds).

This appens only to me?

Regards,
Kjow

Reply by email

Mattias Gaertner
to Kjow: 2011/1/12 Kjow : Anytime I rebuild lazarus/fpc I have this error, so I need to press…
Show quoted text 17 lines
2011/1/12 Kjow : > Lazarus: r28973M > FPC 2.4.2: r16754 > > Double clicking on any component (Form, Button, etc) to create the > relative event or pressing ctrl+space on the source editor, causes > this error: > > --------------------------------------------- > C:\Develop\lazarus\lcl\lclclasses.pp(32,10) Error: unit not found: Classes > Anytime I rebuild lazarus/fpc I have this error, so I need to press "Environment -> Rescan FPC source directory" to make it working again (just press, no rebuilds). This appens only to me?

Is this correct:
You only install a newer fpc, you do not change any paths and settings. That means the fpc executable, the fpc.cfg, the fpc source directory and the fpc ppu directories have still the exact same file names.

Mattias

Reply by email

Kjow
to Mattias Gaertner

2011/1/14 Mattias Gaertner :

Show quoted text 8 lines
Is this correct: You only install a newer fpc, you do not change any paths and settings. That means the fpc executable, the fpc.cfg, the fpc source directory and the fpc ppu directories have still the exact same file names. Mattias

Yes, I simply update svn and rebuild into the old directories, but until 01-12-2011 I never had the necessity to hit "Environment -> Rescan FPC source directory" to make it working.
Everytime it worked well without any "extra work".

Is it changed something?

Thanks,
Kjow

Reply by email

Mattias Gaertner
to Kjow
Show quoted text 14 lines
2011/1/14 Mattias Gaertner : > Is this correct: > You only install a newer fpc, you do not change any paths and > settings. That means the fpc executable, the fpc.cfg, the fpc source > directory and the fpc ppu directories have still the exact same file > names. > > > Mattias Yes, I simply update svn and rebuild into the old directories, but until 01-12-2011 I never had the necessity to hit "Environment -> Rescan FPC source directory" to make it working. Everytime it worked well without any "extra work".

So should it be. And it works here.

Is it changed something?

The next time it happens:
Please take a look at View / IDE internals / About FPC / Report. Please create a bug report and attach the output.

Mattias

Reply by email

Kjow
to Mattias Gaertner

2011/1/14 Mattias Gaertner :

So should it be. And it works here.

Ok, thanks.

Show quoted text 5 lines
> Is it changed something? The next time it happens: Please take a look at View / IDE internals / About FPC / Report. Please create a bug report and attach the output.

Ok, I'll do.

Regards,
Kjow

Reply by email

Marcos Douglas
to Kjow: 2011/1/14 Mattias Gaertner : Yes, I simply update svn and rebuild into the old…
Kjow wrote 16 lines
2011/1/14 Mattias Gaertner : > Is this correct: > You only install a newer fpc, you do not change any paths and > settings. That means the fpc executable, the fpc.cfg, the fpc source > directory and the fpc ppu directories have still the exact same file > names. > > > Mattias Yes, I simply update svn and rebuild into the old directories, but until 01-12-2011 I never had the necessity to hit "Environment -> Rescan FPC source directory" to make it working. Everytime it worked well without any "extra work". Is it changed something?

The same for me today.
I used Lazarus 0.9.29 r29237 FPC 2.4.3 i386-win32-win32/win64

Marcos Douglas

Reply by email

Mattias Gaertner
to Marcos Douglas

?

Marcos Douglas hat am 18. Februar 2011 um 14:12 geschrieben:

Show quoted text 10 lines
[...] > Yes, I simply update svn and rebuild into the old directories, but > until 01-12-2011 I never had the necessity to hit "Environment -> > Rescan FPC source directory" to make it working. > Everytime it worked well without any "extra work". > > Is it changed something? The same for me today. I used Lazarus 0.9.29 r29237 FPC 2.4.3 i386-win32-win32/win64?

Please send me the output of
View / IDE internals / About FPC
and
Source editor right click / File settings / Unit info / Show codetools values / Report
?
Mattias
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110218/9afc6e4f/attachment.html>

Reply by email

Marcos Douglas
to Mattias Gaertner

2011/2/18 Mattias Gaertner :

Show quoted text 26 lines
Marcos Douglas hat am 18. Februar 2011 um 14:12 geschrieben: >[...] > > Yes, I simply update svn and rebuild into the old directories, but > > until 01-12-2011 I never had the necessity to hit "Environment -> > > Rescan FPC source directory" to make it working. > > Everytime it worked well without any "extra work". > > > > Is it changed something? > > The same for me today. > I used Lazarus 0.9.29 r29237 FPC 2.4.3 i386-win32-win32/win64 Please send me the output of View / IDE internals / About FPC and Source editor right click / File settings / Unit info / Show codetools values / Report

I sent to your mail.

Marcos Douglas

Reply by email