Forums - fatal error: 'stdio.h' file not found

3 posts / 0 new
Last post
fatal error: 'stdio.h' file not found
ser.ibtissam
Join Date: 10 May 18
Posts: 6
Posted: Wed, 2018-06-20 02:50

Hello, 

I installed LLVM compiler  on windows, I followed the Readme instructions but when I verified the installation  I got an error message : 
 

hello.c:2:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
         ^~~~~~~~~
1 error generated.

how can I solve this error ?

thank you in advance  for yopur help.
  • Up0
  • Down0
hongy
Join Date: 20 Apr 18
Posts: 2
Posted: Wed, 2018-06-20 15:55

Please try this command 

 

C:\temp>C:\Apps\LLVM\6.0.3\bin\clang.exe -nostdlib --sysroot=C:\Apps\LLVM\6.0.3\aarch64-linux-gnu\libc -target aarch64-linux-gnu  main.c -o hello.exe  -I C:\Apps\LLVM\6.0.3\aarch64-linux-gnu\libc\include -v -fuse-ld=qcld -lc
  • Up0
  • Down0
ser.ibtissam
Join Date: 10 May 18
Posts: 6
Posted: Fri, 2018-06-22 07:44

Thank you for your response but it doesn't work ! 

Can you explain more those comand lines ? because we don't have the same paths.
 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.