Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » Problem in using add-ons

This thread is locked; no one can reply to it. rss feed Print
Problem in using add-ons
Bisspector
Member #16,683
June 2017

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&

DanielH
Member #934
January 2001
avatar

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

SiegeLord
Member #7,827
October 2006
avatar

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

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Go to: