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: Error in launching examples
Topic Summary:
Created On: 10-Jul-2007 12:20
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.
Answer This question was answered by Charles-Henry Jurd, on Tuesday, July 10, 2007 4:19 PM

Answer:
Under WinXP (for example), go to "My Computer", right click-->"Properties" in the context menu-->select the "Advanced" tab -->click on the "Environment Variables" button.

For each of the following environment variable, either create it under "System variables" if possible ("User variables" if not), with the corresponding value.
If a variable already exists (like probably PATH, INCLUDE and LIB), add the following value to the existing variable:

Format: VARIABLE_NAME = VARIABLE_VALUE

MSDevDir = C:\PROGRA~1\MICROS~2\Common\msdev98
MSVCDir = C:\PROGRA~1\MICROS~2\VC98
PATH = C:\PROGRA~1\MICROS~2\Common\msdev98\BIN;C:\PROGRA~1\MICROS~2\VC98\BIN;C:\PROGRA~1\MICROS~2\Common\TOOLS\WINNT;C:\PROGRA~1\MICROS~2\Common\TOOLS;
INCLUDE = C:\PROGRA~1\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~1\MICROS~2\VC98\INCLUDE;C:\PROGRA~1\MICROS~2\VC98\MFC\INCLUDE
LIB = C:\PROGRA~1\MICROS~2\VC98\LIB;C:\PROGRA~1\MICROS~2\VC98\MFC\LIB

You do not need to define VcOsDir or VSCommonDir because the script in the end actually deletes these variables.

For your information, the definition of these variables allows Telelogic TAU (like any other tool) to correctly call the compiler, linker & the required libraries to build the model verifier (or any C/C++ application generated from the model).

Charles-Henry JURD
 10-Jul-2007 12:20
User is offline View Users Profile Print this message


Romina Spalazzese

Posts: 3
Joined: 3-Jul-2007

Dear all,

I installed Telelogic Tau v 3.1.0.3.3317 because I would model and execute some UML 2.0 models.
I installed Microsoft Visual C++ v 6.0 (Enterprise Edition) too.
I have tryed to launch some project samples embedded in Tau but I have the following problem:

****************************************************************************************************************

ClassPtrsInSignals.ttp     Information cl -nologo /Zi @C:\DOCUME~1\SPALAZ~1\IMPOST~1\Temp\nma02152.

ClassPtrsInSignals.ttp     Information Class1.c

ClassPtrsInSignals.ttp     Information C:\Programmi\Telelogic\TAU_3.1\addins\sdlkernels\dbg_cl\..\include\scttypes.h(584) : fatal error C1083: Cannot open include file: 'string.h': No such file or directory

ClassPtrsInSignals.ttp     Error NMAKE : fatal error U1077: 'cl' : return code '0x2'

ClassPtrsInSignals.ttp     Information Stop.

ClassPtrsInSignals.ttp     Error NMAKE : fatal error U1077: '"C:\Programmi\Microsoft Visual Studio\VC98\Bin\nmake.exe"' : return code '0x2'

ClassPtrsInSignals.ttp     Information Stop.

ClassPtrsInSignals.ttp     Information TAB0054: Make execution finished - 2 Error(s), 0 Warning(s)

******************************************************************************************************************

Someone can help me?
Thank you very much in advance

Report this to a Moderator Report this to a Moderator
 10-Jul-2007 12:29
User is offline View Users Profile Print this message


Charles-Henry Jurd

Posts: 4
Joined: 24-Mar-2006

Romina,

The Visual Studio/C++ environment variables are probably not setup correctly.

