Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic TAU (steve huntington)
Decrease font size
Increase font size
Topic Title: TCI0007: Could not spawn preprocessor subprocess
Topic Summary: Errormessage when trying to import C/C++ code
Created On: 24-May-2007 10:03
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 24-May-2007 10:03
User is offline View Users Profile Print this message


Michael Mzik

Posts: 3
Joined: 20-Oct-2004

Hi there, I am currently evaluating Tau 2.7 and trying to import C/C++ code.. But the mentioned errormessage appears, here is the complete log: import_test.ttp Information TCI0013: Preprocessing... import_test.ttp Error TCI0007: Could not spawn preprocessor subprocess. import_test.ttp Error TCI0014: Failed to preprocess input file. Btw: I am using Visual Studio 2005 Pro, but it seems that Tau 2.7 is only integrating with VS7.1, is that correct? Greetings, Michael
Report this to a Moderator Report this to a Moderator
 24-May-2007 10:13
User is offline View Users Profile Print this message


jon chard

Posts: 4
Joined: 22-Dec-2004

Hi Michael,

You are correct - Tau 2.7 supports versions 6 & 7 of Visual Studio.
The latest version - Tau 3.1 supports Visual Studio .NET 2005 Professional

Best regards,

/Jon Chard
Applications Consultant
Report this to a Moderator Report this to a Moderator
 24-May-2007 10:25
User is offline View Users Profile Print this message


Michael Mzik

Posts: 3
Joined: 20-Oct-2004

Hi Jon, so this means that I am unable to import C/C++ code with Tau 2.7, because I need VS 6 or 7 ? What if I have installed both VS6 and VS8 ? And btw: why are my line-feeds get corrupted here? Regards, Michael

Edited: 24-May-2007 at 10:27 by Michael Mzik
Report this to a Moderator Report this to a Moderator
 24-May-2007 10:32
User is offline View Users Profile Print this message


jon chard

Posts: 4
Joined: 22-Dec-2004

Hi Michael,

Yes - for Tau 2.7 you will need VS 6 or 7. As 2005 is not supported there is no guarantee that import will work - I am guessing that this may be the source of the error you are receiving.
Do you have a particular reason for evaluating Tau 2.7? If not, then I would strongly recommend moving to Tau 3.1 which will eliminate any incompatibility problems.

Best regards,

/Jon
Applications Consultant
Report this to a Moderator Report this to a Moderator
 24-May-2007 16:36
User is offline View Users Profile Print this message


Greg Gorman

Posts: 75
Joined: 4-Oct-2002

There are nearly 5000 changes to Tau since 2.7, so I would encourage you to evaluate a current version (3.1).

Also please be advised that Tau 2.7 is no longer under active support.

https://support.telelogic.com/en/tau/info/supported/

Greg

-------------------------
Greg Gorman
Vice President, Product Management
Modeling and Test Products
Telelogic AB
Report this to a Moderator Report this to a Moderator
 2-Jul-2007 13:50
User is offline View Users Profile Print this message


Michael Mzik

Posts: 3
Joined: 20-Oct-2004

Helllo there, now I have the 3.1 version. And yes.. a lot of changes. But I am still stuck at the reverse engineering of a project. I have installed the VS2005 integration but no menu-item or toolbar shows up for TAU within the VS2005 IDE. I also had a look under "Tools"->"Add-in Manager", but nothing.. I tried to import a whole solution, and it seems to work, but it seems that no source code is imported and transformed to UML. I added the "cppImportSpecification" stereotype to the package generated by the import-process (same name like the .sln file). But whats next? Add every single header-file manually to "Input header files"? Can I use wildcards, or better have everything imported from the solution (and the contained projects) - that would be great! For the beginning, I would be happy if I can import the code (lets say of a legacy project) and have UML-diagrams like classes, dependencies and that generated.. I would not mind to use that for later code-generation.. just for documentational purposes. And last but least, is there any documentation or tutorial available how to start projects (UML for C++ code gen) to overcome pitfalls in the beginning? Many thanks and greetings, Michael
Report this to a Moderator Report this to a Moderator
 2-Jul-2007 22:03
User is offline View Users Profile Print this message


Greg Gorman

Posts: 75
Joined: 4-Oct-2002

Michael,
I would suggest at this point you contact Support. You should be able to capture source code using the Import Wizard from Tau, and should not have to add the stereotype.

After running setup.exe from here C:\Program Files\Telelogic\TAU_3.1\integrations\MSVS8 I get a "Tau" menu in VS2005 that shows up as soon as it starts up.

I create an empty project "UML for C++ Code Generation" and then select the "Model" node and do "File->Import" and select "Import C/C++". (Importing the SLN file just creates dependencies and shows the structure of the SLN).

I pick "Import Visual Studio Project" and browse to a .vcproj file.

It then asks me to pick the project configuration, so I pick Release/Win32.

I choose "Generate GUIDs based on name" and "Action Code Import = Import Action Code as Informal" and "Create Artifacts".

Picking Next then Finish finds all of the C++ header files in the project and imports them.

I end up with a package called "Imported CPP Definitions" with all of the stuff in it from the code and a couple of auto-generated diagrams in it.

If you don't get the same results then please contact Support and they will help you through it.

Greg

PS. The <CR> issue is a pain. I think it's worse when using the "Quick Reply" window, I think if you use the "Reply" button you get better results.

-------------------------
Greg Gorman
Vice President, Product Management
Modeling and Test Products
Telelogic AB
Report this to a Moderator Report this to a Moderator
 29-Sep-2007 22:32
User is offline View Users Profile Print this message


Brandon Jones

Posts: 20
Joined: 22-Sep-2003

I think this is the case where the user doesn't choose to have Visual Studio set-up the environment variables during the MS Visual install. If you don't set that option you need to run the vsvars32.bat or vcvars32.bat before running Tau so that it can find your compiler, include and lib directories. These environment variables can also be set manually by adding it to your PATH, INCLUDE and LIB variables.

_brandon
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic TAU forum.
There are currently 1 users logged in.
The most users ever online was 15 on 31-Mar-2008 at 16:22.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.