EOSERV Forum > EOSERV > Guide: How to Compile EOSERV
Topic is locked.
Page: << 1 2 3 4 ... 8 9 >>
Guide: How to Compile EOSERV
Author Message
Post #1117 Re: Guide: How to Compile EOSERV

You might also have to add some directories within the project under additional include directories, or the compiler won't check those directories and you'll get errors saying the file or directory wasn't found. Also to check if the compiler actually can locate the include file, right click on the include statement and select "open document XXXXX"

15 years, 37 weeks ago
Post #1132 Re: Guide: How to Compile EOSERV

how to get the sqlite3.h ?

15 years, 37 weeks ago
Post #1133 Re: Guide: How to Compile EOSERV

I've found nice website here.

15 years, 37 weeks ago
Post #1134 Re: Guide: How to Compile EOSERV

i looked for "sqlite.h download" only.
sorry, but i'm a little bit ill ;/

15 years, 37 weeks ago
Post #1195 Re: Guide: How to Compile EOSERV

I keep on getting error after error after I try different things to compile this. I read your tutorial over and over again and yet there always seems to be errors. Here is the most recent errors I got.


-------------- Build: Debug in eoserv ---------------

Compiling: ..srceoserv.cpp
In file included from C:Program Filessrceoserv.cpp:105:
../src/eoserv/character.cpp: In function `bool Handle_Character(int, PacketReader&)':
../src/eoserv/character.cpp:6: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:12: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:17: error: `CLIENT_SEND' was not declared in this scope
../src/eoserv/character.cpp:17: warning: unused variable 'CLIENT_SEND'
../src/eoserv/character.cpp:23: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:44: error: `CLIENT_SEND' was not declared in this scope
../src/eoserv/character.cpp:44: warning: unused variable 'CLIENT_SEND'
../src/eoserv/character.cpp:52: error: `CLIENT_SEND' was not declared in this scope
../src/eoserv/character.cpp:52: warning: unused variable 'CLIENT_SEND'
../src/eoserv/character.cpp:56: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:60: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:63: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:63: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:63: error: invalid type in declaration before ';' token
../src/eoserv/character.cpp:63: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:63: error: invalid type in declaration before '=' token
../src/eoserv/character.cpp:63: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:63: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:63: error: invalid type argument of `unary *'
../src/eoserv/character.cpp:63: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:63: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:63: error: invalid type argument of `unary *'
../src/eoserv/character.cpp:65: error: base operand of `->' is not a pointer
../src/eoserv/character.cpp:66: error: base operand of `->' is not a pointer
../src/eoserv/character.cpp:67: error: base operand of `->' is not a pointer
../src/eoserv/character.cpp:68: error: base operand of `->' is not a pointer
../src/eoserv/character.cpp:69: error: base operand of `->' is not a pointer
../src/eoserv/character.cpp:70: error: base operand of `->' is not a pointer
../src/eoserv/character.cpp:71: error: base operand of `->' is not a pointer
../src/eoserv/character.cpp:72: error: base operand of `->' is not a pointer
../src/eoserv/character.cpp:73: error: base operand of `->' is not a pointer
../src/eoserv/character.cpp:74: error: base operand of `->' is not a pointer
../src/eoserv/character.cpp:75: error: base operand of `->' is not a pointer
../src/eoserv/character.cpp:76: error: base operand of `->' is not a pointer
../src/eoserv/character.cpp:77: error: base operand of `->' is not a pointer
../src/eoserv/character.cpp:80: error: `CLIENT_SEND' was not declared in this scope
../src/eoserv/character.cpp:80: warning: unused variable 'CLIENT_SEND'
../src/eoserv/character.cpp:87: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:93: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:93: error: invalid type in declaration before ';' token
../src/eoserv/character.cpp:95: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:95: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:95: error: invalid type in declaration before ';' token
../src/eoserv/character.cpp:95: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:95: error: invalid type in declaration before '=' token
../src/eoserv/character.cpp:95: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:95: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:95: error: invalid type argument of `unary *'
../src/eoserv/character.cpp:95: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:95: error: invalid use of `this' in non-member function
../src/eoserv/character.cpp:95: error: invalid type argument of `unary *'
../src/eoserv/character.cpp:97: error: base operand of `->' is not a pointer
../src/eoserv/character.cpp:99: error: base operand of `->' is not a pointer
../src/eoserv/character.cpp:111: error: invalid use of `this' in non-member function
Process terminated with status 1 (0 minutes, 3 seconds)
50 errors, 4 warnings
 

