Sign in Join

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

Mailing lists / lazarus / 2011-09

Can't find unit rttiutils used by PropertyStorage [SOLVED]

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Marcos Douglas
Marcos Douglas wrote 46 lines
On Thu, Sep 1, 2011 at 2:53 PM, Mattias Gaertner wrote: > On Thu, 1 Sep 2011 14:49:32 -0300 > Marcos Douglas wrote: > >> On Thu, Sep 1, 2011 at 2:03 PM, Mattias Gaertner >> wrote: >> > On Thu, 1 Sep 2011 13:52:26 -0300 >> > Marcos Douglas wrote: >> > >> >> Hi, >> >> >> >> I update my Lazarus (rev 32142) and Build from the IDE... OK. >> >> I opened a new LCL project and ran. >> > >> > Do you mean Project / New Project / Application? >> >> YES. >> >> >> ERROR: >> >> C:\temp\project1.lpr(1,1) Fatal: Can't find unit rttiutils used by >> >> PropertyStorage >> >> >> >> My env (copied from Lazarus about) is Lazarus 0.9.31 r31914 FPC 2.5.1 >> >> i386-win32-win32/win64 >> > >> > rttiutils is part of FPC 2.5.1. >> > How did you install FPC? >> >> Using a script... the same script that I always use: >> >> make clean all install [...] >> make crossinstall %myCOMMONOPTS% ?OS_TARGET=win64 CPU_TARGET=x86_64 [...] >> >> Do you want see the script? > > No. I just wanted to know if you know what you are doing. > Have you compiled with -vut to see where fpc has searched for rttiutils? It was used -viwn in fpc.cfg. I saw: v : write fpcdebug.txt with lots of debugging info Where this file is stored?

Mattias,
To solve this problem I used 'Run'>'Clean up build files...'.

But, just for curiosity, take a look in attachment. The FPC and/or Lazarus is very smart, because it did knew about my change in strutils[1]. But when I changed I maked all FPC.

BTW, if I change the RTL (to test, create path, etc) what is the correct way to do after the change?
Thanks for your time.

[1] http://62.166.198.202/view.php?id=20130

Marcos Douglas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: printscreen.jpg
Type: image/jpeg
Size: 22444 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110901/a4075122/attachment-0001.jpg>

Reply by email

Mattias Gaertner
to Marcos Douglas
Show quoted text 54 lines
On Thu, Sep 1, 2011 at 3:04 PM, Marcos Douglas wrote: > > On Thu, Sep 1, 2011 at 2:53 PM, Mattias Gaertner > wrote: > > On Thu, 1 Sep 2011 14:49:32 -0300 > > Marcos Douglas wrote: > > > >> On Thu, Sep 1, 2011 at 2:03 PM, Mattias Gaertner > >> wrote: > >> > On Thu, 1 Sep 2011 13:52:26 -0300 > >> > Marcos Douglas wrote: > >> > > >> >> Hi, > >> >> > >> >> I update my Lazarus (rev 32142) and Build from the IDE... OK. > >> >> I opened a new LCL project and ran. > >> > > >> > Do you mean Project / New Project / Application? > >> > >> YES. > >> > >> >> ERROR: > >> >> C:\temp\project1.lpr(1,1) Fatal: Can't find unit rttiutils used by > >> >> PropertyStorage > >> >> > >> >> My env (copied from Lazarus about) is Lazarus 0.9.31 r31914 FPC 2.5.1 > >> >> i386-win32-win32/win64 > >> > > >> > rttiutils is part of FPC 2.5.1. > >> > How did you install FPC? > >> > >> Using a script... the same script that I always use: > >> > >> make clean all install [...] > >> make crossinstall %myCOMMONOPTS% ?OS_TARGET=win64 CPU_TARGET=x86_64 [...] > >> > >> Do you want see the script? > > > > No. I just wanted to know if you know what you are doing. > > Have you compiled with -vut to see where fpc has searched for rttiutils? > > It was used -viwn in fpc.cfg. > > I saw: > v : write fpcdebug.txt with lots of debugging info > > Where this file is stored? Mattias, To solve this problem I used 'Run'>'Clean up build files...'. But, just for curiosity, take a look in attachment. The FPC and/or Lazarus is very smart, because it did knew about my change in strutils[1]. But when I changed I maked all FPC.

Maybe you forgot to install all new units.

BTW, if I change the RTL (to test, create path, etc) what is the correct way to do after the change? Thanks for your time.

Mattias

Reply by email

Marcos Douglas
to Mattias Gaertner
Mattias Gaertner wrote 8 lines
> Mattias, > To solve this problem I used 'Run'>'Clean up build files...'. > > But, just for curiosity, take a look in attachment. > The FPC and/or Lazarus is very smart, because it did knew about my > change in strutils[1]. But when I changed I maked all FPC. Maybe you forgot to install all new units.

What did you mean?

Marcos Douglas

Reply by email

Mattias Gaertner
to Marcos Douglas
Show quoted text 12 lines
On Thu, Sep 1, 2011 at 4:48 PM, Mattias Gaertner wrote: >> Mattias, >> To solve this problem I used 'Run'>'Clean up build files...'. >> >> But, just for curiosity, take a look in attachment. >> The FPC and/or Lazarus is very smart, because it did knew about my >> change in strutils[1]. But when I changed I maked all FPC. > > Maybe you forgot to install all new units. What did you mean?

When you install only the new strutils.ppu, but not the new rttiutils.ppu you would get this error message.

Mattias

Reply by email