Adding an Environment Variable under Windows

From WxWiki
Jump to: navigation, 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.

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.