Chodzi mi o biblioteke '#include <allegro5/allegro_ttf.h>'. Jeśli chce wykonać:
if(!al_init_ttf_addon())
return false;
wyskakuje błąd:
Assertion failed: vec->_itemsize > 0, file d:\Libraries\build\allegro\src\allegro-git\allegro-git\src\misc\vector.c, line 174
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Process returned 3 (0x3) execution time : 2.108 s
Press any key to continue.
Bład wyskakuje w konsoli.
Ktoś miał jakieś podobne problemy? Mam ściągnięte 2 czcionki i nie mogę z nich korzystać a potrzebuje większego tekstu w programie. Prosiłbym o pomoc bo walcze z tym już trzeci dzień. Co ciekawe mam snake napisanego i tam wyskakuje ten blad w okienku i moge dac ignoruj a tu niestety gra sie nie uruchamia.
if(!al_init_ttf_addon())
return false;
wyskakuje błąd:
Assertion failed: vec->_itemsize > 0, file d:\Libraries\build\allegro\src\allegro-git\allegro-git\src\misc\vector.c, line 174
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Process returned 3 (0x3) execution time : 2.108 s
Press any key to continue.
Bład wyskakuje w konsoli.
Ktoś miał jakieś podobne problemy? Mam ściągnięte 2 czcionki i nie mogę z nich korzystać a potrzebuje większego tekstu w programie. Prosiłbym o pomoc bo walcze z tym już trzeci dzień. Co ciekawe mam snake napisanego i tam wyskakuje ten blad w okienku i moge dac ignoruj a tu niestety gra sie nie uruchamia.