• 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 - undefined references (cmake)

Nothxbye

Banned User
Joined
Jan 22, 2012
Messages
1,124
Reaction score
173
Its there anybody who solved this?
O6Kv8OK.png
 
if you are using windows why don't you use msvc 2015?
I had some troubles with libraries are u sure it works for both dx9 and open gl?
Also i noticed ppls have problems with dlls if they want to open otclient compiled with VS
 
I had some troubles with libraries are u sure it works for both dx9 and open gl?
Also i noticed ppls have problems with dlls if they want to open otclient compiled with VS
yes they had problems because they do not use the lib that i posted here.....
follow the complete github windows msvc 2015 tutorial
i use those libs and i have no problems
okk3/OpenGL-ES-SDK
follow the complete installations tutorial and then
install this libs following the guide in pdf format
okk3/OpenGL-ES-SDK
Microsoft Visual Studio 2015
1. Download the required software

To compile OTClient on Windows, you will need:

2. Install the required software

Once you have downloaded the software listed in the step above, begin by installing Visual Studio. Extract OTClient SDK anywhere on your computer. (Ex: C:\otclient-sdk), run the file "register_otclient_sdk_env.bat" before running Visual Studio, to set the PATH environment variable for OTClient SDK, so that the compiler can find the libraries once we get to compiling the source code. Move the file "register_otclient_boost_env.bat" from OTClient SDK to the directory where you installed Boost C++ libraries and run it there (it should be in the directory called boost_1_63_0).

3. Download the source code

If you have a Git client installed, you can clone the latest copy with this command: git clone edubart/otclient

If you don't have a Git client installed, you can download the latest copy of The OTClient from this URL: https://github.com/edubart/otclient/archive/master.zip

4. Build

Find the directory vc14 in the copy of OTClient that you downloaded, and open otclient.sln. This should launch Visual Studio, and you should be good to go.

To configure the build, navigate to Build -> Configuration Manager in the menu. A dialog should pop up where you can choose between Release or Debug build, and 32-bit (Win32) or 64-bit (x64) build.

To start compiling, open the Build menu again and click on Build Solution.

For Directx9 Support: Link the libraries and set OPENGL_ES=2 as a preprocessor.
 
Firstly, let's understand what the issue is:
The issue says that it can clearly see the headers of the boost library BUT it can't find the libraries (.a files).

To resolve the issue you have to:
  • Specify the libraries of the boost library by either compiling them (there are tons of online tutorials on how to do) OR just download the mingw-sdk that edubart put on the gith repo.
[Q] What if you download the sdk and you are still getting this issue?
[A] You are using older/mostly very newer version of mingw (which has incompatible version of gcc compiler). So you may use a mingw version with 4.9.2 version of gcc.

-- Also better use mingw-w64 and everything will be fine on most cases (if you have the libs already).
 
Firstly, let's understand what the issue is:
The issue says that it can clearly see the headers of the boost library BUT it can't find the libraries (.a files).

To resolve the issue you have to:
  • Specify the libraries of the boost library by either compiling them (there are tons of online tutorials on how to do) OR just download the mingw-sdk that edubart put on the gith repo.
[Q] What if you download the sdk and you are still getting this issue?
[A] You are using older/mostly very newer version of mingw (which has incompatible version of gcc compiler). So you may use a mingw version with 4.9.2 version of gcc.

-- Also better use mingw-w64 and everything will be fine on most cases (if you have the libs already).
I spent like 2 days to resolve this issue, tried many things from stackoverflow, i tried the mingw64 but had different errors.
If someone have exactly fix for this would be good for many ppls because i seen many threads with this error specially when everyone follow guide from otclient github and it's not complete.
I'm done with cmake.
 
I spent like 2 days to resolve this issue, tried many things from stackoverflow, i tried the mingw64 but had different errors.
If someone have exactly fix for this would be good for many ppls because i seen many threads with this error specially when everyone follow guide from otclient github and it's not complete.
I'm done with cmake.
i had problems compiling in vs 2013 some old modified sources, it compiles well and finish good without any problem but when i try to open the exe it never come up everything i compile from vs 2010 and up is running well but this otclient never start, then tryed in cmake and had the same problems as you then like you said i'm done with cmake and vs
 
Back
Top