问题
I have installed allegro 5.0.8 version on visual c++2010 express . But now when I run the code it doesn't give any syntax errors but after opening the console a window opens which reports that I don't have MSVCR110d.dll file . What it means ? How can I fix it ?
回答1:
I means you should copy a MSVCR110d.dll
to windows/system32 or beside your project. If you don't have that file, you can find it on Internet, there are many site which have dll files to download.
The letter d after name means this .dll will work with the debug mode compiled code. If you just have MSVCR110.dll
(without d), try to compile your code in release mode.
回答2:
Try installing the Microsoft C++ Redistributable package for both 32 and 64 bit
32: http://www.microsoft.com/en-us/download/details.aspx?id=5555 64: http://www.microsoft.com/en-us/download/details.aspx?id=14632
来源:https://stackoverflow.com/questions/16741801/allegro-library-missing-dll