Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
7783 Discussions

How to solve the problem of "PATH environment variable size has exceeded its limit."

Feng__Zemin
Beginner
256 Views

Dear all

When I install C++ on my computer, there are the problem of path variables"  

PATH environment variable size has exceeded its limit.
Installation cannot continue because the length of your path is too long. 
 Suggestion: Exit the installation, eliminate unnecessary items in the PATH environment variable (you need to free more than 798 symbols) using Control Panel > System and Security > System > Advanced system settings > Advanced > Environment Variables and launch the installation again.

Could you tell me how can i solve it?

Thank you very much.

Zemin

0 Kudos
3 Replies
Viet_H_Intel
Moderator
256 Views

Hi Zemin,

Have you tried the suggestion?

Thanks,

Viet

jimdempseyatthecove
Black Belt
256 Views

Check for (and eliminate) duplicate entries in environment variables:

INTEL_LICENSE_FILE=C:\Program Files (x86)\Common Files\\Intel\Licenses;C:\Progra
m Files (x86)\Common Files\Intel\Licenses

The above in an an example of the Licenses folder listed twice.

Remove old items no longer used:

INSPECTOR_2017_DIR=C:\Program Files (x86)\IntelSWTools\Inspector 2017\
INSPECTOR_XE_2013_DIR=C:\Program Files (x86)\Intel\Inspector XE 2013\
INSPECTOR_XE_2015_DIR=C:\Program Files (x86)\Intel\Inspector XE 2015\

For the above 2013 and 2015 versions no longer installed (I haven't cleaned this up yet). Use:

    Start | System | Change Settings | Advanced | Environment Variables

(the above is for Window 7, Windows 10 may have a slightly different route to reach the Environment Variables property page.

Jim Dempsey

Feng__Zemin
Beginner
256 Views

Dear Jim Dempsey

I didnot found the file  on my computer. The error showed that it needs more than 798 symbols of PATH, if i install any other program, it works well.

So i can not resolve it follow your suggesstion. 

Zemin

 

Reply