EOSERV Forum > EOSERV > Guide: How to Compile EOSERV
Topic is locked.
Page: << 1 2 ... 6 7 8 9 >>
Guide: How to Compile EOSERV
Author Message
Post #5106 Re: Guide: How to Compile EOSERV

What do you mean by this:


14. Once it is compled you will need to get the dlls: libmysql.dll and sqlite3.dll and put them in the same folder as your compiled file (these are in the LIBS and DLLS.zip file).

I don't get it.. And do we have to download Eoserv.4.0? It doesn't say to, but im just wondering.
15 years, 31 weeks ago
Post #5199 Re: Guide: How to Compile EOSERV

Compiled my server and got it running weeks ago, how the **** do I make it public? lol

15 years, 30 weeks ago
Post #5984 Re: Guide: How to Compile EOSERV

Ok what did I screw up?

C:\Documents and Settings\Lissa\Desktop\trunk\trunk\src\socket.cpp|92|error: `getaddrinfo' was not declared in this scope|
C:\Documents and Settings\Lissa\Desktop\trunk\trunk\src\socket.cpp|92|warning: unused variable 'getaddrinfo'|
C:\Documents and Settings\Lissa\Desktop\trunk\trunk\src\socket.cpp|101|error: `freeaddrinfo' was not declared in this scope|
C:\Documents and Settings\Lissa\Desktop\trunk\trunk\src\socket.cpp|101|warning: unused variable 'freeaddrinfo'|
||=== Build finished: 2 errors, 27 warnings ===|

15 years, 29 weeks ago
Post #5994 Re: Guide: How to Compile EOSERV

bump

This topic should be a sticky :x

15 years, 29 weeks ago
Post #7046 Re: Guide: How to Compile EOSERV

Heres for some of you like me who didnt have the includes folder. I downloaded the entire thing without the installer so i could rip the includes out. So this is just for you guys like me ^_^


O yea and if your like who's exile thats me, deathx is my old name and i didnt feel like re-registering on here.


http://www.megaupload.com/?d=IMRJE3N8

---
¨°º¤ø„º°¨ Exile Studios ¨°º„ø¤º°¨
15 years, 27 weeks ago
Post #8277 Re: Guide: How to Compile EOSERV

Should it look like this? : (to many errors xD) : http://tinypic.com/view.php?pic=219nngw&s=5

 

15 years, 25 weeks ago
Post #10982 Re: Guide: How to Compile EOSERV

i got this error


..\src\database.hpp    21    sqlite.h: No such file or directory

..\src\database.hpp    117  error: ISO C++ forbids declaration of 'sqlite3' with no type

..\src\database.hpp    117  error: expected ';' before '*' token


somebody help me with this

or can someone just post up a compiled r130 plox



15 years, 22 weeks ago
Post #22150 Re: Guide: How to Compile EOSERV


I get error:

WARNING: Could not load ./data/drops.ini
WARNING: Could not load ./data/shops.ini
Could not load file: ./data/pub/dat001.eif

Pls help

 

15 years, 7 weeks ago
Post #45600 Re: Guide: How to Compile EOSERV

hey, im compiling eoserv Rev 189.heres what i get. i did all the steps. (im on vista)

-------------- Build: MYSQL+SQLITE in eoserv ---------------


Precompiling header: ..\src\stdafx.h

C:\Users\Nick.Nick-PC\Desktop\trunk\src\stdafx.h:22:29: tr1/unordered_map: No such file or directory

In file included from C:\Users\Nick.Nick-PC\Desktop\trunk\src\util.hpp:22,

                 from C:\Users\Nick.Nick-PC\Desktop\trunk\src\stdafx.h:31:

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:12:25: angelscript.h: No such file or directory

