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
- From the menu bar, click File > New > Project.
- In the Select a wizard window, expand Remote, select Remote C/C++ Project, and then click Next.
- In the New Remote Project window, in the Project name field, enter a name for the remote C++ project.
- From the Remote Provider list, select Remote Tools.
- 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.
- In the Target Environment Configuration window,
enter the following under Host Information:
- Click Remote host.
- In the Host field, enter the remote server.
- In the User field, enter the user name.
- Click Password based authentication.
- In the Password field, enter your password.
- Optional: Enter a Target name for the remote host at the top of the window next to Target name.
- Click Finish in the Target Environment Configuration.
- Enter a location for the remote C++ project to be created. This location is on the remote server.
- Clear the Show project types and toolchains only if they are supported on this platform check box.
- From the Project type list, select Remote Makefile Project/Empty Project.
- From the Toolchains list, select Remote Linux GCC Tool Chain.
- Click Finish to create the remote C++ project.
- 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.
- In the Project Explorer view, right-click the remote C++ project that you created, and then click New Folder.
- In the Folder window, click Advanced.
- Click Link to alternate location (Linked Folder).
- In the Choose file system list, select Remote Tools.
- Click Browse, select the Remote Host connection from the list, and select SPL Project/impl/include folder on the remote server.
- 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.
- 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.
- Configuring a remote C/C++ project
You can configure the location of include, source, and build files for a remote C++ project. You can also configure the remote C++ project to build automatically when you edit a .hpp or a .cpp file.
Parent topic: Setting up for C++ operator development