AnsweredAssumed Answered

header files in visual dsp

Question asked by phani443 on Mar 13, 2014
Latest reply on Mar 13, 2014 by CraigG

hi,

 

i am using visual dsp++ 5.0 on the adsp 21062 platform. i have some tables(arrays) which are static , which i want to keep them in a file (declare them as global variables), i.e. use them as look up tables in my program wherever i want. but when i tried it. i got the following errors while building the project.

 

".\hfv2.c", line 11: cc0101:  error: "complex_number" has already been

          declared in the current scope

  typedef struct complex_number{

                 ^

 

".\hfv2.c", line 14: cc0101:  error: "complex_number" has already been

          declared in the current scope

  }complex_number;

   ^

 

2 errors detected in the compilation of ".\hfv2.c".

cc3089: fatal error: Compilation failed

Tool failed with exit/exception code: 1.

Build was unsuccessful.

 

i am attaching the project rar file . please help me.

 

regards,

phani tej

Attachments

Outcomes