Tool/software: Code Composer Studio
Hi All,I am trying to compile and build my code for C6713, which is in a DAQ module with embedded DSP, in CCS 5.2.1, the code works with complex numbers so I tried including the header file:
the error is "could not open the source file ..."I have visual studio on my PC also, so I tried adding the complex.h from that to my project location and trying
the new error is about the fact that the Visual Studio C++ header file is inetended for Win32 applications and not for C6713"only win32 target supported"
Therefore I wonder if anyone knows where can I download that header file or how to modify the win 32 header file code for that.
Thank you in advance,I would appreciate your help as I am also in short of time.
In reply to Archaeologist:
In reply to Hessam Jouybari:
You are more likely to avoid problems by upgrading both the compiler and CCS. That said, it is possible to use a newer compiler with an older version of CCS. Please see the wiki article (actually a sub-section of a larger article) titled Changing Compiler versions.
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:
I installed a newer compiler and now it support complex operations. I have this message though, which prevent from getting a ,OUT file.
>> Compilation failuregmake: *** [dt9841_6713cfg_c.obj] Error 1gmake: Target `all' not remade because of errors.
Do you suggest me to install a newer version of CCS. Compiler is 7.4.21 and CCS is 5. I will try CCS 6.2 but I was wondering if this is the CCS problem or not.Isn't reverting the code easier? How can I myself define operators for complex values. Define complex I and etc. Is there any source you could introduce me? I would appreciate that.Many thanks,Hessam
Based only on this ...
Hessam Jouybari>> Compilation failuregmake: *** [dt9841_6713cfg_c.obj] Error 1gmake: Target `all' not remade because of errors.
... I cannot say what the problem is. I presume the file dt9841_6713cfg_c.c failed to compile. Please show all the compiler diagnostics related to this file.
Another approach to consider ... Add the option --verbose_diagnostics to the build. This causes the compiler to echo the problem source line, with a ^ character to indicate where on the line the problem begins. This may help you work out the cause of the problem.
Thanks George, I tried to find where can I add that option to the build in the preferences but I couldn't find out
BTW, I uninstalled the new compiler and the error got fixed.
In reply to Keith Barkley:
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.