IBM Streams 4.3.0

Creating a synchronized C/C++ project

Create a synchronized C/C++ project to edit and build the implementation of the C++ operator when you work in a remote development environment. Link this C++ project to an SPL project that you created earlier, so that the artifacts in the remote C++ project can be accessed by your SPL applications.

Procedure

  1. From the menu bar, click File > New > Project.
  2. In the New Project window, expand Other, select Synchronized C/C++ Project, and then click Next.
  3. In the New Synchronized Project window, in the Project name field, enter a name for the remote C++ project.
  4. In the Remote directory section, select an existing connection to a remote host or create a new connection. To set up a new connection:
    1. Enter a name for the connection.
    2. Enter the host information, which is the host name or IP address of the remote server and the user ID for establishing the connection.
    3. Select the authentication method for this connection:
      • Public key based authentication: Requires a passphrase.
      • Password based authentication: Requires a password.
    4. Optional: Configure advanced settings, such as connection or SSH proxy settings.
    Note: These connections are not the same as RSE connections.
  5. Select the directory on the remote host where the project files are to be synchronized.
  6. In the Project type section, expand Makefile Project and select Empty Project.
  7. In the Remote Toolchain section, select at least Linux GCC.
  8. In the Local Toolchain section, select toolchain based on your local system setup.
  9. Click Finish to create the synchronized C++ project.
  10. Create an include folder in the synchronized C++ project and link this folder to the impl/include directory of the SPL project on the remote server.
    1. In the Project Explorer view, right-click the C++ project that you created, and then select New > Folder.
    2. In the Folder window, click Advanced.
    3. Click Link to alternate location (Linked Folder).
    4. From the Choose file system list, select either JSch (preferred) or the RSE. This selection determines the remote service provider: Built-in SSH (JSch) or the Eclipse Remote Systems Explorer (RSE).
    5. Click Browse, select the remote connection from the list, and select the SPL Project/impl/include folder on the remote server.
    6. Leave the Folder name field as include, and click Finish.
    The include folder is created in the C++ project. The include folder is a linked folder; file resources in this folder are in the impl/include folder of the SPL project.
  11. Repeat step 10 to create the bin and lib folders and link these folders to the bin and lib folders in the SPL project on the remote server.