• 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!

Compilation Error [Windows - Codeblocks]

drakylucas

Intermediate OT User
Joined
Dec 15, 2015
Messages
236
Solutions
7
Reaction score
121
Hello people!
Before, I was using Visual Studio for compile the OTClient, it was working fine but without sound. For sound, I saw in someplace that is need to built in codeblocks for work, so I follow the tutorial of github

https://github.com/edubart/otclient/wiki/Compiling-on-Windows

I've downloaded all programs, instaled all in this folder:
D:\lucas\Trabalho\Tibia_otserv\client\Client_1090
(without any space)

but, when I compile, I've got some errors:


Code:
||=== Build: all in otclient (compiler: GNU GCC Compiler) ===|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|240|error: 'winapi' in namespace 'boost::detail' does not name a type|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp||In constructor 'boost::uuids::detail::seed_rng::seed_rng()':|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|89|error: class 'boost::uuids::detail::seed_rng' does not have any field named 'random_'|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|92|error: 'boost::detail::winapi' has not been declared|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|93|error: 'random_' was not declared in this scope|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|96|error: 'boost::detail::winapi' has not been declared|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|97|error: 'boost::detail::winapi' has not been declared|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|97|error: 'boost::detail::winapi' has not been declared|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp||In destructor 'boost::uuids::detail::seed_rng::~seed_rng()':|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|110|error: 'random_' was not declared in this scope|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|112|error: 'boost::detail::winapi' has not been declared|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp||In member function 'void boost::uuids::detail::seed_rng::sha1_random_digest_()':|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|155|error: 'random_' was not declared in this scope|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|160|error: 'boost::detail::winapi' has not been declared|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|170|error: 'boost::detail::winapi' has not been declared|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|170|error: expected ';' before 'procid'|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|171|error: 'procid' was not declared in this scope|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|173|error: 'boost::detail::winapi' has not been declared|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|173|error: expected ';' before 'threadid'|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|174|error: 'threadid' was not declared in this scope|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|176|error: 'boost::detail::winapi' has not been declared|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|176|error: expected ';' before 'ts'|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|177|error: 'ts' was not declared in this scope|
D:\lucas\Trabalho\Tibia_otserv\boost_1_59_0\boost\uuid\seed_rng.hpp|178|error: 'boost::detail::winapi' has not been declared|
CMakeFiles\otclient.dir\build.make|116|recipe for target 'CMakeFiles/otclient.dir/src/framework/util/crypt.cpp.obj' failed|
CMakeFiles\Makefile2|66|recipe for target 'CMakeFiles/otclient.dir/all' failed|
D:\lucas\Trabalho\Tibia_otserv\client\Client_1090\otclient-master_1090\Makefile|126|recipe for target 'all' failed|
||=== Build failed: 24 error(s), 0 warning(s) (0 minute(s), 13 second(s)) ===|


screenshots:









All errors is at boost 1_59 (I didn't installed it for OTClient, but I use it for compile the forgotten server, it auto pre-load on codeblocks idk why.)

How to fix? thanks all.
 
Back
Top