Reply by robert April 6, 20062006-04-06
Go into the project configuration, and specify the path where the include
file is located.

Robert
_____

From: c... [mailto:c...] On Behalf
Of Rashmi Chawla
Sent: Wednesday, April 05, 2006 12:39 AM
To: c...
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!!!
Reply by prabhakar April 6, 20062006-04-06
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...
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..
------
Reply by Rashmi Chawla April 5, 20062006-04-05
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!!!