IBM InfoSphere Streams Version 4.1.0

Creating a remote C/C++ project

Create a remote C/C++ project to edit and build the implementation of the C++ operator. Link the remote C++ project to the 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 Select a wizard window, expand Remote, select Remote C/C++ Project, and then click Next.
  3. In the New Remote Project window, in the Project name field, enter a name for the remote C++ project.
  4. From the Remote Provider list, select Remote Tools.
  5. Click New next to Connection, or select a connection from the list if one was previously created.
    Note: These connections are not the same as RSE connections.
  6. In the Target Environment Configuration window, enter the following under Host Information:
    1. Click Remote host.
    2. In the Host field, enter the remote server.
    3. In the User field, enter the user name.
    4. Click Password based authentication.
    5. In the Password field, enter your password.
  7. Optional: Enter a Target name for the remote host at the top of the window next to Target name.
  8. Click Finish in the Target Environment Configuration.
  9. Enter a location for the remote C++ project to be created. This location is on the remote server.
  10. Clear the Show project types and toolchains only if they are supported on this platform check box.
  11. From the Project type list, select Remote Makefile Project/Empty Project.
  12. From the Toolchains list, select Remote Linux GCC Tool Chain.
  13. Click Finish to create the remote C++ project.
  14. Create an include folder in the remote 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 remote C++ project that you created, and then click New Folder.
    2. In the Folder window, click Advanced.
    3. Click Link to alternate location (Linked Folder).
    4. In the Choose file system list, select Remote Tools.
    5. Click Browse, select the Remote Host connection from the list, and select 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.
  15. Repeat step 14 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.