This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Type 'FILE' could not be resolved

Hello,

 

I am new to CCSv5 and the BeagleBone platform.  I have setup the development environement on my PC and have verfied that I can build and execute the standard hello world application.  I followed the steps here for setup. http://processors.wiki.ti.com/index.php/How_to_create_GCC_projects_in_CCSv5

I am now trying to build a project that manages gpio muxing, reading and writing through the Linux file i/o routines.  I have been using both code I find on the web and code that I write from scratch.  I get the same error when trying to use the FILE type.

Description Resource Path Location Type
Type 'FILE' could not be resolved GCC_Hello.c /GCC_Hello line 32 Semantic Error

Typical uses in code are as follows.

void mux(char gpmc[8])

{

FILE* fp;

i=atoi(gpmc);

I am assuming I have a linker problem but I am unable to resolve.  Any help, suggestions, or example projects for gpio would be appreciated.

Best Regards,

Michael H