Sign in Join

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

Mailing lists / lazarus / 2010-02

Bug ou Característica do Lazarus | Lazarus Bug or Feature

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Guionardo Furlan

Buenas pessoal

Ainda estou com este probleminha chato da IDE

Quando tenho um componente, digamos, "n?o-default", por exemplo algum da rx ou um componente que eu mesmo criei, a compila??o funciona perfeitamente, sinal que o FPC e seus diret?rios est?o configurados adequadamente.
Mas a IDE sempre d? problemas com "unit n?o encontrada", mesmo que eu declare a depend?ncia do pacote do componente, inclua sua unit no .lpr do projeto e defina os diret?rios onde est?o as units necess?rias. Quando vou editar o fonte do projeto, fazendo qualquer refer?ncia ?s units/classes dos componentes, a IDE (codetools) apresenta o erro que indiquei.
S? d? certo se eu abrir o fonte das units do componente.

J? testei com diversas vers?es do laz/fpc, svn, x86, x64, inclusive testei uma m?quina virtual com windows xp limpa e o problema persiste.

Algu?m j? verificou este problema?
Ser? algum poltergheist?

---

Google Translate:

Buenas staff

I'm still with this annoying little problem of the IDE

When I have a component, say, "no default", for example some of rx or a component that I created myself, the build works perfectly, a sign that the FPC and their directories are configured properly. But the IDE always gives problems with "unit not found" even if I declare a dependency on the component package, include your unit on .lpr and set the directory where the units are needed. When I edit the source of the project, making no reference to units / classes of components, IDE (CodeTools) has pointed out the error. It only works if I open the source of the component units.

Already tested with several versions of laz / fpc, svn, x86, x64, even tried a virtual machine with clean windows xp and the problem persists.

Has anyone found this problem?
Can it be any poltergheist?

Timeo hominem unius libri Cogito ergo sum - Carpe diem []s Guionardo Furlan http://guionardo.blogspot.com http://www.guionardofurlan.com.br

Reply by email

tim launchbury

I have a similar ( or possibly the same ) problem. The app I am porting from delphi contains several custom classes which as part of the delphi setup are included in the delphi forms. If I compile the source ( fpc 2.4.0 ) it all compiles and the units are found correctly. If I open the form in the form editor, however, it complains that the custom units cannot be found. The appropriate units are included in the .pas file for the form, and the units themselves appear to be registered correctly. At runtime though, because the units had to be removed from the form, ( to get rid of the errors ) the app crashes with an access violation. I don't know if this is a bug or I have missed something somewhere.

Regards

Tim

Reply by email

Mattias Gaertner
to tim launchbury
Show quoted text 11 lines
I have a similar ( or possibly the same ) problem. The app I am porting from delphi contains several custom classes which as part of the delphi setup are included in the delphi forms. If I compile the source ( fpc 2.4.0 ) it all compiles and the units are found correctly. If I open the form in the form editor, however, it complains that the custom units cannot be found. The appropriate units are included in the .pas file for the form, and the units themselves appear to be registered correctly. At runtime though, because the units had to be removed from the form, ( to get rid of the errors ) the app crashes with an access violation. I don't know if this is a bug or I have missed something somewhere.

Can you send an example?

Mattias

Reply by email