Форум программистов, компьютерный форум CyberForum.ru

Точка входа в процедуру __gxx_personality_v0 не найдена - C++

Войти
Регистрация
Восстановить пароль
Другие темы раздела
C++ Консоль как главное окно! http://www.cyberforum.ru/cpp-beginners/thread1114290.html
#include <stdio.h> #include <locale.h> #include <string> #include <conio.h> #include <windows.h> #include <iostream> using namespace std;
C++ Сделать из одной программы процедуру и головную Мной написана программа, которая меняет местами указанные строки в массиве. Но необходимо, чтобы это была процедура с параметрами int Func( int * Array, int Dim1, int Dim2, ...). с соответствующим обращением в головной программе. В моем случае возникает сложность, т.к к элементу напрямую я обратиться уже не могу (a) , в таком случае процедура не заработала бы. Так как должна... http://www.cyberforum.ru/cpp-beginners/thread1114285.html
C++ Откуда берутся странные числа?
Добрый вечер! Не можете подсказать, почему такие значения Z??? А не 1, 2, 3, 4??? Программа работает правильно, как вроде. #include <iostream> #include <stdio.h> #include <string> #include <ctime> using namespace std; int main () { setlocale(LC_ALL, "Russian"); #pragma warning(disable : 4996);
C++ Магия при компиляции больших проектов
Приветствую товарищи. Пишу(сал) большой проект разбитый на несколько библиотек, консолей, windows приложений и т.к. И недавно с ним стала происходить какая-то магия. Всё началось с того, что нужно было добавить функцию GetText в Core-библиотеку и началась полная белеберда. Появилось сообщения об ошибке, компилятор не может найти тип std::wostringstream. Хотя в ниже стоящей функции - всё...
C++ Несколько virtual классов http://www.cyberforum.ru/cpp-beginners/thread1114268.html
Доброго времени суток Возможно ли создать такую иерархию классов? Т.е. класс Deriv1 имеет только один экземпляр класса Base, аналогично с классом Deriv2. Нужно, чтобы класс Derived при этом имел два экземпляра (один в части Deriv1, и один в части Deriv2), но если сделать так #include <iostream> struct Base{};
C++ Подсчитать вершины, из которых выходит нечетное количество ребер Создал граф, записал в список вершины и рёбра, потом в программе вывел матрицу смежности, помогите пожалуйста подсчитать вершины, из которых выходит нечетное количество ребер. #include "stdafx.h" #include <fstream> #include <iostream> using namespace std; int _tmain(int argc, _TCHAR* argv) { подробнее

Показать сообщение отдельно
anubis1768
4 / 4 / 0
Регистрация: 23.02.2013
Сообщений: 151
09.03.2014, 15:49  [ТС]     Точка входа в процедуру __gxx_personality_v0 не найдена
DrOffset, да там пишет multiple definition и std::string методы и сам класс. Судя по описанию ошибок, оно еще где то цепляет динамическую libstdc++, поэтому происходит конфликт. Но блин, я же все проверил, должно все статически линковать. Вот текст ошибок:
Кликните здесь для просмотра всего текста
Код
-------------- Build: Debug in TGUI_test (compiler: GNU GCC Compiler)---------------

