user1168785
user1168785

Reputation: 39

Lattix with Understand for C++/Objective-C: API library missing error (Mac OSX)

I'd like to use lattix to analyse objective-c code (http://www.lattix.com/node/114). Computer is a macbook with osx 10.7.4.

Lattix version is 7.8 (newest). I am not sure which understand version to use, newest would be 3.0 build 635, but I have the same problem with understand 3.0 and 2.6 anyway.

Understand works fine (version 2.6 or 3.0), I can create a new understand project for an iOS objective-c project and name it *.udb. Analysis within understand also work fine.

The problem is when I try to import it into lattix: In lattix I do: File -> new project -> profiles: all -> choose Module Type C/C++ (Understand) and add the udb file. When creating a new project now I get this error: "Error opening data ... Understand API library missing. Please install Understand."

Also tried understand 3.0 same problem. Has someone got these two tools working on a mac and maybe had a similar issue?

Or does s.o. maybe has an alternative to lattix?

Big thanks in advance.

Upvotes: 1

Views: 412

Answers (1)

A-Live
A-Live

Reputation: 8944

The link you have posted has the answer to your question at the third paragraph:

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.

One Japanese guide i found says

[For Linux]

After installing Understand 2.0, please set the {Understand 2.0 installation directory} / scitools $ to STI_HOME system environment variable.

Start the ($ {Lattix installation directory} / Lattix / bin / ldm.sh) Lattix.

Might be helpful for Understand 3.0 as well

Upvotes: 0

Related Questions