Compilation in S32 design

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

Compilation in S32 design

917 Views
yalamandadosaky
Contributor V

Hi All, As I already have one Existing MPC5777M project , so I imported it into the S32 Design studio Power PC V1.1 Linux,So I am able to compile it, but when I included one new folder(consists some other modules code)  by copied some where and pasted it in the project, then It is failing to compile.

 

I checked everything in the new folder, it is  Ok.

I added all new folder paths in the properties->c/c++ module->settings->c/c++ s32ds compiler ->includes.But it is still failing to detect the definition for some declarations.

So What are the things we need to take care for adding new folder into the project and make it compile .

Labels (1)
0 Kudos
1 Reply

737 Views
stanish
NXP Employee
NXP Employee

Hello Yalamanda,

Please make sure the folder you've added is a "source folder" otherwise makefile does not touch the source files from that folder.

pastedImage_1.png

You can easily "convert" generic folder into a source one:

pastedImage_2.png

The icon will change to a Source Folder one and the source files from this folder are included to build:

pastedImage_4.png

Hope it helps.

Stan

0 Kudos