Invalid default library path in Delphi XE7

2019-07-06 11:37发布

问题:

I had Delphi XE7 installed for a couple of days. I realized that some paths (library path, debug path) were invalid (shown in gray color). Even though I changed NOTHING in Delphi settings I supposed it was my fault. So, I uninstalled Delphi XE and Delphi XE7 altogether and all related addons. Then I reinstalled Delphi XE7. RIGHT AFTER install I opened the IDE and checked the paths. They are still invalid. See attached image.

I also noticed that the $(Platform) variable is empty. I am on Win32. Shouldn't it be 'Win32'?

$(BDSLIB)\$(Platform)\debug is also gray (invalid).

What could be wrong with my installation?

Can anybody post this registry section:
[HKEY_CURRENT_USER\Software\Embarcadero\BDS\15.0\Library]
[HKEY_CURRENT_USER\Software\Embarcadero\BDS\15.0\Environment Variables]

WARNING
As Ken White suggested DO NOT ever press the 'Delete Invalid Path' button. Embarcadero should get rid of that button now!


Hint:

A part of those 'default' settings (that are not anymore available in XE7) were move in another place. For example 'default' packages loaded by IDE at start up are now under 'Component -> Install packages' menu. Quite hidden because of the 'install' word.

回答1:

Mine looks like this:

I have no problems with my installation. I think that everything is fine and the invalid directories are not important.

I'm not sure why $(BDSLIB)\$(Platform)\release is deemed invalid in your screenshot. Perhaps that will resolve itself when you compile a project. However, I still think that everything here looks normal and that you will have no problems building projects.