Panel użytkownika
Nazwa użytkownika:
Hasło:
Nie masz jeszcze konta?

Instalacja Allegro do Code::Blocks

Ostatnio zmodyfikowano 2013-11-05 19:48
Autor Wiadomość
maciek3540
Temat założony przez niniejszego użytkownika
Instalacja Allegro do Code::Blocks
» 2013-10-27 09:02:26
Witam ! :)

Mam problemy z instalacją Allegro 4.2.2 w Code::Blocks. Zrobiłem wszystko wg instrukcji - ściągnąłem pliki ze strony podanej w tym serwisie ( http://en.sourceforge.jp​/projects/sfnet_alleg/downloads​/allegro-bin/4.2.2​/allegro-mingw-4.2.2.zip/ ).

Po ściągnięciu i rozpakowaniu wszedłem w plik 'info.txt' i tam było napisane :
Installation Instructions
-------------------------
1) Copy DLL files from bin to your Windows/System32 folder.
2) Copy the contents of the include folder to your MinGW/include folder.
3) Copy the contents of the lib folder to your MinGW/lib folder.
Wszystko zrobiłem, a po napisaniu kodu z piewszej lekcji Allegro ("Odpalamy Allegro"):
C/C++
#include <allegro.h>
int main()
{
    allegro_init();
    allegro_exit();
    return 0;
}
END_OF_MAIN();
i skompilowaniu wyrzuciło mi błędy :
undefined reference to `_install_allegro_version_check'|
undefined reference to `allegro_exit'|
undefined reference to `_WinMain'|
||=== Build finished: 3 errors, 0 warnings (0 minutes, 7 seconds) ===|
P-94642
Gabes
» 2013-10-27 10:03:31
P-94645
DejaVu
» 2013-11-05 19:48:38
dodam jeszcze:
Frazy, które należy wpisać w wyszukiwarkę google:
P-95389
« 1 »
  Strona 1 z 1