Troubleshooting
Problem
Attempts de generate C++ test script generator of IBM Rational test RealTime result in catastrophic error #5.
Symptom
You see the following error.
script C:\Program Files\IBM\TestRealTime\lib\scripts\StartObjecTest.pl
Test Script generation ...
C:\PROGRA~1\IBM\TESTRE~1\bin\intel\win32\atostart "C:\Program Files\IBM\TestRealTime\examples\Shape\src\main.cpp" -opp atl.opp -hpp atl.hpp -include=relative -test_private_methods -overwrite -otd "C:\Program Files\IBM\TestRealTime\examples\Shape\Test.otd" -test_class_prefix "Test" -otc "C:\Program Files\IBM\TestRealTime\examples\Shape\Test.otc" -studio_log "C:/Program Files/IBM/TestRealTime/examples/Shape\intermediates_files420903828.log"
atostart - info: #for: analyzing...
catastrophic error #5: could not open source file "#for"
Generation failed.
Cause
Two lines in the Target Deployment Port (TDP) cause this error to the attolstart analyzer.
Resolving The Problem
Remove these two lines. Here are the instructions.
- Open your xdp file with the TDP editor
- Remove the following lines in Parser Settings > Analyser file configuration.
#for 64 bits
#--targ_size_t_int_kind 10
- Make a Save & Generate
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21636303