Subject | Re: Why 'Unit IB_Script was compiled with a different version of IB_Components.TIB_Statement' ? |
---|---|
Author | |
Post date | 2014-05-23T23:17:22Z |
Delphi's error messages are usually really helpful and relevant. This is one of the few exceptions.
What it really means is "while compiling IB_Script, the compiler attempted to use a .DCU that is no longer valid, and was unable to find the original .PAS file to rebuild the DCU from." (The DCU in question may or may not be IB_Components.pas. Don't rely on that.)
The fix is to delete all your DCUs and try to rebuild, and then you'll get a proper File Not Found error that will make it clear what you need to add to your search path.
What it really means is "while compiling IB_Script, the compiler attempted to use a .DCU that is no longer valid, and was unable to find the original .PAS file to rebuild the DCU from." (The DCU in question may or may not be IB_Components.pas. Don't rely on that.)
The fix is to delete all your DCUs and try to rebuild, and then you'll get a proper File Not Found error that will make it clear what you need to add to your search path.