~ mvim test.cpp
~ g++ test.cpp -o test
In file included from test.cpp:1:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iostream:38:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ios:215:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iosfwd:90:10: fatal error: 'wchar.h' file not found
#include // for mbstate_t
^
1 error generated.
查看环境变量
env
env也可以用来设置环境变量的值,具体看env--help
set也可是设置环境变量
本篇文章来源于Linux公社网站(www.linuxidc.com)原文链接:http://www.linuxidc.com/Linux/2011-05/36698.htm
http://cache.baiducontent.com/c?m=9d78d513d99656af28fa940e1a16a623480ed3232bd6a0027fa38449e33e4c413671e3ca30236050889b2b7001de1501ace73603635e67ebcddccf0a83b4c86e69ca303503019b10428e4aef9d5125b671d21ab4fa59b4e5af69cffbc5d3a8050e954e5438deb7ca185e538b78f06273a3fbcc0846004fe1b16578fc5d7222982557b631adb3743d5996f6ab0b0c8377907611e1ea64ea6d52a213d2450c2432fc11a608276777b11530ff32695fccbc4ae75c2f1b63e119f5e481fdfc48fb86ac6ec6&p=8b2a971e86cc42af5ab18e38445190&newp=ce769a4797af57e949bd9b7d0d149d231610db2151d4d7176b82c825d7331b001c3bbfb423241704d2c777630ba4495ae1f23778360225a3dda5c91d9fb4c57479c94b22360d&user=baidu&fm=sc&query=g%2B%2B+wchar%2Eh%27+file+not+found&qid=fe345e5e000277b3&p1=6
真实网址打不开。。快照地址。。。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。