Postado Março 6, 2018 7 anos Olá pessoal, eu não consigo compilar nenhuma versão do OTClient, seja 0.6.3 a 0.6.6 no CodeBlocks, faço todas as partes dos tutoriais do GIT mas continuo tendo erros. Instalei as LIBS dwarf no Mingw, coloquei o PATH no windows com os "/bin" e tenho esse erro abaixo após começar a compilar o .EXE Já tentei com e sem o DirectX, pra ver se era isso, mas continua. Obrigado a quem puder ajudar! Citar [ 1%] Linking CXX executable otclient.exe "C:\Program Files\CMake\bin\cmake.exe" -E cmake_link_script CMakeFiles\otclient.dir\link.txt --verbose=1 "C:\Program Files\CMake\bin\cmake.exe" -E remove -f CMakeFiles\otclient.dir/objects.a C:\MinGW\bin\ar.exe cr CMakeFiles\otclient.dir/objects.a @CMakeFiles\otclient.dir\objects1.rsp C:\MinGW\bin\g++.exe -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable -Wno-unused-result -std=gnu++0x -pipe -mthreads -O1 -g -fno-omit-frame-pointer -static-libgcc -static-libstdc++ -Wl,--large-address-aware -mwindows -Wl,-Map=otclient.map -Wl,--whole-archive CMakeFiles\otclient.dir/objects.a -Wl,--no-whole-archive -o otclient.exe -Wl,--out-implib,libotclient.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles\otclient.dir\linklibs.rsp CMakeFiles\otclient.dir/objects.a(asyncdispatcher.cpp.obj): In function `ZN5boost6detail16thread_data_baseC4Ev':c:/mingw/include/boost/thread/win32/thread_data.hpp:135: undefined reference to `vtable for boost::detail::thread_data_base' CMakeFiles\otclient.dir/objects.a(asyncdispatcher.cpp.obj): In function `ZN5boost6thread12start_threadEv':c:/mingw/include/boost/thread/detail/thread.hpp:178: undefined reference to `boost::thread::start_thread_noexcept()' CMakeFiles\otclient.dir/objects.a(asyncdispatcher.cpp.obj): In function `ZN5boost6thread4joinEv':c:/mingw/include/boost/thread/detail/thread.hpp:775: undefined reference to `boost::thread::join_noexcept()' CMakeFiles\otclient.dir/objects.a(asyncdispatcher.cpp.obj): In function `ZN5boost6detail11thread_dataISt5_BindIFSt7_Mem_fnIM15AsyncDispatcherFvvEEPS4_EEED1Ev':c:/mingw/include/boost/thread/detail/thread.hpp:90: undefined reference to `boost::detail::thread_data_base::~thread_data_base()' CMakeFiles\otclient.dir/objects.a(asyncdispatcher.cpp.obj): In function `ZN5boost6detail11thread_dataISt5_BindIFSt7_Mem_fnIM15AsyncDispatcherFvvEEPS4_EEED4Ev':c:/mingw/include/boost/thread/detail/thread.hpp:90: undefined reference to `boost::detail::thread_data_base::~thread_data_base()'collect2.exe: error: ld returned 1 exit status mingw32-make.exe[2]: *** [otclient.exe] Error 1 mingw32-make.exe[1]: *** [CMakeFiles/otclient.dir/all] Error 2 mingw32-make.exe: *** [all] Error 2CMakeFiles\otclient.dir\build.make:2361: recipe for target 'otclient.exe' failed mingw32-make.exe[2]: Leaving directory 'C:/Users/RODI/Desktop/compile'CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/otclient.dir/all' failed mingw32-make.exe[1]: Leaving directory 'C:/Users/RODI/Desktop/compile'C:/Users/RODI/Desktop/compile/Makefile:128: recipe for target 'all' failedProcess terminated with status 2 (0 minute(s), 37 second(s)) 9 error(s), 0 warning(s) (0 minute(s), 37 second(s)) Editado Março 6, 2018 7 anos por rodolfoaugusto (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.