VS2008下cocos2d-x工程配置
2012-03-05 20:51
337 查看
Cocos2dx Project settings in VS2008:
First we should build the libcocos2d, because we will use the outputof the libcocos2d building in our own project, so its setting should be finished first.
Libcocos2d Project:
1. Configuration Properties ->General -> Output Directory: the result(lib files) will be built to here soit should be a place we should know.
2. Configuration Properties ->C/C++ -> General -> Additional Include Directories: here should be all the head files’ directories that will be used by this project.
3. Configuration Properties ->Linker -> General -> Output File: $(OutDir)\$(ProjectName).dll
The OutDir is the same as the OutputDirectory in 1.
4. Configuration Properties ->Linker -> General ->Additional Library Directories: $(OutDir)
5. Configuration Properties ->Linker -> Input -> Additional Dependencies: put down all the libraries we will use. Like : libEGL.lib libgles_cm.lib libxml2.lib libzlib.lib libpng.lib
libjpeg.lib libiconv.lib pthreadVCE2.lib
My Cocos2d Project:
1. Configuration Properties ->General -> Output Directory: this should be same with the one of Libcocos2dproject.
2. Configuration Properties-> C/C++ -> General -> Additional Include Directories:
Like:..\..\cocos2dx\include;..\..\cocos2dx;..\..\cocos2dx\platform;..\..\cocos2dx\platform\third_party\win32\OGLES. We could add more if they will be use by our project just for improving developing speed.
3. Configuration Properties ->Linker -> General -> Output File: $(OutDir)\$(ProjectName).exe
4. Configuration Properties ->Linker -> General ->Additional Library Directories: $(OutDir)
5. Configuration Properties ->Linker -> Input -> Additional Dependencies: libcocos2d.lib libgles_cm.lib2
First we should build the libcocos2d, because we will use the outputof the libcocos2d building in our own project, so its setting should be finished first.
Libcocos2d Project:
1. Configuration Properties ->General -> Output Directory: the result(lib files) will be built to here soit should be a place we should know.
2. Configuration Properties ->C/C++ -> General -> Additional Include Directories: here should be all the head files’ directories that will be used by this project.
3. Configuration Properties ->Linker -> General -> Output File: $(OutDir)\$(ProjectName).dll
The OutDir is the same as the OutputDirectory in 1.
4. Configuration Properties ->Linker -> General ->Additional Library Directories: $(OutDir)
5. Configuration Properties ->Linker -> Input -> Additional Dependencies: put down all the libraries we will use. Like : libEGL.lib libgles_cm.lib libxml2.lib libzlib.lib libpng.lib
libjpeg.lib libiconv.lib pthreadVCE2.lib
My Cocos2d Project:
1. Configuration Properties ->General -> Output Directory: this should be same with the one of Libcocos2dproject.
2. Configuration Properties-> C/C++ -> General -> Additional Include Directories:
Like:..\..\cocos2dx\include;..\..\cocos2dx;..\..\cocos2dx\platform;..\..\cocos2dx\platform\third_party\win32\OGLES. We could add more if they will be use by our project just for improving developing speed.
3. Configuration Properties ->Linker -> General -> Output File: $(OutDir)\$(ProjectName).exe
4. Configuration Properties ->Linker -> General ->Additional Library Directories: $(OutDir)
5. Configuration Properties ->Linker -> Input -> Additional Dependencies: libcocos2d.lib libgles_cm.lib2
相关文章推荐
- Cocos2d-x win7 + vs2010 配置(如何创建cocos2d-x工程,解决各种头文件包含错误、lib库引用错误 及dll链接错误)
- VS2010 cocos2d-x 工程配置
- JS-Cocos2D-js工程的配置及发布
- Cocos2d-X 学习笔记 10 解决汉字乱码,win32工程中使用iconv配置方法
- 【Cocos2d-x 3.0】游戏开发之win32配置环境搭建工程
- VS2008配置Qt工程
- CMAKE配置VS2008 X32驱动开发工程的 cmakelists.txt
- vs2008 工程配置--路径设置
- CMAKE之配置windows驱动工程---VS2008
- Cocos2d-x win7 + vs2010 配置(如何创建cocos2d-x工程,解决各种头文件包含错误、lib库引用错误 及dll链接错误)
- Cocos2d-x win7 + vs2010 配置(如何创建cocos2d-x工程,解决各种头文件包含错误、lib库引用错误 及dll链接错误)
- cocos2d-x 工程跨平台在Xcode8.1中ios10.1真机录音等私有配置 info的配置问题
- ios平台cocos2d-x+plugin-x工程配置图文记录
- VS2008、QT及VTK实现DICOM图像三维重建之三:Win32工程配置
- CMAKE中配置VS2008的驱动开发工程中遇到的问题。
- ubuntu下cocos2d配置及android工程创建
- 工程android配置windows7下cocos2d-x、android的开发环境
- VS2008 OPENCV解决新建工程重复配置lib的问题
- cocos2d-x3.0 macOS下配置Android开发环境以及使用cocos2d-console来新建运行工程
- cocos2d-x 2.2.2 环境配置和创建工程的一些问题