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

Otclient dx9

Mock

Mock the bear (MTB)
Joined
Jul 29, 2008
Messages
619
Reaction score
106
Location
Brazil
Well, when i download otclient bin the client that use DX9 work 100%, but when i download the source code and compile, every time i minimize the client, it came back with a white screen...

how to fix that?

- - - Updated - - -

NVM, outdated gcc libs.
 
If you compile by using CMAKE you have to set DOPENGLES or OPENGLES from OFF to 2.0 I think.
If you use qtcreator to compile you have to paste -DOPENGLES=2.0 into arguments list.
 
On CMAKE, my OPENGLES is already "TRUE".

There is a DIRECTX, but when i 'mark' it and try to configure, it gives me this error:

Looking for DirectX...
Could not locate DirectX
CMake Error at src/framework/cmake/FindPkgMacros.cmake:118 (message):
Required library DirectX not found! Install the library (including dev
packages) and try again. If the library is already installed, set the
missing variables manually in cmake.
Call Stack (most recent call first):
src/framework/cmake/FindDirectX.cmake:68 (findpkg_finish)
src/framework/CMakeLists.txt:332 (find_package)
CMakeLists.txt:12 (include)

EDIT:

dxproblem.jpg
 
Last edited:
Deleted cmake cache, changed OPENGLS to 2.0 and recompiled, now it works!
 
Last edited:
Hello guys, sorry to revive this topic, but I found it on google and it really is what I need. I got an error when trying to compile the OTC Dx9 ...

The error is the following:
lyr55Vc.png
 
I had the same issue. You have to click on advanced checkbox and configure these vars by yourself. them are:

C:/MinGW/lib/libd3d9.a
C:/MinGW/lib/libdxerr9.a

but you will get the error of the missing source file
otclient-master/src/framework/graphics/dx/painterdx9.cpp
There is no folder "dx" in the framework =\
 
Back
Top