15 years, 37 weeks ago
Post #1208 Re: Guide: How to Compile EOSERV

I knew somebody that had troubples compiling, It was because he didn't have anything about sqlite on his pc, so I told him to comment everything about sqlite, not sure if that was the best thing to do, but he was able to compile the source after that.

-- Listin guys and gals... it's not hard to compile it, just make sure you did all the steps and you should get it. This guide should be enough to get you where you going. If you have an error, just read it. If it shows that you have errors dealing with SQLite, then make sure you have all the files for it, its not hard to figure out what the error is about if you read the logs that show them. Warnings can help you figure out your problem, and the Code::Block or Bloodshed Dev-C++, or any other good compiler will tell you what is wrong.
15 years, 37 weeks ago
Post #1214 Re: Guide: How to Compile EOSERV

please, help!
https://eoserv.net/forum/topic/207

15 years, 37 weeks ago
Post #1225 Re: Guide: How to Compile EOSERV

I had 66 pretty much working.. I got the file from another snapshot and included it, and I linked everything and added additioanl include directories. The only error I got was that ld.exe (?) or -lsqlite was not found.. I didn't have time to look into it, but it's probably not something so complicated, and by now snapshot 66 is probably outdated anyway.

15 years, 37 weeks ago
Post #1245 Re: Guide: How to Compile EOSERV

mhm k.

Havent Bothered Reading it, Cause i Know its a Database Error, Etc Etc.

