jeudi 29 janvier 2015

clang not detecing c++ headers


I'm trying to use clang to compile a simple hello world cpp file with our favorite include 'iostream'


But clang, for some reason shows


fatal error: 'iostream' file not found


This stumped me. Can anyone suggest what I must do? Also if possible, can I get the answer from the perspective of using cmake?


Thanks.





Aucun commentaire:

Enregistrer un commentaire