Hi All,
I am working on TDP development for XMC-4700, while preprocessing the files i am getting the below issue:
"no source": Error: command-line: #564: cannot open preprocessing output output file ".\Objects\*.d": No such file or directory
Below is the log for TDP build:
C:\Program Files (x86)\Rational\TestRealTime\bin\intel\win32\utags -sspgtags ..\Scripts\QualTest.ptu Preprocessing PTU test script file... C:\PROGRA~2\Rational\TESTRE~1\bin\intel\win32\attolpreproC "C:\RTRT\INPUTS\XMC\Sample scripts\Scripts\QualTest.ptu" "cwinkeilxmc4700\TQual_non_instrumented.c" -studio_log="C:\RTRT\INPUTS\XMC\Sample scripts\Working Folder\intermediates_files434474679.log" -STD_DEFINE="C:\PROGRA~2\Rational\TESTRE~1\targets\CWINKE~1\ana\atus_c.def" -RENAME=stubs_rename.opt -incl="C:\Keil_v5\ARM\ARMCC\include","cwinkeilxmc4700" -family=nominal -service=single_if_test_2 -NOSIMULATION -FAST TestRT-I-STARTEXEC, IBM(R) Rational(R) Test RealTime C Test Script Compiler 7.0.5.0.296.001 TestRT-I-COPYRIGHT, (C) Copyright IBM Corp. 1992-2007 All Rights Reserved. All rights reserved. cwinkeilxmc4700\TQual_non_instrumented.c: Preprocessing... C:\Keil_v5\ARM\ARMCC\bin\armcc.exe -E --c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ./RTE/_TestRT_execution -I C:/Keil_v5/ARM/PACK/Infineon/XMC4000_DFP/2.7.1/Device/XMC4700_series/Include -I C:/Keil_v5/ARM/CMSIS/Include -I C:/Keil_v5/ARM/ARMCC/Bin -D__UVISION_VERSION="524" -DXMC4700_F144x2048 -o .\Objects\*.o --omf_browse .\Objects\*.crf --depend .\Objects\*.d -I C:\PROGRA~2\Rational\TESTRE~1\targets\CWINKE~1\lib "-IC:\Keil_v5\ARM\ARMCC\include" "-Icwinkeilxmc4700" "cwinkeilxmc4700\TQual_non_instrumented.c" -o "cwinkeilxmc4700\TQual_non_instrumented_aug.i" C:\PROGRA~2\Rational\TESTRE~1\bin\intel\win32\attolcc1 "cwinkeilxmc4700\TQual_non_instrumented_aug.i" "cwinkeilxmc4700\TQual_non_instrumented_aug.c" atct.def -exfile="cwinkeilxmc4700\TQual_non_instrumented.c" -noinstrdir="C:\PROGRA~2\Rational\TESTRE~1\targets\CWINKE~1" @stubs_rename.opt -proc=ret -block=logical -trace -mempro -perfpro -studio_log="C:\RTRT\INPUTS\XMC\Sample scripts\Working Folder\intermediates_files434474679.log" TestRT-W-ELMT_VIDE, [C:\RTRT\INPUTS\XMC\Sample scripts\Scripts\QualTest.ptu:401] ELEMENT block without any variables to edit TestRT-W-TEST_VIDE, [C:\RTRT\INPUTS\XMC\Sample scripts\Scripts\QualTest.ptu:403] No variables in the test 1 TestRT-W-NOMOPEDBL, [C:\RTRT\INPUTS\XMC\Sample scripts\Scripts\QualTest.ptu:411] switch_case_test_1 service used more than once in the program TestRT-I-ENDNOEWAR, End of execution with 3 warning(s) "no source": Error: command-line: #564: cannot open preprocessing output output file ".\Objects\*.d": No such file or directory cwinkeilxmc4700\TQual_non_instrumented.c: 0 warnings, 1 error --- cwinkeilxmc4700\TQual_non_instrumented_aug.c: Compiling... C:\Keil_v5\ARM\ARMCC\bin\armcc.exe --c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I ./RTE/_TestRT_execution -I C:/Keil_v5/ARM/PACK/Infineon/XMC4000_DFP/2.7.1/Device/XMC4700_series/Include -I C:/Keil_v5/ARM/CMSIS/Include -I C:/Keil_v5/ARM/ARMCC/Bin -D__UVISION_VERSION="524" -DXMC4700_F144x2048 -o .\Objects\*.o --omf_browse .\Objects\*.crf --depend .\Objects\*.d "-IC:\Keil_v5\ARM\ARMCC\include" "-Icwinkeilxmc4700" "cwinkeilxmc4700\TQual_non_instrumented_aug.c" -o "cwinkeilxmc4700\TQual_non_instrumented.o" TestRT attolcc1 - INFO: No branches of requested coverage types can be found in file TQUAL_NON_INSTRUMENTED_AUG.I; no FDC generated TestRT attolcc1 - INFO: No observable routine can be found in file TQUAL_NON_INSTRUMENTED_AUG.I; no TSF generated "no source": Error: command-line: #564: cannot open preprocessing output output file ".\Objects\*.d": No such file or directory cwinkeilxmc4700\TQual_non_instrumented_aug.c: 0 warnings, 1 error status 1 --- Failed.
So what about the use of 'Program Files' ?
In 'Program Files' the IBM RTRT is installed and Preprocessing is using the files inside 'Program Files' RTRT installation directory.
It is not writing any files into 'Program Files'.
Which is exactly what Westonsupermare Pier said to you in his post!
Hi Spam Doctor,
The reply was for your question, "So what about the use of 'Program Files' ?". I understood what Westonsupermare Pier suggested and i tried by cleaning Temp directory.
But still facing the same issue? Could you please suggest some resolution...
Did you?
He said:
"You don't want anything in 'Program Files' being written, either Windows or AV software will object to this"
So what have you done to stop things trying to write into 'Program Files' ?
I have not done anything to stop writing into 'Program Files'. As the writing of objects files and the other file generation is happening in other directory not in 'Program Files'.