I have a problem with allegro that putting allegro-5.0.10-monolith-md-debug.dll
in linker input additional dependencies causes an exception, as can be seen in the screenshot.
I'm using visual stdio 2013 express.
I figured it out. It turns out i was installing and initializing addons before calling allegro_init()