将外部库将其纳入Visual Studio项目:添加Allegro
将Allegro添加到Visual Studio
确保您已经下载了Allegro库并在系统上确定了其位置。 It typically comes in a .dll format.
Project Properties Modification:
Right-click on the project in the Solution Explorer and select
Properties
.- Configuration Settings:
Navigate to - Configuration Properties and then 。在[的其他依赖文件很大文件。
dll管理:- 将Allegro .dll文件复制到您的主要项目文件夹中。 local Refersion Use(推荐):以增强portability,以增强portability,可为库和库中的本地参考使用本地参考和全局参考。此策略可确保该应用程序在其他计算机上的功能无需在这些系统上安装Allegro。这些说明量身定制为Visual Studio 2008。对于更近期的版本。对于更多的最新版本。