EOSERV Forum > EOSERV > EOServ MySql compiling error
Topic is locked.
Page: << 1 2 3 4 >>
EOServ MySql compiling error
Author Message
Post #123547 EOServ MySql compiling error

Ok, so this is my first time compiling eoserv. I've got 1 error.


||=== eoserv, DEBUG+MYSQL+SQLITE ===|
C:\Users\Andrew\Desktop\Eoserv\src\database_impl.hpp|12|fatal error: mysql.h: No such file or directory|
||=== Build finished: 1 errors, 0 warnings ===|


This is the newest rev. There doesnt seem to be a mysql.h anywere either. Anyone know if there's supposed to be one?

---
Andrewbob - I would be on the fucking copter of rofls

Programmer, Web Developer, and Graphics Designer
13 years, 20 weeks ago
Post #123548 Re: EOServ MySql compiling error

Reopen your project in the using the "Project" file then retry it :P that always fixes it for me

---
CN:BH 4 lyfe
13 years, 20 weeks ago
Post #123550 Re: EOServ MySql compiling error
jimmy posted: (16th Jan 2012, 06:14 am)

Reopen your project in the using the "Project" file then retry it :P that always fixes it for me


Jimmy, I get this problem as well doing it with SQLite.. What do I do..?
13 years, 20 weeks ago
Post #123551 Re: EOServ MySql compiling error

Didnt work :(

---
Andrewbob - I would be on the fucking copter of rofls

Programmer, Web Developer, and Graphics Designer
13 years, 20 weeks ago
Post #123554 Re: EOServ MySql compiling error

You need to show Code::Blocks where that file is. Mysql.h isn't included with EOServ. You can find this file in your "Include" folder that came with MYSQL.

---
I forgot what I was going to write...
13 years, 20 weeks ago
Post #123555 Re: EOServ MySql compiling error
Jimbo posted: (16th Jan 2012, 06:30 am)

You need to show Code::Blocks where that file is. Mysql.h isn't included with EOServ. You can find this file in your "Include" folder that came with MYSQL.


How would i show it were it is?

Wait, so what if i want to use sqlite?


Ok well i see were it is now, but how do i point Code::Blocks to it?
---
Andrewbob - I would be on the fucking copter of rofls

Programmer, Web Developer, and Graphics Designer
13 years, 20 weeks ago
Post #123556 Re: EOServ MySql compiling error
Jimbo posted: (16th Jan 2012, 06:30 am)

You need to show Code::Blocks where that file is. Mysql.h isn't included with EOServ. You can find this file in your "Include" folder that came with MYSQL.


How do I show where sqlite3.h is? I don't even know where it is.
13 years, 20 weeks ago
Post #123558 Re: EOServ MySql compiling error
Pine posted: (16th Jan 2012, 06:38 am)

Jimbo posted: (16th Jan 2012, 06:30 am)

You need to show Code::Blocks where that file is. Mysql.h isn't included with EOServ. You can find this file in your "Include" folder that came with MYSQL.


How do I show where sqlite3.h is? I don't even know where it is.

WOOT got it!

What you do is add ..\include\ to all of the Search Directories in the build options


Now an executable isnt showing up? wtf....
---
Andrewbob - I would be on the fucking copter of rofls

Programmer, Web Developer, and Graphics Designer
13 years, 20 weeks ago
Post #123561 Re: EOServ MySql compiling error


Do you have further errors? Check the build log and post your last error message.

13 years, 20 weeks ago
Post #123563 Re: EOServ MySql compiling error

||=== eoserv, MYSQL+SQLITE ===|
||warning: command line option '-std=gnu++0x' is valid for C++/ObjC++ but not for C [enabled by default]|
||Warning: resolving _mysql_init@4 by linking to _mysql_init|
||Warning: resolving _mysql_real_connect@32 by linking to _mysql_real_connect|
||Warning: resolving _mysql_select_db@8 by linking to _mysql_select_db|
||Warning: resolving _mysql_error@4 by linking to _mysql_error|
||Warning: resolving _mysql_close@4 by linking to _mysql_close|
||Warning: resolving _mysql_real_escape_string@16 by linking to _mysql_real_escape_string|
||Warning: resolving _mysql_real_query@12 by linking to _mysql_real_query|
||Warning: resolving _mysql_errno@4 by linking to _mysql_errno|
||Warning: resolving _mysql_field_count@4 by linking to _mysql_field_count|
||Warning: resolving _mysql_store_result@4 by linking to _mysql_store_result|
||Warning: resolving _mysql_fetch_fields@4 by linking to _mysql_fetch_fields|
||Warning: resolving _mysql_num_rows@4 by linking to _mysql_num_rows|
||Warning: resolving _mysql_fetch_row@4 by linking to _mysql_fetch_row|
||Warning: resolving _mysql_free_result@4 by linking to _mysql_free_result|
||Warning: resolving _mysql_affected_rows@4 by linking to _mysql_affected_rows|
||=== Build finished: 0 errors, 16 warnings ===|


OK, i think i've resolved this though. Im using sqlite so these wont matter. I have finally got the eoserv executable to create as well.


Though, how would i change the database type to Sqlite. I am not used to this new multiple ini file thing.



Edit: New problem -.-


I get this when i try to start eoserv up. Nothing new comes in the error log.


The debug version works just fine but why wont the normal version work?

---
Andrewbob - I would be on the fucking copter of rofls

Programmer, Web Developer, and Graphics Designer
13 years, 20 weeks ago
Post #123564 Re: EOServ MySql compiling error

@Pine: http://www.sqlite.org/download.html  You have to download it first. >_<


@Wild studios: It's throwing an exception because you're missing configuration file "console.ini".

---
I forgot what I was going to write...
13 years, 20 weeks ago
Post #123566 Re: EOServ MySql compiling error
Jimbo posted: (16th Jan 2012, 07:35 am)

@Pine: http://www.sqlite.org/download.html  You have to download it first. >_<


@Wild studios: It's throwing an exception because you're missing the console.ini file.


Oh? Wierd. The debug is working. I guess ill just create this file then.

Now this happens : (AND The debug isnt working anymore)
 
---
Andrewbob - I would be on the fucking copter of rofls

Programmer, Web Developer, and Graphics Designer
13 years, 20 weeks ago
Post #123567 Re: EOServ MySql compiling error

What's in your error log?

---
I forgot what I was going to write...
13 years, 20 weeks ago
Post #123568 Re: EOServ MySql compiling error
Wildsurvival posted: (16th Jan 2012, 07:39 am)

Jimbo posted: (16th Jan 2012, 07:35 am)

@Pine: http://www.sqlite.org/download.html  You have to download it first. >_<


@Wild studios: It's throwing an exception because you're missing the console.ini file.


Oh? Wierd. The debug is working. I guess ill just create this file then.

Now this happens : (AND The debug isnt working anymore)
 
inbox me teamview details i can fix.

13 years, 20 weeks ago
Post #123571 Re: EOServ MySql compiling error
Jimbo posted: (16th Jan 2012, 07:51 am)

What's in your error log?


Nothing from this session. Its being retarded
---
Andrewbob - I would be on the fucking copter of rofls

Programmer, Web Developer, and Graphics Designer
13 years, 20 weeks ago
Page: << 1 2 3 4 >>
Topic is locked.
EOSERV Forum > EOSERV > EOServ MySql compiling error