mercredi 5 août 2015

apple llvm 6.1 error invalid library name -stdlib=libc++ compiler-default


When I reference C++ codes in an O-C file, I modify the .m file to .mm according to articles on the internet. Then I build the project. Unfortunately, I got the error msg below:

apple llvm 6.1 error invalid library name -stdlib=libc++ compiler-default

I have tried all the compilers in Building Settings->C++ Language but they don't work. I have tried multiple syntaxes but they didn't work.

Why is this happening and how can I solve it?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire