![]() |
Telelogic TAU (steve huntington) | ![]() |
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 |
![]() |
![]()
|
![]() |
|
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
|
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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
|
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.