I have a component which includes unit A, which Unit A includes Unit B. I compile the component and I add the Release compiled DCU files path into Library (global path) and the Debug DCU into Debug DCU path. Then, I install it in the IDE.
I have a component which includes unit A, which Unit A includes Unit B. I compile the component and I add the Release compiled DCU files path into Library (global path) and the Debug DCU into Debug DCU path. Then, I install it in the IDE.
When I add the component to a form and compile, I get an error saying that unit A has been compiled using different version of Unit B.
Anyone knows why I get this error. All units are compiled from scratch in empty directories and DCu files exist for all the units.
Thanks for your help in advance.
When I add the component to a form and compile, I get an error saying that unit A has been compiled using different version of Unit B.
Anyone knows why I get this error. All units are compiled from scratch in empty directories and DCu files exist for all the units.
Thanks for your help in advance.
Alexandre Machado Yes it does generate DCus for all the units
ReplyDeleteshlomo abuisak Perhaps there is another copy on my computer. I will check for this. Thanks
ReplyDeleteshlomo abuisak That was the problem. I had a previous version in the library paths. Thanks
ReplyDelete