2.2 Setup wx-config
a) Download wx-config. This is a standalone executable, no install required.
b) Create a folder eg ‘
C:\wx-config
’ and drop the
wx-config.exe
into it.
2.3 Set Environment Variables
2.3.1 New Variables
a) Left click on
Start
.b) Right click on
My Computer
.c) Left click on
Properties
Advanced Tab
Environment Variables
…d) Add the two environment variables shown circled in red inFigure 2by clicking on
New
-
Note: The value for
WXWIN
should correspond the actual location where you installed
wxWidgets
on your computer.
Figure 2 – Create the WXWIN & WXCFG Environment Variables2.3.2 Modifications to Existing ‘PATH’ Variable
a) Whilst still in the
Environment Variables
window, double click on the
PATH
variable.b) Make the following appends, making sure everything is separated by a semi-colon(oh, and be careful not to delete any existing text):
C:\MinGW\bin
(ignore if you didn’t install MinGW)
C:\wx-config
(location of wx-config.exe)
eg:
existing-text;C:\MinGW\bin;C:\wx-config
Page 2 of 4
Add a Comment
Eric Kowleft a comment