Difference: BuildingGPSTkUnderWindows (13 vs. 14)

Revision 14
23 Oct 2008 - Main.RickMach
Line: 1 to 1
META TOPICPARENT name="BuildingGPSTkUnderUnix"

Building under Microsoft Visual Studio

Line: 53 to 53
  1. Open the project property page (Right click on the project name in the solution explorer and select properties)
  2. In the opened properties dialog expand the Configuration Properties -> C/C++ tab and select Command Line. Copy the following line to the Additional Options text box:
    -D_CRT_SECURE_NO_DEPRECATE -wd4274 -DWIN32 /EHsc /GR -wd4290 -wd4267
  3. 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 < >)
  1. 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.
  2. In the property pages dialog expand C/C++ tab and select the Command Line. Copy the following to the Additional Options text box:
  1. 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
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback