Ir para conteúdo
  • 0

[Resolvido] [Otclient] Compilação Falha


LeoTK

Pergunta

Fala galera eu tentei compilar o meu otclient usando o cmake/codeblocs e mingw ocorreu tudo certo até a hora de compilar o projeto no code blocks esta dando um erro eu refiz o processo várias e várias vezes alterando diversas coisas e nada sempre da o mesmo erro e não consegui descobrir o que está errado então venho até você pedir uma ajuda 

 

o erro é esse

Spoiler

||=== Build: all in otclient (compiler: GNU GCC Compiler) ===|
C:\OTClient\src\client\thingtype.cpp||In member function 'void ThingType::unserialize(uint16, ThingCategory, const FileStreamPtr&)':|
C:\OTClient\src\client\thingtype.cpp|282|warning: variable 'frameGroup' set but not used [-Wunused-but-set-variable]|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_system-mt.a(error_code.o)||duplicate section `.rdata$_ZTVN5boost6system14error_categoryE[__ZTVN5boost6system14error_categoryE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost6system14error_categoryE[__ZTVN5boost6system14error_categoryE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost6system12system_errorE[__ZTVN5boost6system12system_errorE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost16thread_exceptionE[__ZTVN5boost16thread_exceptionE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost21thread_resource_errorE[__ZTVN5boost21thread_resource_errorE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost6detail16thread_data_baseE[__ZTVN5boost6detail16thread_data_baseE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEEE[__ZTVN5boost16exception_detail19error_info_injectorINS_21thread_resource_errorEEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_21thread_resource_errorEEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_21thread_resource_errorEEEEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail19error_info_injectorINS_9gregorian16bad_day_of_monthEEE[__ZTVN5boost16exception_detail19error_info_injectorINS_9gregorian16bad_day_of_monthEEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost9gregorian16bad_day_of_monthE[__ZTVN5boost9gregorian16bad_day_of_monthE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian16bad_day_of_monthEEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian16bad_day_of_monthEEEEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost9gregorian8bad_yearE[__ZTVN5boost9gregorian8bad_yearE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail19error_info_injectorINS_9gregorian8bad_yearEEE[__ZTVN5boost16exception_detail19error_info_injectorINS_9gregorian8bad_yearEEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian8bad_yearEEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian8bad_yearEEEEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost9gregorian9bad_monthE[__ZTVN5boost9gregorian9bad_monthE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail19error_info_injectorINS_9gregorian9bad_monthEEE[__ZTVN5boost16exception_detail19error_info_injectorINS_9gregorian9bad_monthEEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian9bad_monthEEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_9gregorian9bad_monthEEEEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail19error_info_injectorISt13runtime_errorEE[__ZTVN5boost16exception_detail19error_info_injectorISt13runtime_errorEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail19error_info_injectorISt9bad_allocEE[__ZTVN5boost16exception_detail19error_info_injectorISt9bad_allocEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(thread.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorISt9bad_allocEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorISt9bad_allocEEEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(future.o)||duplicate section `.rdata$_ZTVN5boost6system14error_categoryE[__ZTVN5boost6system14error_categoryE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(future.o)||duplicate section `.rdata$_ZTVN5boost6system12system_errorE[__ZTVN5boost6system12system_errorE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(future.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail10bad_alloc_E[__ZTVN5boost16exception_detail10bad_alloc_E]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(future.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail14bad_exception_E[__ZTVN5boost16exception_detail14bad_exception_E]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(future.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_10bad_alloc_EEE[__ZTVN5boost16exception_detail10clone_implINS0_10bad_alloc_EEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(future.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_14bad_exception_EEE[__ZTVN5boost16exception_detail10clone_implINS0_14bad_exception_EEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(future.o)||duplicate section `.rdata$_ZTVN5boost6detail17sp_counted_impl_pINS_16exception_detail10clone_implINS2_14bad_exception_EEEEE[__ZTVN5boost6detail17sp_counted_impl_pINS_16exception_detail10clone_implINS2_14bad_exception_EEEEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_thread_win32-mt.a(future.o)||duplicate section `.rdata$_ZTVN5boost6detail17sp_counted_impl_pINS_16exception_detail10clone_implINS2_10bad_alloc_EEEEE[__ZTVN5boost6detail17sp_counted_impl_pINS_16exception_detail10clone_implINS2_10bad_alloc_EEEEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_filesystem-mt.a(operations.o)||duplicate section `.rdata$_ZTVN5boost6system14error_categoryE[__ZTVN5boost6system14error_categoryE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_filesystem-mt.a(operations.o)||duplicate section `.rdata$_ZTVN5boost6system12system_errorE[__ZTVN5boost6system12system_errorE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_filesystem-mt.a(operations.o)||duplicate section `.rdata$_ZTVN5boost6detail17sp_counted_impl_pINS_10filesystem6detail11dir_itr_impEEE[__ZTVN5boost6detail17sp_counted_impl_pINS_10filesystem6detail11dir_itr_impEEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_filesystem-mt.a(path.o)||duplicate section `.rdata$_ZTVN5boost6system14error_categoryE[__ZTVN5boost6system14error_categoryE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_filesystem-mt.a(path.o)||duplicate section `.rdata$_ZTVN5boost6system12system_errorE[__ZTVN5boost6system12system_errorE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_filesystem-mt.a(path_traits.o)||duplicate section `.rdata$_ZTVN5boost6system14error_categoryE[__ZTVN5boost6system14error_categoryE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_filesystem-mt.a(path_traits.o)||duplicate section `.rdata$_ZTVN5boost6system12system_errorE[__ZTVN5boost6system12system_errorE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_filesystem-mt.a(codecvt_error_category.o)||duplicate section `.rdata$_ZTVN5boost6system14error_categoryE[__ZTVN5boost6system14error_categoryE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_chrono-mt.a(chrono.o)||duplicate section `.rdata$_ZTVN5boost6system14error_categoryE[__ZTVN5boost6system14error_categoryE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_chrono-mt.a(chrono.o)||duplicate section `.rdata$_ZTVN5boost6system12system_errorE[__ZTVN5boost6system12system_errorE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_chrono-mt.a(chrono.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail19error_info_injectorINS_6system12system_errorEEE[__ZTVN5boost16exception_detail19error_info_injectorINS_6system12system_errorEEE]' has different size|
c:\mingw\bin\..\lib\gcc\mingw32\5.3.0\..\..\..\libboost_chrono-mt.a(chrono.o)||duplicate section `.rdata$_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE[__ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE]' has different size|
CMakeFiles\otclient.dir\objects.a(resourcemanager.cpp.obj)resourcemanager.cpp|| undefined reference to `boost::filesystem::path::generic_string[abi:cxx11](std::codecvt<wchar_t, char, int> const&) const'|
CMakeFiles\otclient.dir\objects.a(resourcemanager.cpp.obj)resourcemanager.cpp|| undefined reference to `boost::filesystem::path::generic_string[abi:cxx11](std::codecvt<wchar_t, char, int> const&) const'|
CMakeFiles\otclient.dir\objects.a(resourcemanager.cpp.obj)resourcemanager.cpp|| undefined reference to `boost::filesystem::path_traits::convert(char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::codecvt<wchar_t, char, int> const&)'|
CMakeFiles\otclient.dir\objects.a(resourcemanager.cpp.obj)resourcemanager.cpp|| undefined reference to `boost::filesystem::path::generic_string[abi:cxx11](std::codecvt<wchar_t, char, int> const&) const'|
CMakeFiles\otclient.dir\objects.a(resourcemanager.cpp.obj)resourcemanager.cpp|| undefined reference to `boost::filesystem::path_traits::convert(wchar_t const*, wchar_t const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::codecvt<wchar_t, char, int> const&)'|
CMakeFiles\otclient.dir\objects.a(resourcemanager.cpp.obj)resourcemanager.cpp|| undefined reference to `boost::filesystem::path_traits::convert(wchar_t const*, wchar_t const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::codecvt<wchar_t, char, int> const&)'|
CMakeFiles\otclient.dir\objects.a(resourcemanager.cpp.obj)resourcemanager.cpp|| undefined reference to `boost::filesystem::path_traits::convert(char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::codecvt<wchar_t, char, int> const&)'|
CMakeFiles\otclient.dir\objects.a(resourcemanager.cpp.obj)resourcemanager.cpp|| undefined reference to `boost::filesystem::path_traits::convert(char const*, char const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&, std::codecvt<wchar_t, char, int> const&)'|
||error: ld returned 1 exit status|
CMakeFiles\otclient.dir\build.make|3979|recipe for target 'otclient.exe' failed|
CMakeFiles\Makefile2|66|recipe for target 'CMakeFiles/otclient.dir/all' failed|
C:\Users\Davi\Desktop\Otclient\Makefile|126|recipe for target 'all' failed|
||=== Build failed: 12 error(s), 42 warning(s) (28 minute(s), 59 second(s)) ===|
 

se alguem puder me ajudar me falando o que pode estar acontecendo para dar esse erro ficarei grato bom é isso galera ficarei no aguardo

Link para o comentário
Compartilhar em outros sites

3 respostass a esta questão

Posts Recomendados

  • 0
Agora, Nogard disse:

sua variável PATH tá correta?

eu verifiquei umas 5 vezes mas eu consegui fazer a que eu tinha aqui já compilada funcionar ^^

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...