Код: Выделить всё
// g++ -I "C:\msys64\mingw64\include\" test.cpp -o test.exe -g -lallegro -lallegro_primitives
#include
#include
#include
int main(int argc, char* argv[])
{
al_init();
ALLEGRO_DISPLAY* d = al_create_display(256, 256);
if (d == NULL)
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78477915/segmentation-fault-in-al-draw-filled-rectangle[/url]
Мобильная версия