SFML 2.0 - instalacja
Ostatnio zmodyfikowano 2014-05-07 06:50
include Temat założony przez niniejszego użytkownika |
SFML 2.0 - instalacja » 2014-05-06 21:18:37 Siemanko :) Jestem tu nowy na forum, ale serwis odwiedzam dość często ponieważ trapi mnie jeden problem, a mianowicie zainstalowałem SFML 2.0 64BIT (taki mam system) na IDE (Code::Blocks 10.05). Wszystko zrobiłem wg instrukcji i dalej nie działa :/ Pomoże ktoś ? Wiem, że chodzi o coś z linkerem. Może to jest powód http://zapodaj.net/45fad4e205bd7.png.html. ||=== Kurs SFML, Debug ===| obj\Debug\main.o||In function `main':| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|6|undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|6|undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|6|undefined reference to `_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|7|undefined reference to `_imp___ZN2sf5ClockC1Ev'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|6|undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|14|undefined reference to `_imp___ZN2sf6Window5closeEv'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|11|undefined reference to `_imp___ZN2sf6Window9pollEventERNS_5EventE'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|17|undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|17|undefined reference to `_imp___ZN2sf12RenderTarget5clearERKNS_5ColorE'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|19|undefined reference to `_imp___ZNK2sf5Clock14getElapsedTimeEv'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|19|undefined reference to `_imp___ZNK2sf4Time9asSecondsEv'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|19|undefined reference to `_imp___ZNK2sf12RenderWindow7getSizeEv'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|19|undefined reference to `_imp___ZNK2sf12RenderWindow7getSizeEv'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|19|undefined reference to `_imp___ZN2sf11CircleShapeC1Efj'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|20|undefined reference to `_imp___ZNK2sf11CircleShape9getRadiusEv'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|20|undefined reference to `_imp___ZNK2sf11CircleShape9getRadiusEv'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|20|undefined reference to `_imp___ZN2sf13Transformable9setOriginERKNS_7Vector2IfEE'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|21|undefined reference to `_imp___ZNK2sf12RenderWindow7getSizeEv'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|21|undefined reference to `_imp___ZNK2sf12RenderWindow7getSizeEv'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|21|undefined reference to `_imp___ZN2sf13Transformable11setPositionEff'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|22|undefined reference to `_imp___ZN2sf5Color6YellowE'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|22|undefined reference to `_imp___ZN2sf5Shape12setFillColorERKNS_5ColorE'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|23|undefined reference to `_imp___ZN2sf12RenderStates7DefaultE'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|23|undefined reference to `_imp___ZN2sf12RenderTarget4drawERKNS_8DrawableERKNS_12RenderStatesE'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|25|undefined reference to `_imp___ZN2sf6Window7displayEv'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|8|undefined reference to `_imp___ZNK2sf6Window6isOpenEv'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|27|undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'| C:\Users\Dawid\Desktop\C++\Kurs SFML\main.cpp|27|undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'| obj\Debug\main.o||In function `~CircleShape':| C:\Users\Dawid\Desktop\SFML-2.0\include\SFML\Graphics\CircleShape.hpp|42|undefined reference to `_imp___ZTVN2sf11CircleShapeE'| C:\Users\Dawid\Desktop\SFML-2.0\include\SFML\Graphics\CircleShape.hpp|42|undefined reference to `_imp___ZTVN2sf11CircleShapeE'| C:\Users\Dawid\Desktop\SFML-2.0\include\SFML\Graphics\CircleShape.hpp|42|undefined reference to `_imp___ZN2sf5ShapeD2Ev'| ||=== Build finished: 31 errors, 0 warnings ===|
|
|
Jacob99 |
» 2014-05-06 21:24:29 Kompilator masz zapewne pobrany razem z C::B, czyli 32-bitowy. Musisz ściągnąć SFML'a w wersji 32-bit. P.S. Wersja systemu nie ma nic do tego, tu ważna jest wersja kompilatora. A dll-ki musisz umieścić w <folder programu>\bin\Debug(lub Relase) |
|
include Temat założony przez niniejszego użytkownika |
» 2014-05-07 06:50:06 Aplikacja się skompilowała ale z uruchomieniem już trochę gorzej :/ Niestety wyskoczył mi komunikat o crash'u. LOG : Nazwa zdarzenia problemu: APPCRASH Nazwa aplikacji: Kurs SFML.exe Wersja aplikacji: 0.0.0.0 Sygnatura czasowa aplikacji: 5369b7a0 Nazwa modułu z błędem: sfml-system-d-2.dll Wersja modułu z błędem: 0.0.0.0 Sygnatura czasowa modułu z błędem: 51614904 Kod wyjątku: c0000005 Przesunięcie wyjątku: 0003eb6a Wersja systemu operacyjnego: 6.1.7600.2.0.0.768.3 Identyfikator ustawień regionalnych: 1045 Dodatkowe informacje 1: 0a9e Dodatkowe informacje 2: 0a9e372d3b4ad19135b953a78882e789 Dodatkowe informacje 3: 0a9e Dodatkowe informacje 4: 0a9e372d3b4ad19135b953a78882e789
Gdzie bym nie dał DLL ten sam komunikat o APPCRASH. Myślę, że chyba muszę zainstalować 64BIT wersję kompilatora bo to może jakiś konflikt między wersjami 32-64 :/ W każdym razie NIECH SIĘ WYPOWIE specjalista bo może głupoty piszę :) Wiecie może koledzy jak zainstalować 64 bitowy kompilator ? Bo ja sobie sam nie poradzę.. Jeśli są jakiejś linki do instrukcji krok po kroku (najlepiej po polsku) jak instalować kompilator x64 to proszę o nie. |
|
« 1 » |