Problem in using add-ons

I'm using Visual Studio 2015. If i'm using plain code without add-ons, it works fine, but when i try to use any add-on, i get this error:

Code: LNK2019 Error: unresolved external symbol __imp__al_init_ttf_addon referenced in function _main

What's wrong&


You need to link the add-on library files to your project.


If you're using the Nuget package, you need to enable it in the Allegro options (in the project options).

Thread #616936. Printed from