[SFML] Problem z instalacją
Ostatnio zmodyfikowano 2012-03-02 17:18
Darh Temat założony przez niniejszego użytkownika |
» 2012-03-01 20:39:01 Zrobiłem to na początku zgodnie z tutorialem i nie działa Mam jeszcze jedno pytanie: Jaki typ projektu powinienem wybrać przy jego tworzeniu? Console Application? |
|
pekfos |
» 2012-03-01 20:40:11 Jaki typ projektu powinienem wybrać przy jego tworzeniu? Console Application? |
Bez znaczenia, ale jak wybierzesz GUI App to nie będzie konsoli. To podaj aktutalny log. |
|
Darh Temat założony przez niniejszego użytkownika |
» 2012-03-01 20:46:11 Spróbowałem stworzyć nowy projekt i pokazuje mi teraz takie błędy: c:\documents and settings\marek\pulpit\programowanie\test\test\test.cpp(1) : warning C4627: '#include <SFML/Window.hpp>': skipped when looking for precompiled header use Add directive to 'stdafx.h' or rebuild precompiled header c:\documents and settings\marek\pulpit\programowanie\test\test\test.cpp(14) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? |
|
pekfos |
» 2012-03-01 20:47:40 |
|
Darh Temat założony przez niniejszego użytkownika |
» 2012-03-01 20:49:52 Chyba nie pomogło :/ c:\documents and settings\marek\pulpit\programowanie\test\test\test.cpp(1) : warning C4627: '#include <SFML/Window.hpp>': skipped when looking for precompiled header use Add directive to 'stdafx.h' or rebuild precompiled header c:\documents and settings\marek\pulpit\programowanie\test\test\test.cpp(7) : error C2653: 'sf' : is not a class or namespace name c:\documents and settings\marek\pulpit\programowanie\test\test\test.cpp(7) : error C2065: 'Window' : undeclared identifier c:\documents and settings\marek\pulpit\programowanie\test\test\test.cpp(7) : error C2146: syntax error : missing ';' before identifier 'oknoAplikacji' c:\documents and settings\marek\pulpit\programowanie\test\test\test.cpp(7) : error C2653: 'sf' : is not a class or namespace name c:\documents and settings\marek\pulpit\programowanie\test\test\test.cpp(7) : error C3861: 'oknoAplikacji': identifier not found c:\documents and settings\marek\pulpit\programowanie\test\test\test.cpp(7) : error C3861: 'VideoMode': identifier not found c:\documents and settings\marek\pulpit\programowanie\test\test\test.cpp(8) : error C2065: 'oknoAplikacji' : undeclared identifier c:\documents and settings\marek\pulpit\programowanie\test\test\test.cpp(8) : error C2228: left of '.IsOpened' must have class/struct/union type is ''unknown-type'' c:\documents and settings\marek\pulpit\programowanie\test\test\test.cpp(8) : fatal error C1903: unable to recover from previous error(s); stopping compilation |
|
Darh Temat założony przez niniejszego użytkownika |
» 2012-03-02 14:04:45 dodałem #include <stdafx.h> i teraz pokazuje taki błąd : Linking... sfml-system.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x2B8 |
|
DejaVu |
» 2012-03-02 15:54:46 1. Dostałeś odpowiedź na pytanie, które zadajesz ponownie
2. Skoro nie masz plików *.lib to znaczy, że pobrałeś wersję SFML dla kompilatora GCC. |
|
Darh Temat założony przez niniejszego użytkownika |
» 2012-03-02 17:18:49 Ściągnąłem tym razem na 100% dobre pliki, wrzuciłem wszystkie pliki *.lib do VC\lib i wyświetla taki błąd : LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib' |
|
1 « 2 » |