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

[SFML] Problem z instalacją

Ostatnio zmodyfikowano 2012-03-02 17:18
Autor Wiadomość
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?
P-51714
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.
i nie działa
To podaj aktutalny log.
P-51715
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?
P-51717
pekfos
» 2012-03-01 20:47:40
Spróbuj dodać
C/C++
#include "stdafx.h"
P-51718
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
P-51719
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
P-51726
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.
P-51734
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'
P-51739
1 « 2 »
Poprzednia strona Strona 2 z 2