將外部庫將其納入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。對於更近期的版本。對於更多的最新版本。