Look for the vcvars32.bat file in the Visual C++ installation directory, open it (editing mode) and manually install the referring environment variables (I know it's painful, but you just need to do it once!). Then restard TAU (so it can load the - new - environment variables).

Your error message seems to be typically due to a missing INCLUDE path.

Hope this helps!
Charles-Henry JURD
Report this to a Moderator Report this to a Moderator
 10-Jul-2007 13:52
User is offline View Users Profile Print this message


Ian Barnard

Posts: 91
Joined: 4-Jul-2002

Hi

Please note that Visual Studio 6 isn't supported with Tau 3.1; you need to get Visual Studio .Net 2005 Professional to have a supported setup.

But VS6 does seem to work for Model Verifier and Activity Diagram Simulation once you get the environment set up correctly. You must install Visual Studio SP5 which fixes various compiler problems.

HTH
Ian

-------------------------
=============
Ian Barnard
Principal Consultant
Telelogic UK, an IBM company
Report this to a Moderator Report this to a Moderator
 10-Jul-2007 15:05
User is offline View Users Profile Print this message


Romina Spalazzese

Posts: 3
Joined: 3-Jul-2007

Charles-Henry,

thanks for your answer! I have another question:
I have set some INCLUDE from the Visual C++ IDE : Tools menu --> Options --> Directories
but may be it doesn't work however the VCVARS32.bat contains this

*********************************************************************************************
@echo off
rem
rem Root of Visual Developer Studio Common files.
set VSCommonDir=C:\PROGRA~1\MICROS~2\Common

rem
rem Root of Visual Developer Studio installed files.
rem
set MSDevDir=C:\PROGRA~1\MICROS~2\Common\msdev98

rem
rem Root of Visual C++ installed files.
rem
set MSVCDir=C:\PROGRA~1\MICROS~2\VC98

rem
rem VcOsDir is used to help create either a Windows 95 or Windows NT specific path.
rem
set VcOsDir=WIN95
if "%OS%" == "Windows_NT" set VcOsDir=WINNT

rem
echo Setting environment for using Microsoft Visual C++ tools.
rem

if "%OS%" == "Windows_NT" set PATH=%MSDevDir%\BIN;%MSVCDir%\BIN;%VSCommonDir%\TOOLS\%VcOsDir%;%VSCommonDir%\TOOLS;%PATH%
if "%OS%" == "" set PATH="%MSDevDir%\BIN";"%MSVCDir%\BIN";"%VSCommonDir%\TOOLS\%VcOsDir%";"%VSCommonDir%\TOOLS";"%windir%\SYSTEM";"%PATH%"
set INCLUDE=%MSVCDir%\ATL\INCLUDE;%MSVCDir%\INCLUDE;%MSVCDir%\MFC\INCLUDE;%INCLUDE%
set LIB=%MSVCDir%\LIB;%MSVCDir%\MFC\LIB;%LIB%

set VcOsDir=
set VSCommonDir=

*************************************************************************************************************

Do you know what I have to write in VcOsDir and in VSCommonDir?

Thanks very much,
     Romina

Report this to a Moderator Report this to a Moderator
 10-Jul-2007 15:36
User is offline View Users Profile Print this message


Charles-Henry Jurd

Posts: 4
Joined: 24-Mar-2006

Answer Answer
Under WinXP (for example), go to "My Computer", right click-->"Properties" in the context menu-->select the "Advanced" tab -->click on the "Environment Variables" button.

For each of the following environment variable, either create it under "System variables" if possible ("User variables" if not), with the corresponding value.
If a variable already exists (like probably PATH, INCLUDE and LIB), add the following value to the existing variable:

Format: VARIABLE_NAME = VARIABLE_VALUE

MSDevDir = C:\PROGRA~1\MICROS~2\Common\msdev98
MSVCDir = C:\PROGRA~1\MICROS~2\VC98
PATH = C:\PROGRA~1\MICROS~2\Common\msdev98\BIN;C:\PROGRA~1\MICROS~2\VC98\BIN;C:\PROGRA~1\MICROS~2\Common\TOOLS\WINNT;C:\PROGRA~1\MICROS~2\Common\TOOLS;
INCLUDE = C:\PROGRA~1\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~1\MICROS~2\VC98\INCLUDE;C:\PROGRA~1\MICROS~2\VC98\MFC\INCLUDE
LIB = C:\PROGRA~1\MICROS~2\VC98\LIB;C:\PROGRA~1\MICROS~2\VC98\MFC\LIB

You do not need to define VcOsDir or VSCommonDir because the script in the end actually deletes these variables.

For your information, the definition of these variables allows Telelogic TAU (like any other tool) to correctly call the compiler, linker & the required libraries to build the model verifier (or any C/C++ application generated from the model).

Charles-Henry JURD
Report this to a Moderator Report this to a Moderator
 10-Jul-2007 16:18
User is offline View Users Profile Print this message


Romina Spalazzese

Posts: 3
Joined: 3-Jul-2007

Thank you very much Charles-Henry!

In the meanwhile you were answering me, I have tried this   
Now it works!

Thank you!

   Romina

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.