Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

File Not Found Error

edited February 2006 in General
OK I Just got RB 10. I upgraded from RB9.03 on Delphi 7 just fine. I opend
one Of my apps to recompile it and get the following:

[Fatal Error] File not found: 'c:\program
files\borland\delphi7\RBulder\Lib\MyCheckBox.pas'

Now I checked the Library Path in my environment variables and I can see
$(DELPHI)\RBuilder\Lib in there.

Also the file 'c:\program files\borland\delphi7\RBulder\Lib\myCheckBox.dcu'
does exist but it seems Delphi doesn't see this.

Interestingly enough if I add $(DELPHI)\RBuilder\Source to the path it will
compile just fine though it compiles all the report builder source.

However I don't want to include the source directory in my library path and
wind up tracing through it every time I debug my app. With RB9 having
$(DELPHI)\RBuilder\Lib in the path was sufficient - is there something else
I need to do that the install did not?

Anyone have any ideas?

S

Comments

  • edited February 2006
    As a followup I ran through the Repairing a corrupt installation in the
    RBUilder help and I am still getting this problem.


  • edited February 2006
    I too get this error but my missing file is slightly different:
    [Fatal Error] File not found: 'c:\program
    files\borland\delphi6\RBuilder\Lib\myChkBox.pas'

    Kevin


  • edited February 2006
    BTW, This is for Delphi 6, update 2.


  • edited February 2006
    A possible work-around: I had a 9.x on an PC and found the mychkbox.pas.
    I copied this file over to my development PC to the RBuilder\bin directory.
    I could then compile my application. I haven't tested any reports yet
    though.
    Kevin



  • edited February 2006
    copy the .pas file to the .lib directory, compile, then delete it.

    --
    Ed Dressel
    Team DM
  • edited February 2006
    Hi,

    Sorry about this, the wrong .dcu files for the check box component were
    copied into the \Lib directory for the RB 10 installations. One option is
    to change your library path to \RBuilder\Source and rebuild your app, then
    copy the MyChkBox.dcu and MyChkBoxDesign.dcu filed to your \Lib directory,
    or simply copy those two .pas files to the \Lib directory.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2006
    Copied the myChkBox.dcu and it is all working again. MyChkBoxDesign.dcu
    wasn't built by my project so I couldn't copy that one in. Not to worry -
    I'm sure it will be fixed in the next maintenance release.

    THanks,

    S

This discussion has been closed.