allegro 5 visual studio 2010项目配置
2011-12-22 14:22
330 查看
假设你的allegro包解压在c:\allegro下,如在其他目录下,请做相应修改
For any project you create that uses Allegro 5, you must tell Visual C++ to link your project with the Allegro 5 library.
Right click your project under Solution Explorer on the right. Select Properties.
Under Configuration Properties->C/C++->General, enter c:\allegro\include in Additional Include Directories.
Under Configuration Properties->Linker->General, enter c:\allegro\lib in Additional Library Directories.
Under Configuration Properties->Linker->Input, append allegro-5.0.4-monolith-md-debug.lib to Additional Dependencies.
Under Configuration Properties->Debugging, enter PATH=c:\allegro\bin;%PATH% in Environment.
Click Apply.
Visual C++ can now link your project with the Allegro 5 library.
You should now select the "Release" configuration (upper left corner) and repeat the steps with one minor change: use the non-debug library allegro-5.0.4-monolith-md.lib.
转自allegro 5 wiki
For any project you create that uses Allegro 5, you must tell Visual C++ to link your project with the Allegro 5 library.
Right click your project under Solution Explorer on the right. Select Properties.
Under Configuration Properties->C/C++->General, enter c:\allegro\include in Additional Include Directories.
Under Configuration Properties->Linker->General, enter c:\allegro\lib in Additional Library Directories.
Under Configuration Properties->Linker->Input, append allegro-5.0.4-monolith-md-debug.lib to Additional Dependencies.
Under Configuration Properties->Debugging, enter PATH=c:\allegro\bin;%PATH% in Environment.
Click Apply.
Visual C++ can now link your project with the Allegro 5 library.
You should now select the "Release" configuration (upper left corner) and repeat the steps with one minor change: use the non-debug library allegro-5.0.4-monolith-md.lib.
转自allegro 5 wiki
相关文章推荐
- visual studio 2010单元测试--代码覆盖率配置(code coverage)
- Visual Studio 2015 使用WinpPacap进行项目配置
- visual studio添加对项目的多版本sln配置
- Visual Studio 2010 中CUDA 4.0的安装与配置
- Visual Studio 2010中添加项目模板
- Visual Studio 2010 中CUDA 4.0的安装与配置
- Visual Studio 2010下OpenCv 安装与配置
- vs2010项目属性配置
- visual studio 2010 无法建立c++项目 的解决方案
- Visual Studio 2010 中CUDA 4.0的安装与配置
- Visual Studio 2010中C++项目升级指南
- OpenCV环境配置Visual Studio 2010、2012、2013、2015
- Visual Studio 2010下配置PC-Lint 9.0i
- windows + visual studio 2010 配置SVN
- visual studio 2010 中VC++自定义项目模板
- Visual Studio 2010安装后出现“未能初始化‘新建项目’”错误
- 【转】Visual Studio 2010下配置PC-Lint 9.0i
- note:全局配置visual studio 2010 头文件目录
- CMake构建Visual Studio中MFC项目的MFC配置问题
- Visual studio加载项目时报错 尚未配置为Web项目XXXX指定的本地IIS,需要配置虚拟目录。解决办法。