Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

C++ Source Code

This code is a series of classes developed using C++ 11. The source code for end users to easily integrate into their application, regardless of the target platform, is available at https://bitbucket.org/navtechradar/iasdk-public/src/master/cpp/

SDK Requirements

C++ 11

C++11 Compiler

  • GCC 4.8 and above

  • Clang 3.5 and above

  • Visual Studio 2019 (VC++ 2019 runtime libraries)

Building the SDK

The SDK is written in C++ and must be compiled prior to use. The SDK is designed to be compiled by a standard C++ compiler installation; that is, no external libraries (beyond the standard and/or Posix libraries) are required. The SDK may be built using either: * Command line * From Visual Studio Code * From Visual Studio

To build the SDK outside Visual Studio, your platform must have the CMake tools installed. To check if CMake is present, run:

Code Block
cmake --version

Building from the command line

Cmake can be invoked directly from the command line to build the SDK, as follows:

Code Block
cd <IA SDK install path>/iasdk/build
cmake .
make

The build can be removed by running:

Code Block
make clean

The build process will generate two executables by default:

Code Block
/iasdk/build/testclient
/iasdk/build/navigationclient

Building from VS Code

The project is configured to work with the Microsoft CMake Tools. If the CMake Tools are installed, opening the project in VSCode should detect the make files and configure the project accordingly. The first time a build is selected you will need to select a compiler kit. This will present a list of possible compiler configurations.

Using the VS Code build task

The .vscode folder contains a build task configuration for invoking CMake. To build: * hit ctrl-shift-b * select Build

(Note: you can also select Clean as one of the build options)

The build process will (again) generate two executables by default:

Code Block
/iasdk/build/testclient
/iasdk/build/navigationclient

Building from Visual Studio

If the Microsoft C++ compiler (msvc) is used, the SDK provides a Visual Studio solution (.sln) file.

Double-clicking on the .sln file will launch Visual Studio. In Visual Studio select:

Build -> Build Solution

(Alternatively, use crtl-shift-b)

...

The SDK C++ API provides an object-based interface for controlling/configuring the radar and for processing incoming data.

...

The file testclient_main.cpp contains an example of basic configuration and FFT data processing operations. It can be used as the basis for more complex applications.

C++ Source Code

This code is a series of classes developed using C++ 11. The source code for end users to easily integrate into their application, regardless of the target platform, is available at https://bitbucket.org/navtechradar/iasdk-public/src/master/cpp/

The code targets the following compilers:

...

GCC 4.8 and above

...

...