mingw32-g++.exe -L..\..\SFML-2.1\lib -L..\..\..\TGUI\lib\TGUI  -o bin\Debug\TGUI_test.exe obj\Debug\main.o   -ltgui-s -lstdc++ -s  -lmingw32 -luser32 -lgdi32 -lwinmm -ldxguid -lsfml-graphics-s -lsfml-window-s -lsfml-system-s 
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(fstream-inst.o):fstream-inst.cc:(.text$_ZNSt13basic_filebufIcSt11char_traitsIcEEC1Ev[__ZNSt13basic_filebufIcSt11char_traitsIcEEC1Ev]+0x0): multiple definition of `std::basic_filebuf<char, std::char_traits<char> >::basic_filebuf()'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001647.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(fstream-inst.o):fstream-inst.cc:(.text$_ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv[__ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv]+0x0): multiple definition of `std::basic_filebuf<char, std::char_traits<char> >::close()'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001635.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(fstream-inst.o):fstream-inst.cc:(.text$_ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode[__ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode]+0x0): multiple definition of `std::basic_filebuf<char, std::char_traits<char> >::open(char const*, std::_Ios_Openmode)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001632.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(fstream-inst.o):fstream-inst.cc:(.text$_ZNSt13basic_filebufIcSt11char_traitsIcEED1Ev[__ZNSt13basic_filebufIcSt11char_traitsIcEED1Ev]+0x0): multiple definition of `std::basic_filebuf<char, std::char_traits<char> >::~basic_filebuf()'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001650.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(fstream-inst.o):fstream-inst.cc:(.text$_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev[__ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev]+0x0): multiple definition of `std::basic_ifstream<char, std::char_traits<char> >::~basic_ifstream()'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001822.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(fstream-inst.o):fstream-inst.cc:(.text$_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev[__ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev]+0x0): multiple definition of `std::basic_ofstream<char, std::char_traits<char> >::~basic_ofstream()'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001855.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(fstream-inst.o):fstream-inst.cc:(.text$_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev[__ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev]+0x0): multiple definition of `std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream()'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001817.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(fstream-inst.o):fstream-inst.cc:(.text$_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKSsSt13_Ios_Openmode[__ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKSsSt13_Ios_Openmode]+0x0): multiple definition of `std::basic_ifstream<char, std::char_traits<char> >::basic_ifstream(std::string const&, std::_Ios_Openmode)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001816.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(fstream-inst.o):fstream-inst.cc:(.text$_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1ERKSsSt13_Ios_Openmode[__ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1ERKSsSt13_Ios_Openmode]+0x0): multiple definition of `std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream(std::string const&, std::_Ios_Openmode)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001849.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(streambuf-inst.o):streambuf-inst.cc:(.text$_ZNSt15basic_streambufIcSt11char_traitsIcEED2Ev[__ZNSt15basic_streambufIcSt11char_traitsIcEED2Ev]+0x0): multiple definition of `std::basic_streambuf<char, std::char_traits<char> >::~basic_streambuf()'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d002362.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(ios-inst.o):ios-inst.cc:(.text$_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate[__ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate]+0x0): multiple definition of `std::basic_ios<char, std::char_traits<char> >::clear(std::_Ios_Iostate)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d002961.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(ios-inst.o):ios-inst.cc:(.text$_ZNSt9basic_iosIcSt11char_traitsIcEED2Ev[__ZNSt9basic_iosIcSt11char_traitsIcEED2Ev]+0x0): multiple definition of `std::basic_ios<char, std::char_traits<char> >::~basic_ios()'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d002972.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(ios-inst.o):ios-inst.cc:(.text$_ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15basic_streambufIcS1_E[__ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15basic_streambufIcS1_E]+0x0): multiple definition of `std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d002960.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(sstream-inst.o):sstream-inst.cc:(.text$_ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev[__ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev]+0x0): multiple definition of `std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d002604.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(sstream-inst.o):sstream-inst.cc:(.text$_ZNKSt15basic_stringbufIcSt11char_traitsIcESaIcEE3strEv[__ZNKSt15basic_stringbufIcSt11char_traitsIcESaIcEE3strEv]+0x0): multiple definition of `std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d000677.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(sstream-inst.o):sstream-inst.cc:(.text$_ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC1ESt13_Ios_Openmode[__ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC1ESt13_Ios_Openmode]+0x0): multiple definition of `std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d002600.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSsD1Ev[__ZNSsD1Ev]+0x0): multiple definition of `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001374.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs4swapERSs[__ZNSs4swapERSs]+0x0): multiple definition of `std::string::swap(std::string&)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001294.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNKSs4findEcj[__ZNKSs4findEcj]+0x0): multiple definition of `std::string::find(char, unsigned int) const'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d000501.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNKSs5rfindEcj[__ZNKSs5rfindEcj]+0x0): multiple definition of `std::string::rfind(char, unsigned int) const'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d000512.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNKSs12find_last_ofEPKcjj[__ZNKSs12find_last_ofEPKcjj]+0x0): multiple definition of `std::string::find_last_of(char const*, unsigned int, unsigned int) const'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d000473.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNKSs7compareEPKc[__ZNKSs7compareEPKc]+0x0): multiple definition of `std::string::compare(char const*) const'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d000520.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs4_Rep9_S_createEjjRKSaIcE[__ZNSs4_Rep9_S_createEjjRKSaIcE]+0x0): multiple definition of `std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001290.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs12_S_constructEjcRKSaIcE[__ZNSs12_S_constructEjcRKSaIcE]+0x0): multiple definition of `std::string::_S_construct(unsigned int, char, std::allocator<char> const&)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001262.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSsC1Ev[__ZNSsC1Ev]+0x0): multiple definition of `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001357.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs9_M_mutateEjjj[__ZNSs9_M_mutateEjjj]+0x0): multiple definition of `std::string::_M_mutate(unsigned int, unsigned int, unsigned int)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001346.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs6assignEPKcj[__ZNSs6assignEPKcj]+0x0): multiple definition of `std::string::assign(char const*, unsigned int)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001309.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSsaSEPKc[__ZNSsaSEPKc]+0x0): multiple definition of `std::string::operator=(char const*)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001377.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs14_M_replace_auxEjjjc[__ZNSs14_M_replace_auxEjjjc]+0x0): multiple definition of `std::string::_M_replace_aux(unsigned int, unsigned int, unsigned int, char)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001272.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs5eraseEN9__gnu_cxx17__normal_iteratorIPcSsEES2_[__ZNSs5eraseEN9__gnu_cxx17__normal_iteratorIPcSsEES2_]+0x0): multiple definition of `std::string::erase(__gnu_cxx::__normal_iterator<char*, std::string>, __gnu_cxx::__normal_iterator<char*, std::string>)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001298.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs5eraseEjj[__ZNSs5eraseEjj]+0x0): multiple definition of `std::string::erase(unsigned int, unsigned int)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001299.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs6insertEjPKcj[__ZNSs6insertEjPKcj]+0x0): multiple definition of `std::string::insert(unsigned int, char const*, unsigned int)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001318.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs12_M_leak_hardEv[__ZNSs12_M_leak_hardEv]+0x0): multiple definition of `std::string::_M_leak_hard()'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001261.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs7_M_leakEv[__ZNSs7_M_leakEv]+0x0): multiple definition of `std::string::_M_leak()'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001327.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs4_Rep10_M_destroyERKSaIcE[__ZNSs4_Rep10_M_destroyERKSaIcE]+0x0): multiple definition of `std::string::_Rep::_M_destroy(std::allocator<char> const&)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001277.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs7reserveEj[__ZNSs7reserveEj]+0x0): multiple definition of `std::string::reserve(unsigned int)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001343.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs6appendEjc[__ZNSs6appendEjc]+0x0): multiple definition of `std::string::append(unsigned int, char)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001306.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs6appendEPKcj[__ZNSs6appendEPKcj]+0x0): multiple definition of `std::string::append(char const*, unsigned int)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001302.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs6appendERKSs[__ZNSs6appendERKSs]+0x0): multiple definition of `std::string::append(std::string const&)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001303.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSspLERKSs[__ZNSspLERKSs]+0x0): multiple definition of `std::string::operator+=(std::string const&)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001383.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSsC1ERKSs[__ZNSsC1ERKSs]+0x0): multiple definition of `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001352.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs6assignERKSs[__ZNSs6assignERKSs]+0x0): multiple definition of `std::string::assign(std::string const&)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001310.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSsaSERKSs[__ZNSsaSERKSs]+0x0): multiple definition of `std::string::operator=(std::string const&)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001378.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSsC1ERKSsjj[__ZNSsC1ERKSsjj]+0x0): multiple definition of `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned int, unsigned int)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001353.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNKSs6substrEjj[__ZNKSs6substrEjj]+0x0): multiple definition of `std::string::substr(unsigned int, unsigned int) const'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d000517.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSsC1EPKcRKSaIcE[__ZNSsC1EPKcRKSaIcE]+0x0): multiple definition of `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001349.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(string-inst.o):string-inst.cc:(.text$_ZNSs7replaceEjjPKcj[__ZNSs7replaceEjjPKcj]+0x0): multiple definition of `std::string::replace(unsigned int, unsigned int, char const*, unsigned int)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001339.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(wstring-inst.o):wstring-inst.cc:(.text$_ZNSbIwSt11char_traitsIwESaIwEED1Ev[__ZNSbIwSt11char_traitsIwESaIwEED1Ev]+0x0): multiple definition of `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001139.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(wstring-inst.o):wstring-inst.cc:(.text$_ZNSbIwSt11char_traitsIwESaIwEE4_Rep10_M_destroyERKS1_[__ZNSbIwSt11char_traitsIwESaIwEE4_Rep10_M_destroyERKS1_]+0x0): multiple definition of `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_destroy(std::allocator<wchar_t> const&)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001042.o):(.text+0x0): first defined here
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1\libstdc++.a(wstring-inst.o):wstring-inst.cc:(.text$_ZNSbIwSt11char_traitsIwESaIwEEC1ERKS2_jj[__ZNSbIwSt11char_traitsIwESaIwEEC1ERKS2_jj]+0x0): multiple definition of `std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned int, unsigned int)'
d:/programing/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/libstdc++.dll.a(d001118.o):(.text+0x0): first defined here
Process terminated with status 1 (0 minutes, 4 seconds)
50 errors, 0 warnings (0 minutes, 4 seconds)

Вот все ключи, которые я использую для линковки:
Кликните здесь для просмотра всего текста
Код
mingw32
user32
gdi32
winmm
dxguid
sfml-graphics-s
sfml-window-s
sfml-system-s
tgui-s
-lstdc++
 
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Рейтинг@Mail.ru