• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

codeblock otclient latest source problem at the end of compilation !

Felipe93

Ghost Member
Joined
Mar 21, 2015
Messages
1,990
Solutions
9
Reaction score
334
Location
Chile
Hello im trying to compile otclient latest source i have everything setup properly
(i've added changes to compile witj mingw Modifications to compile with mingw32 by GustavoBlaze · Pull Request #850 · edubart/otclient · GitHub)
i've generated my otclient.cbp filewith cmake i opene it with codeblock soclick on build it
but almost at the end of the compilation i get some errors regarding boots_1_64_
(i have those libraries installed)
PD: i use WIN 7

Code:
||=== Build: all in otclient (compiler: GNU GCC Compiler) ===|
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()'|
CMakeFiles\otclient.dir\objects.a(resourcemanager.cpp.obj)||In function `ZN15ResourceManager12discoverPathB5cxx11ERKN5boost10filesystem4pathEbb':|
C:\otclient-gugu15\src\framework\core\resourcemanager.cpp|289|undefined reference to `boost::filesystem::path::generic_string[abi:cxx11]() const'|
C:\otclient-gugu15\src\framework\core\resourcemanager.cpp|291|undefined reference to `boost::filesystem::path::generic_string[abi:cxx11]() const'|
CMakeFiles\otclient.dir\objects.a(resourcemanager.cpp.obj)||In function `ZN5boost10filesystem11path_traits7convertEPKcS3_RNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEE':|
c:\mingw\include\boost\filesystem\path.hpp|981|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)||In function `ZN5boost10filesystem11path_traits7convertEPKwS3_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE':|
c:\mingw\include\boost\filesystem\path.hpp|989|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)||In function `ZN15ResourceManager12discoverPathB5cxx11ERKN5boost10filesystem4pathEbb':|
C:\otclient-gugu15\src\framework\core\resourcemanager.cpp|298|undefined reference to `boost::filesystem::path::generic_string[abi:cxx11]() const'|
CMakeFiles\otclient.dir\objects.a(resourcemanager.cpp.obj)||In function `ZN5boost10filesystem11path_traits7convertEPKwS3_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE':|
c:\mingw\include\boost\filesystem\path.hpp|989|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)||In function `ZN5boost10filesystem11path_traits7convertEPKcS3_RNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEE':|
c:\mingw\include\boost\filesystem\path.hpp|981|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&)'|
c:\mingw\include\boost\filesystem\path.hpp|981|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|4006|recipe for target 'otclient.exe' failed|
CMakeFiles\Makefile2|66|recipe for target 'CMakeFiles/otclient.dir/all' failed|
C:\otclient-gugu15\compile\Makefile|128|recipe for target 'all' failed|
||=== Build failed: 17 error(s), 0 warning(s) (4 minute(s), 42 second(s)) ===|
 
Last edited:
but where i have to edit? because i have the otclient libraries from conde and all libraries for mingw but i dont know why while im compiling it tries to use
1_64 boost folder if i have 1_63 installed. reinstalled it too boot errors persists
the compiler is trying to use 1_64 :S im not experienced on this
 
i edited

camakecache.txt
//Path to a file.
Boost_INCLUDE_DIR:pATH=C:/local/boost_1_63_0
and other line to 1_64_0 to 63 i changed two lines

but now i get this
aXX8cZb.png
 
Currently it is extremelly difficult to compile OTC on Windows. If you or anyone can provide information about it please PM me as I am interested in making a complete guide.
 
i gonna release the wholes libraries dont worry :) as you can see i've posted many things regarding otc
.black otc layout dx9 latest otc between others...

pd edit
Code:
||=== Build: all in otclient (compiler: GNU GCC Compiler) ===|
c:\mingw\include\math.h||In function 'float hypotf(float, float)':|
c:\mingw\include\math.h|635|error: '_hypot' was not declared in this scope|
c:\mingw\include\boost\asio\detail\impl\win_static_mutex.ipp||In member function 'int boost::asio::detail::win_static_mutex::do_init()':|
c:\mingw\include\boost\asio\detail\impl\win_static_mutex.ipp|51|error: 'swprintf' was not declared in this scope|
CMakeFiles\otclient.dir\build.make|66|recipe for target 'CMakeFiles/otclient.dir/src/framework/luafunctions.cpp.obj' failed|
CMakeFiles\Makefile2|66|recipe for target 'CMakeFiles/otclient.dir/all' failed|
C:\otclient-master\otc\Makefile|128|recipe for target 'all' failed|
||=== Build failed: 5 error(s), 0 warning(s) (7 minute(s), 47 second(s)) ===|

any clues?
 
Last edited:
I don't use codeblocks, just microsoft visual studio 2013. It seems the error is beetwen codeblocks and libraries.
Or you did not include all files.
Or the libraries are wrong.
 
I don't use codeblocks, just microsoft visual studio 2013. It seems the error is beetwen codeblocks and libraries.
Or you did not include all files.
Or the libraries are wrong.
with msvc 2013 you can compile under dx9 support? if its possible... where i must do the changes to enabe dx9 support?
@Flatlander @jestem pro
 
because its works better for me and others users with an old pc than opengl
i can compile otc in msvc2015 but im looking for dx9 support :C
 
Last edited:
bump ! could anyone tell me how fix this plss or help me via teamviewer please? I PROMES im gonna release this when i get solved this problem
mingw codeblocks and cmke with a mini instalation tutorial !
@Summ


Latest error
Code:
||=== Build: all in otclient (compiler: GNU GCC Compiler) ===|
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()'|
CMakeFiles\otclient.dir\objects.a(resourcemanager.cpp.obj)||In function `ZN15ResourceManager12discoverPathB5cxx11ERKN5boost10filesystem4pathEbb':|
C:\otclient-gugu15\src\framework\core\resourcemanager.cpp|289|undefined reference to `boost::filesystem::path::generic_string[abi:cxx11]() const'|
C:\otclient-gugu15\src\framework\core\resourcemanager.cpp|291|undefined reference to `boost::filesystem::path::generic_string[abi:cxx11]() const'|
CMakeFiles\otclient.dir\objects.a(resourcemanager.cpp.obj)||In function `ZN5boost10filesystem11path_traits7convertEPKcS3_RNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEE':|
c:\mingw\include\boost\filesystem\path.hpp|981|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)||In function `ZN5boost10filesystem11path_traits7convertEPKwS3_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE':|
c:\mingw\include\boost\filesystem\path.hpp|989|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)||In function `ZN15ResourceManager12discoverPathB5cxx11ERKN5boost10filesystem4pathEbb':|
C:\otclient-gugu15\src\framework\core\resourcemanager.cpp|298|undefined reference to `boost::filesystem::path::generic_string[abi:cxx11]() const'|
CMakeFiles\otclient.dir\objects.a(resourcemanager.cpp.obj)||In function `ZN5boost10filesystem11path_traits7convertEPKwS3_RNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE':|
c:\mingw\include\boost\filesystem\path.hpp|989|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)||In function `ZN5boost10filesystem11path_traits7convertEPKcS3_RNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEE':|
c:\mingw\include\boost\filesystem\path.hpp|981|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&)'|
c:\mingw\include\boost\filesystem\path.hpp|981|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|4006|recipe for target 'otclient.exe' failed|
CMakeFiles\Makefile2|66|recipe for target 'CMakeFiles/otclient.dir/all' failed|
C:\otclient-gugu15\compile\Makefile|128|recipe for target 'all' failed|
||=== Build failed: 17 error(s), 0 warning(s) (4 minute(s), 42 second(s)) ===|
edited main post with the latest error
 
Last edited:
i need this to im having exactly the same prolem codeblock is compiling but at the end of the compilation i get 18 errors someone could help me?
 
Back
Top