Adding an Environment Variable under Windows

From WxWiki
Revision as of 08:13, 28 May 2015 by Woelpeof (talk | contribs) (Added Windows 8)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Windows XP

The dialogs related to changing environment variables under Windows.
  1. Close all instances of your IDE (or your new environment variables will not be available until you restart it).
  2. Right-click on My Computer and open the Properties window.
  3. Switch to the Advanced tab and click the Environment Variables button.

Windows 8

  1. Close all instances of your IDE (or your new environment variables will not be available until you restart it).
  2. Right-click on the Windows Button and open the System window.
  3. Click on Advanced System Settings and then click the Environment Variables button.

Adding to the Path variable

  1. Under the 'System variables' section select Path.
  2. Click Edit.
  3. Append to the end of the string your path prepended by a semicolon (;). For example ";C:\MinGW\bin".

Adding WXWIN Variable

  1. Under the 'User variables' section, click New.
  2. For name, type "WXWIN", and for value, type the full location where you installed wxWidgets to (typically "C:\wxWidgets-x.x.x" or "C:\wx\wx288").
  3. Click OK on all dialogs to save your settings.