In file included from C:\Users\Nick.Nick-PC\Desktop\trunk\src\util.hpp:22,

                 from C:\Users\Nick.Nick-PC\Desktop\trunk\src\stdafx.h:31:

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:149: error: ISO C++ forbids declaration of `asIScriptContext' with no type

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:149: error: expected `;' before '*' token

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:150: error: ISO C++ forbids declaration of `asIScriptModule' with no type

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:150: error: expected `;' before '*' token

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:152: error: `asIScriptContext' has not been declared

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:152: error: `asIScriptModule' has not been declared

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:152: error: ISO C++ forbids declaration of `ctx' with no type

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:152: error: ISO C++ forbids declaration of `mod_' with no type

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp: In constructor `ScriptContext::ScriptContext(ScriptEngine*, int*, int*)':

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:152: error: class `ScriptContext' does not have any field named `as'

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:152: error: class `ScriptContext' does not have any field named `mod'

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp: At global scope:

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:169: error: ISO C++ forbids declaration of `asIScriptEngine' with no type

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:169: error: expected `;' before '*' token

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:176: error: expected `,' or `...' before '*' token

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:176: error: ISO C++ forbids declaration of `asSMessageInfo' with no type

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:183: error: `asSFuncPtr' has not been declared

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:184: error: ISO C++ forbids declaration of `ptr' with no type

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp: In function `bool ScriptRegisterFunction(ScriptEngine&, const char*, int)':

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:185: error: 'class ScriptEngine' has no member named 'as'

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:185: error: `asCALL_CDECL' was not declared in this scope

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:185: warning: unused variable 'asCALL_CDECL'

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp: At global scope:

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:194: error: `asSFuncPtr' has not been declared

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:195: error: ISO C++ forbids declaration of `ptr' with no type

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:227: error: `asEBehaviours' has not been declared

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:227: error: `asSFuncPtr' has not been declared

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:228: error: ISO C++ forbids declaration of `behaviour' with no type

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:228: error: ISO C++ forbids declaration of `ptr' with no type

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp: In static member function `static bool ScriptObject<T>::RegisterFunction(ScriptEngine&, const char*, int)':

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:196: error: `asECallConvTypes' was not declared in this scope

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:196: error: expected `;' before "cc"

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:198: error: request for member `flag' in `ptr', which is of non-class type `int'

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:200: error: `cc' was not declared in this scope

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:200: error: `asCALL_CDECL' was not declared in this scope

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:201: error: `asCALL_THISCALL' was not declared in this scope

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:202: error: `asCALL_GENERIC' was not declared in this scope

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:205: error: `cc' was not declared in this scope

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:205: error: `asCALL_THISCALL' was not declared in this scope

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:207: error: 'class ScriptEngine' has no member named 'as'

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:212: error: 'class ScriptEngine' has no member named 'as'

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp: In static member function `static bool ScriptObject<T>::RegisterVariable(ScriptEngine&, const char*, const char*, size_t)':

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:221: error: 'class ScriptEngine' has no member named 'as'

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp: In static member function `static bool ScriptObject<T>::RegisterBehaviour(ScriptEngine&, int, const char*, int, int)':

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:231: error: request for member `flag' in `ptr', which is of non-class type `int'

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:233: error: `asCALL_CDECL' was not declared in this scope

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:234: error: `asCALL_THISCALL' was not declared in this scope

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:235: error: `asCALL_GENERIC' was not declared in this scope

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:239: error: 'class ScriptEngine' has no member named 'as'

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:239: error: `asECallConvTypes' has not been declared

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp: At global scope:

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:249: error: `asIScriptGeneric' has not been declared

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:250: error: ISO C++ forbids declaration of `gen' with no type

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp: In static member function `static void ScriptValueObject<T>::ScriptDestruct(int*)':

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:251: error: request for member `GetObject' in `gen->', which is of non-class type `int'

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp: In static member function `static bool ScriptValueObject<T>::RegisterType(ScriptEngine&)':

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:257: error: 'class ScriptEngine' has no member named 'as'

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:257: error: `asOBJ_VALUE' was not declared in this scope

C:\Users\Nick.Nick-PC\Desktop\trunk\src\script.hpp:257: error: `asOBJ_APP_CLASS_CDA' was not declared in this scope

