• 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 Compiling New SVN by GM Neo Colombia

gm neo colombia

Biosoft-OTP
Joined
Jul 4, 2007
Messages
45
Reaction score
0
Location
Medellin / Colombia
1-Program:
First that nothing we needed the Dev-Cpp de Xidoazu that this here:
http://rapidshare.com/files/5218669/Dev-Cpp.rar
(already it comes with all the bookstores)

1.1-installation: single you decompress in disc “C:”


If you do not have Winrar you can unload it here: http://www.winrar.es/descargas/52


Haora if the complicated thing comes pays attention and if they do not understand guiense by the images.


2-Create and forming the project.
2.1-Create the Project.

First we opened the Dev-Cpp, soon we go a:

File - > New - > Project


We give a name him to the project, selected “Empy Proyect” and we kept.

compilar1mx0.jpg



2.2-Form the project:
We go to project - > Options of Project, Soon we selected the table “Arguments or Parameters”.


In the C++ box to compiler we put this:

For MySQL
-D__USE_MYSQL__
-D__WINDOWS__
-D__SKULLSYSTEM__
-D__PARTYSYSTEM__
-D__DEBUG_PLAYERS__
-D__EXCEPTION_TRACER__


For XML

-D__WINDOWS__
-D__SKULLSYSTEM__
-D__PARTYSYSTEM__
-D__DEBUG_PLAYERS__
-D__EXCEPTION_TRACER__

In the box of connector or Linker we put this:

For MySQL

-llibxml2
-llua
-llualib
-lwsock32
-lmysql
-lregex
-lgmp
-s
-Wl,-Map=otserv.map


For XML

-llibxml2
-llua
-llualib
-lwsock32
-lregex
-lgmp
-s
-Wl,-Map=otserv.map

Example:

compilar2gk1.jpg



now we go to the Directorios table “or Directories”
In the sub-table of Library Directories we added:

compilar3zu7.jpg

C:Dev-Cppotherslua-5.1lib
C:Dev-Cppothersboost_1_33_1libregex

and In the sub-table of Include directories we added:
compilar4be7.jpg

C:Dev-Cppotherslua-5.1include
C:Dev-Cppothersboost_1_33_1

now we give click him in “Ok” and ready we formed the project.

2.3 Adding to the archives *.cpp and *.h

In order to add them denle click in the following button.
compilar5yn7.jpg


For MySQL we added all except these:

databasesqlite.cpp
databasesqlite.h
ioaccountxml.cpp
ioaccountxml.h
ioplayerxml.cpp
ioplayerxml.h


For XML we added all except these:

database.cpp
database.h
databasesqlite.cpp
databasesqlite.h
databasemysql.cpp
databasemysql.h
ioaccountsql.cpp
ioaccountsql.h
ioplayersql.cpp
ioplayersql.h
iomapserializaesql.cpp
iomapserializaesql.h

Soon we give the button to compile that he is the following one
 
1) We go to project - > Options of Project, Soon selecionamos the table “Argumentos or Parameters”.

Don't you think that not all people talk your language?

2) Why empty project? It should be console application -.-

There are tutorials better than this anyways nice try
 
gm neo colombia said:
Ok thanks for your empty commentaries equal I do what I can lamentably is not of your level Will try to improve the happened thing -. -!

Please learn some english, or "PAY" for freetranslations.com i hope it help you

if you pay you can use Human Translation who is better :)
 
Whyzzer said:
gm neo colombia said:
Ok thanks for your empty commentaries equal I do what I can lamentably is not of your level Will try to improve the happened thing -. -!

Please learn some english, or "PAY" for freetranslations.com i hope it help you

if you pay you can use Human Translation who is better :)

Please don't talk about other peoples' english since you don't speek english properly too.
 
Back
Top