This topic explains how to install the C/C++test plugin into a working copy of Eclipse or Application Developer on Windows.

The section includes:

Prerequisites

System Requirements

Windows 64-bit

  • Windows 71, Windows 10, Windows Server 20081, Windows Server 20121, Windows Server 2016
  • 4GB memory minimum, 8GB recommended
  • 2GHz or faster processor (x86_64-compatible), multi-CPU configuration recommended
  • Supported C / C++ compiler (see Compilers for a list of supported compilers)

1 Support for this platform is deprecated and will be removed in future releases.

Windows 32-bit (deprecated)

  • Windows 7, Windows 10
  • 4GB memory minimum, 8GB recommended
  • 2GHz or faster processor (x86_64-compatible), multi-CPU configuration recommended
  • Supported C / C++ compiler (see Compilers for a list of supported compilers)

Windows and Windows Server notes

  • Installation and initial run must be performed by a user with Administrator privileges.
  • When running C/C++test you must have write access to the directory containing the testing workspace and project. Specifically, if you are using a non-Administrator account, you will need to copy C/C++test example projects from the 'Program Files' location into the user directory and run the tests on the copied projects.
  • The C/C++test CLI executable (cpptestcli.exe) should be executed from a directory with write access (because the working directory is the default location in which C++test generates the report after tests).
  • If your machine-id is WIN32-0, remove the file located in <DRIVE>:\Users\<USER_NAME>\.parasoft\C++test\10.x\license.

IDE Requirements

  • Eclipse IDE for C/C++ Developers and a Java Runtime Environment (JRE) supported by Eclipse
  • Wind River Workbench
  • ARM DS-5
  • Texas Instruments Code Composer Studio

See IDE Support for details about supported versions.

Other Requirements

  • If earlier versions of C/C++test are installed on your system, the latest version of C/C++test must be installed in a new directory.
  • Additional disk space is required for C/C++test project data.
  • The recommended Japanese language encoding is Shift_JIS (ja_JP.PCK locale on Unix). Other encodings might cause font problems or prevent C++test from reading test results.

Alternative installation methods

For details on performing a silent installation see Preconfiguration C++test During Installation.

Multi-user installations

For details on running multiple instances of Eclipse with C/C++test in parallel see Multi-user Installations.

Installation

To install the C/C++test plugin for Eclipse on Windows:

  1. In Windows Explorer, locate and double-click the self extracting archive.
  2. Choose the setup language.
  3. Click Yes when a dialog asks whether you want to install C/C++test.
  4. Click Yes after you have read and agreed with the license information.
  5. Choose the appropriate Eclipse/CDT target platform type, then click Next.
  6. Enter your Eclipse installation directory, then click OK.
    • Choose the directory that contains the .eclipseproduct file.
  7. Enter the desired destination directory for the C++test Extension files, then click Next.
    (info) C/C++test Professional includes Parasoft Test components that are common across a number of Parasoft products. If Parasoft Test Extension is not yet installed, you will be asked to select an installation directory for Parasoft Test files. If Parasoft Test Extension is already installed, C/C++test will be installed into it.
  8. Close Eclipse if it is open, then click OK to close the dialog reminding you to close this program.C/C++test will then start copying files and installing the necessary files into the workbench. A dialog box with a progress indicator will open and indicate installation progress. When the installation is complete, a notification dialog box will open.
  9. Click the OK button to close the notification dialog box.

Startup

Before launching C++test

For C/C++test to autodetect compiler and makefile settings, the necessary executables (compiler/linker, makefile, etc.) must be correctly configured. "Correctly configured" means different things for different compilers, but it typically involves ensuring that the executable is on the PATH.

Proper Compiler Configuration is Critical

In most cases, C/C++test needs to invoke the compiler and linker in order to perform static analysis and runtime testing tasks, which commonly involve preprocessing, compiling, and linking programs.

To access C/C++test’s full functionality, the machine where C/C++test is run must have the complete development environment and compiler tool chain.

To launch the plugin:

  • Launch your Eclipse-based IDE as normal.

Eclipse will automatically find the C/C++test plugin.

After Eclipse is launched, you should see a Parasoft menu added to the Eclipse menu bar. If you do not see this menu, choose Window> Open Perspective> Other, select C++test, then click OK.

If you suspect that C/C++test is not properly installed, see Troubleshooting and FAQs for help resolving some common installation problems.

  • No labels