Part Number: TMDSEVM6472
Tool/software: Code Composer Studio
This is my first time usinig CCS..my C code works fine with code blocks however when i try to run it with CCS i got a lot of errors such "
"P_estimate" is not a type name "
"a parameter is not allowed "
"declaration is incompatible with "double kg2"
"[E0800] Instruction invalid for C6200 "
I think it is best to work through these one at a time. So, for ...
mariam triki"P_estimate" is not a type name "
I presume you are compiling a C source file when this occurs. I need to reproduce the same error to understand how it occurred. Please preprocess the source file and attach that to your next post. Show all the build options exactly as the compiler sees them. Copy-n-paste that from the Console view after the failed build. Indicate the version of the compiler (not CCS) you use. Please view this short video to learn how to do that.
Thanks and regards,
TI C/C++ Compiler Forum ModeratorPlease click Verify Answer on the best reply to your questionThe CCS Youtube Channel has short how-to videosThe Compiler Wiki answers most common questionsTrack an issue with SDOWP. Enter your bug id in the Search box.
In reply to George Mock:
thank you for your response
i am using TI v7 2.0 compiler filtre .pp.txt
i attached my preprocessed source file ( I hope that i get it right) as well as Build result
In reply to mariam triki:
Unfortunately, you attached the wrong preprocessed file. The .pp file is placed in same directory as the source file. You attached the one that is in the Debug directory (or whatever the name of the current build configuration is).
Please copy-n-paste the build options from the Console view. A screen shot of the Problems view does not have that information.
i hope i get it right now
Thanks and regards,filtre1 .pp.txt
Thank you. That is the preprocessed file I needed.
C source expressions like ...
/* skip some lines */
... can appear only within a function. You have no function which encloses these statements.
This forum is not a good place to learn how to program in C. I recommend you get a good book on C, go through some online tutorials about C, and other things like that.
Unfortunately, I am not familiar with Code blocks. So I cannot explain how your code works in that system.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.