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

nie znaleziono libstdc++-6.dll

Ostatnio zmodyfikowano 2018-10-06 21:09
Autor Wiadomość
pekfos
» 2018-09-27 20:02:28
Te opcje linkera które podałem służą do linkowania bibliotek, więc teraz dodajesz je po 2 razy. Wywal to co masz w "Link libraries" i zostaw tylko te opcje.

Jak z tym zrobisz porządek to do Debug i Release, dodaj na koniec te opcje:
-lopengl32
-lfreetype
-ljpeg
-lgdi32
-lwinmm
P-172469
ziomek_680
Temat założony przez niniejszego użytkownika
» 2018-09-28 06:03:00
Te opcje maja byc w other linker settings zaraz po tych wczesniejszych tak?
A co z linkowaniem plikow lib?
P-172473
pekfos
» 2018-09-28 15:11:37
Opcja linkera -lXYZ oznacza dołączenie pliku biblioteki libXYZ.a. Albo linkuj biblioteki przez link libraries, albo przez other linker options. Nie jedno i drugie.
P-172474
ziomek_680
Temat założony przez niniejszego użytkownika
» 2018-09-28 16:37:28
-------------- Build: Debug in testSFML (compiler: GNU GCC Compiler)---------------

mingw32-g++.exe -LC:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib -o bin\Debug\testSFML.exe obj\Debug\testSFML.o  -lsfml-graphics-s-d -lsfml-window-s-d -lsfml-system-s-d -lopengl32 -lfreetype -ljpeg -lgdi32 -lwinmm 
C:/Program Files (x86)/CodeBlocks/MinGW/bin/../lib/gcc/mingw32/4.9.2/../../../../mingw32/bin/ld.exe: cannot find -ljpeg
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))
 
P-172475
pekfos
» 2018-09-28 16:46:51
A tak, usuń -ljpeg. Od SFML w wersji 2.5 ta biblioteka nie jest już wymagana.
P-172476
ziomek_680
Temat założony przez niniejszego użytkownika
» 2018-09-28 16:48:47
-------------- Build: Debug in testSFML (compiler: GNU GCC Compiler)---------------

mingw32-g++.exe -LC:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib -o bin\Debug\testSFML.exe obj\Debug\testSFML.o  -lsfml-graphics-s-d -lsfml-window-s-d -lsfml-system-s-d -lopengl32 -lfreetype -lgdi32 -lwinmm 
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(GLCheck.cpp.obj): In function `ZN2sf4priv12glCheckErrorEPKcjS2_':
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:45: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:46: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:47: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:54: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(char const*)'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:55: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(char const*)'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:61: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(char const*)'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:62: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(char const*)'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:68: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(char const*)'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(GLCheck.cpp.obj):D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:69: more undefined references to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(char const*)' follow
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(GLCheck.cpp.obj): In function `ZN2sf4priv12glCheckErrorEPKcjS2_':
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:104: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_of(char const*, unsigned int) const'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:104: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::substr(unsigned int, unsigned int) const'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:104: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:106: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:106: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:104: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:47: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:46: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:45: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:104: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(GLCheck.cpp.obj):D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/GLCheck.cpp:47: more undefined references to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()' follow
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj): In function `getFileContents':
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:84: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj): In function `ZN2sf6Shader12loadFromFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_4TypeE':
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:249: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj): In function `ZN2sf6Shader12loadFromFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_':
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:270: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:278: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj): In function `ZN2sf6Shader12loadFromFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_S8_':
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:294: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:302: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj):D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:310: more undefined references to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' follow
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj): In function `ZN2sf6Shader14loadFromMemoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS0_4TypeE':
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:324: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:326: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:328: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj): In function `ZN2sf6Shader14loadFromMemoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_':
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:336: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:336: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj):D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:344: more undefined references to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const' follow
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj): In function `ZN2sf6Shader10setUniformERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_7TextureE':
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:562: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj): In function `ZN2sf6Shader18getUniformLocationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE':
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:1002: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:1003: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:1003: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:1006: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/Shader.cpp:1003: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj): In function `ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiED1Ev':
C:/Dev/MinGW32-TDM510/lib/gcc/mingw32/5.1.0/include/c++/bits/stl_pair.h:96: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj): In function `ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiED1Ev':
C:/Dev/MinGW32-TDM510/lib/gcc/mingw32/5.1.0/include/c++/bits/stl_pair.h:96: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj): In function `ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEC1IS5_iEERKS_IT_T0_E':
C:/Dev/MinGW32-TDM510/lib/gcc/mingw32/5.1.0/include/c++/bits/stl_pair.h:119: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj): In function `ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEC1ERKS5_RKi':
C:/Dev/MinGW32-TDM510/lib/gcc/mingw32/5.1.0/include/c++/bits/stl_pair.h:113: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj): In function `ZStltIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESA_':
C:/Dev/MinGW32-TDM510/lib/gcc/mingw32/5.1.0/include/c++/bits/basic_string.h:4984: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(Shader.cpp.obj): In function `ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiEC1ERKS7_':
C:/Dev/MinGW32-TDM510/lib/gcc/mingw32/5.1.0/include/c++/bits/stl_pair.h:96: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(ImageLoader.cpp.obj): In function `toLower':
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/ImageLoader.cpp:43: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::begin()'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/ImageLoader.cpp:43: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::end()'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/ImageLoader.cpp:45: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
C:\Users\Mizioł\Desktop\Ziemko\C++\biblioteki\SFML-2.5.0\lib/libsfml-graphics-s-d.a(ImageLoader.cpp.obj): In function `ZN2sf4priv11ImageLoader17loadImageFromFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIhSaIhEERNS_7Vector2IjEE':
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/ImageLoader.cpp:104: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const'
D:/Programming/C++/Releases/_Sources/SFML/src/SFML/Graphics/ImageLoader.cpp:127: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
Process terminated with status 1 (0 minute(s), 2 second(s))
50 error(s), 0 warning(s) (0 minute(s), 2 second(s))
P-172477
pekfos
» 2018-09-28 16:51:00
Masz SFML z paczki "GCC 5.1.0 TDM (SJLJ) - Code::Blocks - 32-bit"?
http://sfml-dev.org/download​/sfml/2.5.0/
P-172478
ziomek_680
Temat założony przez niniejszego użytkownika
» 2018-09-28 16:52:36
Tak
P-172479
1 2 3 4 5 6 « 7 » 8 9 10 11
Poprzednia strona Strona 7 z 11 Następna strona