Subject | RE: [IBO] Re: Why 'Unit IB_Script was compiled with a different version of IB_Components.TIB_Statement' ? |
---|---|
Author | IBO Support List |
Post date | 2014-05-26T22:09:26Z |
Please read my post on the matter. You need to check your
paths in the SearchPath of both the IDE settings and your project settings.
Most likely it is able to see the source in the
ibo5\source\tools folder but not the ibo5\source\core
folder.
Either remove all the paths that allow it to see sources so
that it only uses the binaries provided or be sure to include all source paths
so that it isn't getting confused.
One way to make it have all source paths included is in the
ibo5\build\install batch file is to pass in the Source parameter so that it will
install the source paths instead of the path to the binary.
Please see the HowToInstall.rtf file in the ibo5\docs folder
for more detailed instructions.
Hope this helps,
Jason Wharton
www.ibobjects.com
From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
Sent: Monday, May 26, 2014 2:23 PM
To: Lista IBObjects
Subject: Re: [IBO] Re: Why 'Unit IB_Script was compiled with a different version of IB_Components.TIB_Statement' ?
I do that many and many times.
There is no way Delphi use old .dcu or pre-compiled dcu.
I Build IBO5 from scratch (source), but I will try to put Script unit
in source path.2014-05-23 20:17 GMT-03:00 masonwheeler@... [IBObjects]
<IBObjects@yahoogroups.com>:
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.