Hi all
I have recently installed the Delphi and C++ builder on my system. I am facing a problem with the software; whenever I try to load the package, I see the following error message on my screen which reads:
Error
Cannot load package 'SamplePackage1'. It contains unit 'Sample', which is also contained in packageÂ
SamplePackage2'.
I installed two packages, package X and package Z. Both packages contain a unit Y.
Whenever I try to compile the packages, it gives me an error.
Has anyone else encountered such a problem? If you know the solution please let me know. I am worried.
Waiting for your replies
Regards
Jerry
Same unit in different packages
If this problem usually happens whenever you try loading or compiling either of the said packages, try restarting your computer then try it again. If it still doesn’t work, try reinstalling the program you are using.
Uninstall Delphi from your machine then check your computer for any possible errors. Use a disk utility application to check the system.
For a much thorough diagnostics on the system, use a disk utility application like Norton Utilities, Norton SystemWorks, or PC Tools Performance Toolkit. Install the application again after this and then check if this fixes it.
You should also check the right procedure on loading and compiling the packages. It is possible that you are doing it the wrong way or maybe there is an option in the program that needs to be set first so the package can be successfully compiled.