Process terminated with status 1 (0 minutes, 6 seconds)

50 errors, 1 warnings

 

i dont know what the problem is (im new to this. ha, you could tell i am.) Any Suggestions?
14 years, 18 weeks ago
Post #55596 Re: Guide: How to Compile EOSERV

well its been over a year since i tried to compile a server and this is what im getting!

||=== eoserv, MYSQL ===|
C:\Documents and Settings\make\Desktop\trunk\trunk\src\stdafx.h|22|tr1/unordered_map: No such file or directory|
C:\Documents and Settings\make\Desktop\trunk\trunk\src\util.hpp|595|error: `std::tr1' has not been declared|
C:\Documents and Settings\make\Desktop\trunk\trunk\src\util.hpp|595|error: `unordered_map' has not been declared|
C:\Documents and Settings\make\Desktop\trunk\trunk\src\util.hpp|595|error: expected `,' or `...' before '<' token|
C:\Documents and Settings\make\Desktop\trunk\trunk\src\util.hpp|595|error: ISO C++ forbids declaration of `parameter' with no type|
C:\Documents and Settings\make\Desktop\trunk\trunk\src\hook.hpp|51|error: `std::tr1' has not been declared|
C:\Documents and Settings\make\Desktop\trunk\trunk\src\hook.hpp|51|error: ISO C++ forbids declaration of `unordered_map' with no type|
C:\Documents and Settings\make\Desktop\trunk\trunk\src\hook.hpp|51|error: expected `;' before '<' token|
C:\Documents and Settings\make\Desktop\trunk\trunk\src\hook.hpp||In constructor `Hook_Call::Hook_Call(HookManager&, std::string)':|
C:\Documents and Settings\make\Desktop\trunk\trunk\src\hook.hpp|84|error: 'class HookManager' has no member named 'hooks'|
C:\Documents and Settings\make\Desktop\trunk\trunk\src\hook.hpp||In member function `Hook_Call& Hook_Call::operator[](T)':|
C:\Documents and Settings\make\Desktop\trunk\trunk\src\hook.hpp|97|error: 'class HookManager' has no member named 'hooks'|
C:\Documents and Settings\make\Desktop\trunk\trunk\src\socket.hpp|297|error: `hash' is not a template|
C:\Documents and Settings\make\Desktop\trunk\trunk\src\socket.hpp|298|error: explicit specialization of non-template `std::tr1::hash'|
||=== Build finished: 12 errors, 0 warnings ===|

i know i got to be doing something simple and dumb to be getting this?

---
Think Outside The Box.

..............Skids in my Undies........
...............Cut And Paste............
13 years, 51 weeks ago
Post #66287 Re: Guide: How to Compile EOSERV

I did everything you said, but I got this error. Any idea on how to fix it?


-------------- Build: DEBUG+MYSQL+SQLITE in eoserv ---------------


Precompiling header: ..\src\stdafx.h

Compiling: ..\src\arena.cpp

Compiling: ..\src\character.cpp

Compiling: ..\src\config.cpp

Compiling: ..\src\console.cpp

Compiling: ..\src\database.cpp

In file included from C:\Users\Cj\Desktop\EoServ\src\database.cpp:14:

C:\Users\Cj\Desktop\EoServ\src\database_impl.hpp:16:21: error: sqlite3.h: No such file or directory

C:\Users\Cj\Desktop\EoServ\src\database.cpp:30: error: ISO C++ forbids declaration of 'sqlite3' with no type

C:\Users\Cj\Desktop\EoServ\src\database.cpp:30: error: expected ';' before '*' token

C:\Users\Cj\Desktop\EoServ\src\database.cpp: In member function 'void Database::Connect(Database::Engine, std::string, short unsigned int, std::string, std::string, std::string)':

