Again in the same project properties dialog box expand Configuration Properties -> C/C++ tab and select General. Add the location of 'src' directory to the Additional Include Directories. (This is necessary because, unfortunately, some non-system header files in the source files were included using < >)
Open the properties page of 'regex.c' file. In the solution explorer right click on 'regex.c' file (which must be located under 'Source File' of solution explorer) and select Properties.
In the property pages dialog expand C/C++ tab and select the Command Line. Copy the following to the Additional Options text box:
That is all. Build the program (building takes some time) and run. You will see the output of example1 in the output window.
You can also build a GPSTk library in the same manner to add all the core functions to your custom programs (but this time select 'Static Library' under the 'Application Setting' in the 'Application Wizard' to build the project as a library and of course do not add any example to the project).
\ No newline at end of file