Compilation error : cc1.exe: fatal error: lib_c99.prefix: No such file or directory

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

Compilation error : cc1.exe: fatal error: lib_c99.prefix: No such file or directory

跳至解决方案
6,957 次查看
prashantsathe
Contributor III

On latest IDE 1.3 version, if I import my working code (working on old IDE). 

I am facing below issue

/*********************************************************************/

cc1.exe: fatal error: lib_c99.prefix: No such file or directory

/*********************************************************************/

I have tried setting Language standard ISO c99 (-std=c99) but no luck.

Could you please help me out on this?

pastedImage_3.png

-Thanks 

Prashant

1 解答
5,515 次查看
jiri_kral
NXP Employee
NXP Employee

Hello Prashant, 

The file - lib_c99.prefix is located in [your_install_path]\S32DS_ARM_v1.3\S32DS\arm_ewl2\EWL_C\include\  directory - check if the file is present. There may be also missing include path in project settings - on the same page as is shown on your screenshot select Includes and check if the path to EWL_C\include is present. On my machine is used build variable - "${ARM_EWL_DIR}/EWL_C/include" defined here: 

pastedImage_1.png

Jiri

在原帖中查看解决方案

0 项奖励
回复
2 回复数
5,516 次查看
jiri_kral
NXP Employee
NXP Employee

Hello Prashant, 

The file - lib_c99.prefix is located in [your_install_path]\S32DS_ARM_v1.3\S32DS\arm_ewl2\EWL_C\include\  directory - check if the file is present. There may be also missing include path in project settings - on the same page as is shown on your screenshot select Includes and check if the path to EWL_C\include is present. On my machine is used build variable - "${ARM_EWL_DIR}/EWL_C/include" defined here: 

pastedImage_1.png

Jiri

0 项奖励
回复
5,515 次查看
prashantsathe
Contributor III

HI jiri,

Thanks for your reply. yes this answer gave some clue and issue is resolved now.

It was a PATH related issue. For version 1.3 installation path is under "c:/NDK" whereas for old version it was "c:/freescale".

0 项奖励
回复