[code]
C:UsersKieronDesktop runk runksrcdatabase.cpp||In member function `void Database::Connect(Database::Engine, std::string, std::string, std::string, std::string)':|
C:UsersKieronDesktop runk runksrcdatabase.cpp|73|error: 'union Database::handle' has no member named 'mysql_handle'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|73|error: `mysql_init' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|75|error: 'union Database::handle' has no member named 'mysql_handle'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|75|error: `mysql_error' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|75|warning: unused variable 'mysql_error'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|73|warning: unused variable 'mysql_init'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|77|error: 'union Database::handle' has no member named 'mysql_handle'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|77|error: `mysql_real_connect' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|77|error: 'union Database::handle' has no member named 'mysql_handle'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|79|error: 'union Database::handle' has no member named 'mysql_handle'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|79|error: `mysql_error' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|79|warning: unused variable 'mysql_error'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|77|warning: unused variable 'mysql_real_connect'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|81|error: 'union Database::handle' has no member named 'mysql_handle'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|81|error: `mysql_select_db' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|83|error: 'union Database::handle' has no member named 'mysql_handle'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|83|error: `mysql_error' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|83|warning: unused variable 'mysql_error'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|81|warning: unused variable 'mysql_select_db'|
C:UsersKieronDesktop runk runksrcdatabase.cpp||In member function `Database_Result Database::Query(const char*, ...)':|
C:UsersKieronDesktop runk runksrcdatabase.cpp|125|error: 'union Database::handle' has no member named 'mysql_handle'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|125|error: `mysql_real_escape_string' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|125|warning: unused variable 'mysql_real_escape_string'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|154|error: `MYSQL_RES' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|154|error: `mresult' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|155|error: `MYSQL_FIELD' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|155|error: `fields' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|158|error: 'union Database::handle' has no member named 'mysql_handle'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|158|error: `mysql_real_query' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|160|error: 'union Database::handle' has no member named 'mysql_handle'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|160|error: `mysql_error' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|160|warning: unused variable 'mysql_error'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|158|warning: unused variable 'mysql_real_query'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|163|error: 'union Database::handle' has no member named 'mysql_handle'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|163|error: `mysql_field_count' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|165|error: 'union Database::handle' has no member named 'mysql_handle'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|165|error: `mysql_store_result' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|169|error: 'union Database::handle' has no member named 'mysql_handle'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|169|error: `mysql_affected_rows' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|169|warning: unused variable 'mysql_affected_rows'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|174|error: 'union Database::handle' has no member named 'mysql_handle'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|174|error: `mysql_error' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|174|warning: unused variable 'mysql_error'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|165|warning: unused variable 'mysql_store_result'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|178|error: `mysql_fetch_fields' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|180|error: `MYSQL_ROW' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|180|error: expected `;' before "row"|
C:UsersKieronDesktop runk runksrcdatabase.cpp|180|error: `row' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|180|error: `mysql_fetch_row' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|186|error: `IS_NUM' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|186|warning: unused variable 'IS_NUM'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|180|warning: unused variable 'mysql_fetch_row'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|180|warning: unused variable 'MYSQL_ROW'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|213|error: `mysql_free_result' was not declared in this scope|
C:UsersKieronDesktop runk runksrcdatabase.cpp|154|warning: unused variable 'MYSQL_RES'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|155|warning: unused variable 'MYSQL_FIELD'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|163|warning: unused variable 'mysql_field_count'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|178|warning: unused variable 'mysql_fetch_fields'|
C:UsersKieronDesktop runk runksrcdatabase.cpp|213|warning: unused variable 'mysql_free_result'|
||=== Build finished: 38 errors, 20 warnings ===|
[/code]

15 years, 37 weeks ago
Post #1278 Re: Guide: How to Compile EOSERV

MOTHER FUCKER IM GETTIN PISSED.... This shit always makes me mad.



I can't fucking finish step 5.
"5.Open the trunk folder then open project then double click on mingw.cbp (this will open the project in Cobe::blocks)"
I opened the damn trunk folder and clicked on the source file, but I don't have anything named mingq.cbp and codeblocks isn't reading it worth shit.
15 years, 37 weeks ago
Post #1307 Re: Guide: How to Compile EOSERV

For all those people getting errors, you must select custom when installing mysql, and choose to install the development stuff, and this gives u all the correct files.

15 years, 37 weeks ago
Post #1312 Re: Guide: How to Compile EOSERV

actually you dont need to install custom just install complete that way people who dotn know what "development sutff" means wont be confused

15 years, 37 weeks ago
Post #1335 Re: Guide: How to Compile EOSERV

Well i say custom, because i like to make it C:Mysql

So i say custom =p.

15 years, 37 weeks ago
Post #1473 Re: Guide: How to Compile EOSERV
-------------- Build: Debug in eoserv ---------------

Compiling: ..srcdatabase.cpp
In file included from C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:2:
../src/database.hpp:14:21: sqlite3.h: No such file or directory
In file included from C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:2:
../src/database.hpp:71: error: ISO C++ forbids declaration of `sqlite3' with no type
../src/database.hpp:71: error: expected `;' before '*' token
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp: In member function `void Database::Connect(Database::Engine, std::string, std::string, std::string, std::string)':
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:90: error: 'union Database::handle' has no member named 'sqlite_handle'
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:90: error: `sqlite3_open' was not declared in this scope
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:90: error: `SQLITE_OK' was not declared in this scope
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:90: warning: unused variable 'sqlite3_open'
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:90: warning: unused variable 'SQLITE_OK'
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp: In member function `Database_Result Database::Query(const char*, ...)':
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:133: error: `sqlite3_mprintf' was not declared in this scope
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:135: error: `sqlite3_free' was not declared in this scope
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:133: warning: unused variable 'sqlite3_mprintf'
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:135: warning: unused variable 'sqlite3_free'
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:220: error: 'union Database::handle' has no member named 'sqlite_handle'
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:220: error: `sqlite3_exec' was not declared in this scope
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:220: error: `SQLITE_OK' was not declared in this scope
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:222: error: 'union Database::handle' has no member named 'sqlite_handle'
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:222: error: `sqlite3_errmsg' was not declared in this scope
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:222: warning: unused variable 'sqlite3_errmsg'
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:220: warning: unused variable 'sqlite3_exec'
C:Documents and SettingsChristianDesktopEoproxyEOserveoserv runksrcdatabase.cpp:220: warning: unused variable 'SQLITE_OK'
Process terminated with status 1 (0 minutes, 3 seconds)
13 errors, 7 warnings
 

can any1 tell me what i did wrong?
i followed all the instructions
15 years, 37 weeks ago
Post #1475 Re: Guide: How to Compile EOSERV

and how do i do it in lamans terms?

15 years, 37 weeks ago
Page: << 1 2 3 4 ... 8 9 >>
Topic is locked.
EOSERV Forum > EOSERV > Guide: How to Compile EOSERV