I try to use this: https://github.com/allefant/algif5 but this doesn't work.
#include "algif.h"
char const* pathBoss1 = "boss1.gif";
ALGIF_ANIMATION *boss1Gif = NULL;
boss1Gif = algif_load_animation(pathBoss1);
// in a function:
al_draw_bitmap(algif_get_bitmap(bossGif, al_get_time()), boss.x, boss.y, 0);
It throws lots of bugs like this
Severity Code Description Project File Line Suppression State Error LNK2019 unresolved external symbol _algif_get_bitmap referenced in function "void __cdecl drawBoss(struct Boss &,struct ALGIF_ANIMATION *)" (?drawBoss@@YAXAAUBoss@@PAUALGIF_ANIMATION@@@Z) LearnAllegro C:\Users\User\source\repos\LearnAllegro\LearnAllegro\LearnAllegro.obj 1
As if the library was not found. (I put all the downloaded files into ProjectName>ProjectName as there are other .h files there)
What should I do?