Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi can't find System.dcu; what should the default path settings be?

Got this error whenever I try to compile something: "F1027 Unit not found: 'System.pas' or binary equivalents (.dcu)".

Got it after installing a component, removed it, reinstalled RAD studio, but still same.

In order to get it fixed, I need the Library path and browsing path. Please anybody post yours so I get it working.

A workaround I found is including the path "$(BDS)\lib\win32\debug" to Library path, but this is not the correct way. So I need your paths. Thanks!

like image 577
pop33 Avatar asked Apr 01 '11 18:04

pop33


2 Answers

Take a look at the -cleanregistryide option on this page:

http://support.embarcadero.com/es/article/42597

It will allow you to restore the IDE's default installation paths. If you use this option, third-party add-in's would need to be reinstalled. I have experienced this problem after upgrade installations when there were installed 3rd party IDE tools.

HTH Navid

like image 198
user998198 Avatar answered Oct 25 '22 05:10

user998198


Top Line of the library path:

$(BDSLIB)\$(Platform)\release

Some installers mistakenly parse this as two lines and split them out.

like image 43
scottostanek Avatar answered Oct 25 '22 06:10

scottostanek