C/C++ Specific Issues
- How do I use Understand for C++ in conjunction with Lattix?
- I am using Lattix in conjunction with Understand for C++. However, I am not able to create a project because I get the message, Understand API Library is missing.
- How do I use Doxygen in conjunction with Lattix?
- How do I create a project for Microsoft C/C++ project?
- When I go to create a new project the C/C++(BSC) module selection is greyed out. How do I enable that module?
- The Unused Element Report appears to show many elements that I know are used. What is going on?
Integration with Understand for C++ allows us to provide a comprehensive and high performance solution. You simply load the "udb" generated by Understand for C++. You can obtain Understand for C++ from the following url: http://www.getunderstand.com.
Please ensure that Understand for C++ is installed on your computer with a valid license. On Windows, please ensure that the path contains the directory (typically C:\Program Files\STI\bin\pc-win32). On Linux, please set the environment variable STI_HOME to the top of your Understand Installation.
Doxygen is a document generator that parses C/C++ and generates documentation in html/xml format. Lattix LDM reads in the xml output of Doxygen to create a DSM. You can download and fine out more about Doxygen from the following url: http://www.stack.nl/~dimitri/doxygen/.
Microsoft Visual C/C++ projects are generated from "bsc" files that can be generated from Visual Studio. First you will download Microsoft Browser Toolkit 7.0 (BSC Toolkit) from Microsoft. Generate the "bsc" file from Visual Studio. You will then load the "bsc" file to generate Lattix "ldm" file. Note that you should load only one "bsc" file in a project.
Assuming that your license key is enabled for the C/C++ modules, then the likely reason is that you haven't installed the Microsoft browser toolkit, which is utilized by this module. This toolkit must be downloaded directly by the user and the browser dll installed in the Lattix bin directory. You can see more details in Module Guide section on the BSC module.
This question is valid for any module but generally gets asked most often for C/C++ projects. This report shows all elements that have no dependencies to them. This means that a function like main() could be marked as used because it is probably not called from inside the program. In C/C++, it could be even more insidious because there can be multiple declarations for a single implementation for a function. Each of the declaration, if it is inside a header file, is shown in the DSM when member level is enabled. Now there will be no dependencies to these elements and all of them will show up in the Unused Element Report. It is best to think of the Unused Element Report as an initial list of elements to examine when pruning a system for obsolete elements.

