我遇到了与无法在 MSVC 2012 中构建 Allegro 5 解决方案相同的问题,但我的项目是 x64 并且我有 Win8 x64 专业版。当我转向 Win32 时,一切都很好。但是当转向 x64 我有这个:
1>------ Build started: Project: test_allegro, Configuration: Debug x64 ------
1>main.obj : error LNK2019: unresolved external symbol al_install_system referenced in function main
1>main.obj : error LNK2019: unresolved external symbol al_rest referenced in function main
1>main.obj : error LNK2019: unresolved external symbol al_map_rgb referenced in function main
1>main.obj : error LNK2019: unresolved external symbol al_create_display referenced in function main
1>main.obj : error LNK2019: unresolved external symbol al_destroy_display referenced in function main
1>main.obj : error LNK2019: unresolved external symbol al_flip_display referenced in function main
1>main.obj : error LNK2019: unresolved external symbol al_clear_to_color referenced in function main
1>D:\Biblioteki\Dropbox\studia\przedmioty\sem_3\aisdi\laboratorium\test_allegro\x64\Debug\test_allegro.exe : fatal error LNK1120: 7 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
有任何想法吗?我的项目必须是 x64 ...