Having problem setting up allegro_native_dialog.h

  allegro5, c++

After installing allegro library on arch I found that allegro_native_dialog.h header file is not present. So I checked /usr/include/allegro5 folder and as expected it is not there.

So I searched on github and found the code and saved in a file called allegro_native_dialog.h in /usr/include/allegro5 folder. But while using it gives so many warnings which it shouldn’t. Also it seems g++ cannot recognize the -lallegro_dialog flag which is needed to link up and use this specific addon. What should I do?

Source: Windows Questions C++