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

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Jump to solution
2,567 Views
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 Solution
1,125 Views
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

View solution in original post

0 Kudos
2 Replies
1,126 Views
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

View solution in original post

0 Kudos
1,125 Views
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 Kudos