C:\Users\Cj\Desktop\EoServ\src\database.cpp:140: error: 'struct Database::impl_' has no member named 'sqlite_handle'

C:\Users\Cj\Desktop\EoServ\src\database.cpp:140: error: 'sqlite3_open' was not declared in this scope

C:\Users\Cj\Desktop\EoServ\src\database.cpp:140: error: 'SQLITE_OK' was not declared in this scope

C:\Users\Cj\Desktop\EoServ\src\database.cpp:142: error: 'struct Database::impl_' has no member named 'sqlite_handle'

C:\Users\Cj\Desktop\EoServ\src\database.cpp:142: error: 'sqlite3_errmsg' was not declared in this scope

C:\Users\Cj\Desktop\EoServ\src\database.cpp: In member function 'void Database::Close()':

C:\Users\Cj\Desktop\EoServ\src\database.cpp:174: error: 'struct Database::impl_' has no member named 'sqlite_handle'

C:\Users\Cj\Desktop\EoServ\src\database.cpp:174: error: 'sqlite3_close' was not declared in this scope

C:\Users\Cj\Desktop\EoServ\src\database.cpp: In member function 'Database_Result Database::Query(const char*, ...)':

C:\Users\Cj\Desktop\EoServ\src\database.cpp:225: error: 'sqlite3_mprintf' was not declared in this scope

C:\Users\Cj\Desktop\EoServ\src\database.cpp:227: error: 'sqlite3_free' was not declared in this scope

C:\Users\Cj\Desktop\EoServ\src\database.cpp:329: error: 'struct Database::impl_' has no member named 'sqlite_handle'

C:\Users\Cj\Desktop\EoServ\src\database.cpp:329: error: 'sqlite3_exec' was not declared in this scope

C:\Users\Cj\Desktop\EoServ\src\database.cpp:329: error: 'SQLITE_OK' was not declared in this scope

C:\Users\Cj\Desktop\EoServ\src\database.cpp:331: error: 'struct Database::impl_' has no member named 'sqlite_handle'

C:\Users\Cj\Desktop\EoServ\src\database.cpp:331: error: 'sqlite3_errmsg' was not declared in this scope

C:\Users\Cj\Desktop\EoServ\src\database.cpp: In member function 'std::string Database::Escape(std::string)':

C:\Users\Cj\Desktop\EoServ\src\database.cpp:359: error: 'sqlite3_mprintf' was not declared in this scope

C:\Users\Cj\Desktop\EoServ\src\database.cpp:361: error: 'sqlite3_free' was not declared in this scope

Process terminated with status 1 (0 minutes, 12 seconds)

19 errors, 0 warnings

 


13 years, 37 weeks ago
Post #74622 Re: Guide: How to Compile EOSERV

Ok so I was trying to compile my server and got no errors except this


-------------- Build: MYSQL in eoserv ---------------

Precompiling header: ..\src\stdafx.h
cc1plus.exe: error: unrecognized command line option "-std=gnu++0x"
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
13 years, 32 weeks ago
Post #74623 Re: Guide: How to Compile EOSERV

Compile in MYSQL & SQLITE


And what Rev are you using.?

13 years, 32 weeks ago
Post #74625 Re: Guide: How to Compile EOSERV
xIFearlessIxx posted: (21st Apr 2011 12:09 am)

Compile in MYSQL & SQLITE


And what Rev are you using.?


Im using the rev 229 from the svn snapshots


I'm using the rev 229 from the svn snapshots and I tried all of the compile option just to get the same thing?
13 years, 32 weeks ago
Post #74651 Re: Guide: How to Compile EOSERV

I made this guide a VERY long time ago, don't expect it to work, and don't expect the librarys to be sufficient for the current revision (r229)

13 years, 32 weeks ago
Page: << 1 2 ... 6 7 8 9 >>
Topic is locked.
EOSERV Forum > EOSERV > Guide: How to Compile EOSERV