i.MX 6 Platform SDK compile

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX 6 Platform SDK compile

625 Views
ritesh_panchal
Contributor I

How to build SDK example code?

I am using Eclipse for compiling the project.

And if i include SDK folder in Eclipse Yocto Autotool C ANSI project from "C/C++ General/Path and symbols/include directories".

Now function reference can be found by eclipse. I can also Jump to defination by F3.

But when i compile i get "fatal error: No file or directory"

0 Kudos
2 Replies

462 Views
Yuri
NXP Employee
NXP Employee

  I recommend to follow the README file of the SDK how to build the SDK.

Please use host Linux. It is the most quick way to get results. The structure

of include files of the SDK is not simple, so Eclipse approach may take much
more time.


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

462 Views
ritesh_panchal
Contributor I

Yes.

I think ./tools/build_sdk command will generate .bin file. That can be downloaded into kit and evaluate the the board.

But i want to use some files of the SDK into Eclipse Yocto Autotool Project.

As i told i can include the folder. And it can be seen in includes in Porject Explorer.

But when i compile it shows me "fatal error: No file or directory".

So how to include SDK folder or any other folder into Eclipse project.?

0 Kudos