AnsweredAssumed Answered

I've copied a header file from one project to another and now have "unknown type bool" in the copied file

Question asked by Colin Gerrish on Mar 27, 2019
Latest reply on Mar 29, 2019 by Eldar Firing

I am new to MCUXpresso/Eclipse and cannot work out the reason for this problem.

 

I am porting code from an existing SDK project example to another working project.

 

The header file that is giving me the "unknown type bool" error is basically a list of #defines and some data structures.

This header file I copied works fine in the other project and has no #includes etc. and it resides in a separate library folder.

 

I copied the library folder and pasted this folder into my new project.

 

I then updated the project properties to ensure this file is in the includes path.

 

Now, when I run build it then throws up this error. I have type bool in other project files and they are all accepted.

 

So something is missing in my project and I'm rather fatigued with all the learning that I cannot fathom how to resolve.

 

Any advice greatly appreciated.

 

Thanks.

Outcomes