[C++, Allegro] undefinded reference to '_install_allegro_version_check'
Ostatnio zmodyfikowano 2011-03-13 20:58
zolek8 Temat założony przez niniejszego użytkownika |
[C++, Allegro] undefinded reference to '_install_allegro_version_check' » 2011-03-12 22:56:29 Nauczyłem się podstaw C/C++. Mam C::B i zainstalowałem Allegro tak jak w kursie, ale gdy próbuje odpalić próbny kod to wyskakuje mi coś takiego:
undefinded reference to '_install_allegro_version_check'
undefinded reference to 'allegro_exit'
undefinded reference to '_WinMain'
Pomóżcie prosze... |
|
DejaVu |
» 2011-03-12 23:10:13 |
|
zolek8 Temat założony przez niniejszego użytkownika |
» 2011-03-13 19:41:09 No niby zrobione, ale teraz pokazalo sie takie cos.
Compiling: C:\Users\***\Documents\Allegro.cpp
Linking console executable: C:\Users\Bartuś kochany ()\Documents\Allegro.exe
c:/program files (x86)/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../libmingw32.a(main.o):main.c:(.text+0xd2): undefined reference to `WinMain@16'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 6 seconds)
1 errors, 0 warnings
[code/] |
|
DejaVu |
» 2011-03-13 20:05:46 Wejdź w opcje projektu i ustaw typ aplikacji z Console Application na GUI Application. |
|
zolek8 Temat założony przez niniejszego użytkownika |
» 2011-03-13 20:58:10 Problem rozwiązany :)
Jeszcze jedno pytanie nie z tematu.
Jak mam projekt gry to co zrobic zeby mozna bylo odpalic gre na innym komputerze?? |
|
« 1 » |