For those who intend to use Microsoft Visual C/C++ only:
If Microsoft Visual C++ 6.0/7.0 was installed after Test RealTime, the TDP for this environment does not "know" where to find the requisite header files, include files and executables. If Test RealTime was installed second, the Test RealTime installer updated the TDP for you automatically - and thus the rest of this section does not apply.
Typically, when building your own TDP, these machine-dependent paths would be entered by hand - so this is a good opportunity for you to see how one uses the TDP Editor!
Perform either of the following
From the Start menu, select Programs->IBM Rational Test RealTime->Tools->IBM Rational Test RealTime Target Deployment Port Editor
From within Test RealTime, select the menu item Tools->Target Deployment Port Editor->Start
In the TDP Editor, select the menu item File->Open
You are automatically brought to the folder that contains both TDP templates and completed TDPs. These files, with a .xdp extension, store all configuration information within an XML format. If you wanted to create a new TDP, you could start with one of the templates - templatea.xdp for Ada and templatec.xdp for C and C++. You are actually going to modify an existing TDP, however.
Open the file named cvisual6.xdp
or cvisual7.xdp
Note that the TDP for Microsoft Visual Studio 7 supports unmanaged
C/C++ only.
The left hand window contains all of the various settings required by the TDP. The lower right hand window contains the configuration information specific to your environment. The upper right hand window contains context-sensitive information, applicable to either the selected category in the left hand window or to the selected configuration item in the lower right hand window.
You need to update the section that indicates where Visual C++ 6.0/7.0 header files, include files and binaries can be found.
In the left hand window of the TDP Editor, left-click the item For C, located within the node Basic Settings
In the lower right hand window, scroll to the bottom
Notice how the values for ENV_PATH, ENV_INCLUDE and ENV_LIB do not contain the appropriate values
Normally, the appropriate values should be entered manually. To make things a little easier for you, all you must do is save this .xdp file - the appropriate updates are made to the proper files automatically. (When the XML file is saved, the actual files used by Test RealTime are created for you. This particular XML file has been augmented a bit so that merely by saving it, the Microsoft Visual C++ 6.0/7.0 paths are entered into the proper files.)
NOTE: The update does not occur within the .xdp file itself; the path updates will not be evident within the TDP Editor.
In the TDP Editor, select the menu item File->Save