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

[Compiling] [WINDOWS] How to set up a compiler [Noob friendly] [Tutorial]

Can YOu Give Me Your Skyper Amir Solo?

- - - Updated - - -
I need Help Please Theforgotten server 3884 Compiled To 32 bit system please Help me
 
Last edited:
for this type of compiling everyone will need to use this dll pack i put together: dll files.zip - Speedy Share - upload your files here
at OP please put this link in the main post so people can see it easier
 
Step eight:
zlcbpt.png

Goto project> Project options > Parameters
[Note:]
Make sure that the C++ compiler includes these:
Code:
-D__USE_MYSQL__
-D__USE_SQLITE__
-D__ENABLE_SERVER_DIAGNOSTIC__
-O2

{PS. IF YOU ARE USING 64BIT ADD -m64 after the -O2}

And make sure that the Linker includes these:
Code:
-lboost_system
-llua5.1
-llua51
-lmysql
-lboost_regex
-lsqlite3
-lwsock32
-lxml2
-lmysql
-lws2_32
-s
-lboost_filesystem
-lboost_thread
-lz
-lcryptopp
-leay32

where do i find these?
 
Step eight:
zlcbpt.png

Goto project> Project options > Parameters
[Note:]
Make sure that the C++ compiler includes these:
Code:
-D__USE_MYSQL__
-D__USE_SQLITE__
-D__ENABLE_SERVER_DIAGNOSTIC__
-O2

{PS. IF YOU ARE USING 64BIT ADD -m64 after the -O2}

And make sure that the Linker includes these:
Code:
-lboost_system
-llua5.1
-llua51
-lmysql
-lboost_regex
-lsqlite3
-lwsock32
-lxml2
-lmysql
-lws2_32
-s
-lboost_filesystem
-lboost_thread
-lz
-lcryptopp
-leay32

where do i find these?

Find What :O ?
Step eight:
zlcbpt.png

Goto project> Project options > Parameters

He used Dev C++ Compiler ...
What is your Compiler and I tell you how to find
 
I'm getting these errors:

64-bit mode not compiled in
D:\cryingdamson 0.3.6 (8.60) V8.2 Source\dev-cpp\Makefile.win [Build Error] [obj-console//actions.o] Error 1

How do I fix them?
 
I'm also getting the same "64-bit mode not compiled in" eoror, Dont you think its because you forgot to tell us to install a 64 bit compiler instead of using the default 32-bit compiler?
 
Why here happens that?:

Code:
  cannot find -llua51

I addicted -llua51 at linkers.
 
Thanks!

But, now... I received another error:

Code:
  BFD (GNU Binutils) 2.18.50.20080109 internal error, aborting at ../../binutils-2.18.50/bfd/reloc.c line 5305 in bfd_generic_get_relocated_section_contents

This error I didnt' understand.
 
Got the same problem, my dev-cpp folder does not contain Theforgottenserver.dev


Solved
 
Last edited:
Back
Top