重装系统之后一些重要环境变量的配置
1.Mingw
(1)编辑 PATH 变量,在最后面加入 D:\mingw\bin D:\mingw\msys\1.0\bin D:\mingw\mingw32\bin (2)添加 LIBRARY_PATH 变量,内容为: D:\mingw\lib (3)添加 C_INCLUDE_PATH 变量,内容为: D:\mingw\include (4)添加 CPLUS_INCLUDE_PATH 变量,内容为: D:\mingw\lib\gcc\mingw32\4.8.1\include\c++ 2.Java (1) JAVA_HOME D:\java Jdk 1.6 (2) Path % JAVA_HOME%\bin; % JAVA_HOME%\jre\bin (3) CLASSPATH % JAVA_HOME%\lib 验证:java -version 3.Node.js (1) Path D:\Node.js (2) NODE_PATH D:\Node.js\node_modules 验证: node server.js 4.Android SDK (1) ANDROID_SDK_ROOT D:\AndroidSdk (2) Path % ANDROID_SDK_ROOT%\tools; 验证:android sdk (打开 sdk manager) % ANDROID_SDK_ROOT%\platform-tools; 验证:adb devices 5.Android NDK (1) NDK_ROOT D:\AndroidNdk\android-ndk-r9d (2) Path % NDK_ROOT%\ 验证:ndk-build -version 6.Android ANT (1) ANT_ROOT D:\AndroidAnt\apache-ant-1.9.4\bin (2) Path % ANT_ROOT%\ 验证:ant -version 7.Python (1) Path D:\python2.7.7 验证:python —version 8.Cocos2d-x (1) Path D:\cocos2d-x\cocos2d-x-3.0rc2 D:\cocos2d-x\cocos2d-x-3.0rc2\tools\cocos2d-console\bin 验证:cocos compile -p android
文章来源: cuiqingcai.com,作者:崔庆才,版权归原作者所有,如需转载,请联系作者。
原文链接:cuiqingcai.com/342.html
- 点赞
- 收藏
- 关注作者
评论(0)