Lesson 2: Configuring Your Development Environment

Overview

In order to use an integrated development environment (IDE) to build an application that uses GeoCalc, some settings in the IDE must be adjusted.  This generally consists of these steps:

  1. Setting the path to the GeoCalc include files

  2. Linking GeoCalcPBW.lib and license.obj into the application

  3. Re-building the application, so that the updated settings are applied to the project

Some environments also require the adjustment of other settings.  Below, you can find specific instructions for configuring the following environments:

 

Microsoft Visual C++ 6:

  1. Under Project->Properties->C/C++
  2. Under Project->Properties->Linker
  3. Re-build the application.
  4. See also Special Considerations for Using GeoCalc with Visual C++ 6.

 

Microsoft Visual Studio 2003:

  1. Under Project->Properties->C/C++
  2. Under Project->Properties->Linker
  3. Re-build the application.
 

Linux and Mac

  1. Add an include flag to your CFLAGS to the GeoCalc Class Library include directory
  2. Add a linker flag to add the license object file and the class library
  3. Re-build the application.