Главная страница | назад





Article #27067: Trouble Shooting Errors Received After Adding a Unit to the Uses Section of Your Unit

Question:

Why am I getting the error "file not found: 'xxx.dcu' " when I add a unit to the uses section, if I know it should be there?

Answer:

Here are some possiblities. First go to the menu option Tools | Environment Options | Library and make sure the Library Path includes $(DELPHI)\lib.

A second possiblity is that the unit name may have changed between Delphi and Kylix. For example the unit Printers is now QPrinters.

Finally, remember that Linux is case sensitive, so qprinters.dcu and Qprinters.dcu would not be found in the example above — only QPrinters.dcu.

Last Modified: 27-APR-01