Compilation in S32 design

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Compilation in S32 design

1,594 次查看
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 .

标签 (1)
0 项奖励
回复
1 回复

1,414 次查看
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 项奖励
回复