Sign in

username:

password:



Not a member?

Search code-comp



Search tips

Subscribe to code-comp



code-comp by Keywords

ARM7 | BIOS | Bug | EVM | JTAG | Linker | LOG_printf | McBSP | Profiling | Relocation | RTDX | Simulator | Target | Watch

Discussion Groups

Discussion Groups | Code-Composer | problem with .h file

Technical discussions about Code Composer Studio.

  

Post a new Thread

problem with .h file - Rashmi Chawla - Apr 5 7:43:19 2006



Hi

I have just started using code composer studio and was trying out the
example as mentioned in the help section of code composer...The
example is to change hello1 program written with simple 'puts'
function to print "hello" ........to hello2 program using dsp/bios for
the same output.

after creating .cdb file and all other necessary steps as mentioned in
the document when i try to compile the code it gives an error...

"c:\ti\c5500\cgtools\bin\cl55" -g -mg -as
-fr"C:/ti/myprojects/hellobois/hello1/Debug" -v5510:2 -@"Debug.lkf"
"hello.c"
"hello.c", line 21: fatal error: could not open source file "hellocfg.h"
1 fatal error detected in the compilation of "hello.c".
Compilation terminated.

However the file is already present in the include directory......i
have tried to reload the file but still the error remains...pls
help!!!



(You need to be a member of code-comp -- send a blank email to code-comp-subscribe@yahoogroups.com )

Re: problem with .h file - prabhakar - Apr 6 8:25:38 2006

Hello Rashmi,

Make sure that the syntax for your include file should be 

          #include "hellocfg.h"

Hope this helps you.

Regrads
Prabhakar

  ----- Original Message ----- 
  From: Rashmi Chawla 
  To: c...@yahoogroups.com 
  Sent: Wednesday, April 05, 2006 11:09 AM
  Subject: [code-comp] problem with .h file
  Hi

  I have just started using code composer studio and was trying out the
  example as mentioned in the help section of code composer...The
  example is to change hello1 program written with simple 'puts'
  function to print "hello" ........to hello2 program using dsp/bios for
  the same output.

  after creating .cdb file and all other necessary steps as mentioned in
  the document when i try to compile the code it gives an error...

  "c:\ti\c5500\cgtools\bin\cl55" -g -mg -as
  -fr"C:/ti/myprojects/hellobois/hello1/Debug" -v5510:2 -@"Debug.lkf"
  "hello.c"
  "hello.c", line 21: fatal error: could not open source file "hellocfg.h"
  1 fatal error detected in the compilation of "hello.c".
  Compilation terminated.

  However the file is already present in the include directory......i
  have tried to reload the file but still the error remains...pls
  help!!!

    a..   
------------------------------------------------------------------------------


(You need to be a member of code-comp -- send a blank email to code-comp-subscribe@yahoogroups.com )

RE: problem with .h file - robert - Apr 6 8:33:26 2006

Go into the project configuration, and specify the path where the include
file is located.
 
Robert
   _____  

From: c...@yahoogroups.com [mailto:c...@yahoogroups.com] On Behalf
Of Rashmi Chawla
Sent: Wednesday, April 05, 2006 12:39 AM
To: c...@yahoogroups.com
Subject: [code-comp] problem with .h file
Hi

I have just started using code composer studio and was trying out the
example as mentioned in the help section of code composer...The
example is to change hello1 program written with simple 'puts'
function to print "hello" ........to hello2 program using dsp/bios for
the same output.

after creating .cdb file and all other necessary steps as mentioned in
the document when i try to compile the code it gives an error...

"c:\ti\c5500\cgtools\bin\cl55" -g -mg -as
-fr"C:/ti/myprojects/hellobois/hello1/Debug" -v5510:2 -@"Debug.lkf"
"hello.c"
"hello.c", line 21: fatal error: could not open source file "hellocfg.h"
1 fatal error detected in the compilation of "hello.c".
Compilation terminated.

However the file is already present in the include directory......i
have tried to reload the file but still the error remains...pls
help!!!



(You need to be a member of code-comp -- send a blank email to code-comp-subscribe@yahoogroups.com )