Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: CCS Build always says "Fatal error #1965: cannot open source file"

$
0
0

Hello,

I'm running CCS 5.5.0.00077 on two different machines - one is Windows XP, one is Windows 7 (using a floating network license).  My WinXP installation works just fine, no problems at all editing, building, and debugging projects at will.

But I cannot get the Win7 installation to build ANYTHING.

For example, if I go:

File->New->CCS Project->(give it any name, any configuration it doesn't matter, and select Empty Project with main.c).  

Then immediately select Build Project, I get this error:

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: ../main.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armcl" -mv6 --code_state=32 --abi=ti_arm9_abi --include_path="C:/ti/ccsv5/tools/compiler/arm_5.1.1/include" -g --diag_warning=225 --display_error_number --diag_wrap=off --preproc_with_compile --preproc_dependency="main.pp" "../main.c"
Fatal error #1965: cannot open source file "../main.c"
1 catastrophic error detected in the compilation of "../main.c".
Compilation terminated.

Main.c is obviously there, but it doesn't see it.  If I go in and change the command-line pattern to name it specifically, I get a bunch more errors about "cannot open .pp file" and even:

INTERNAL ERROR: C:\ti\ccsv5\tools\compiler\arm_5.1.1\bin\armlnk.exe experienced a fatal internal fault

This is a serious problem. Please contact Customer
Support with this message and a copy of the input file
and help us to continue to make the tools more robust.

The exact same problem happens if I go to the TI Resource Explorer->Examples->(select any example, like the ADC_DISPLAY_RM48)->Import it->Build it.  I get a lot of errors, but the first one is:

**** Build of configuration Debug for project ADC_DISPLAY_RM48 ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: ../sys_main.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv5/tools/compiler/arm_5.1.1/bin/armcl" -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -me -g --include_path="C:/ti/ccsv5/tools/compiler/arm_5.1.1/include" --include_path="C:/CCSTest/ADC_DISPLAY_RM48/include" --diag_warning=225 --display_error_number --enum_type=packed --preproc_with_compile --preproc_dependency="sys_main.pp" "../sys_main.c"
Fatal error #1965: cannot open source file "../sys_main.c"
1 catastrophic error detected in the compilation of "../sys_main.c".
Compilation terminated.

I am totally stumped as to what the issue is.  Even if I manage to overcome the compiler not seeing the source file (by manually editing each entry and directly entering in the file name), I get multiple other errors all related to can't find certain files.  I feel like I'm missing something simple, but I just can't figure it out.

I've tried the following already:

1) Uninstalling and re-installing CCS,
2) Putting the project on the local C drive (avoiding network drives).
3) Adding files as "Linked" and making sure the Resources all line up (still will crash with ".pp" errors and linking completely fails).
4) Disabling anti-virus software.
5) Making sure no permissions or other file issues are causing a barrier.

There has to be something about the way my Win7 machine is working differently than my WinXP machine, but they both run the same anti-virus software.  I just can't build a project on the Win7 machine.

Please help!


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>