PDA

View Full Version : ive tried everything still same errors


darkonites3
02-07-2012, 10:20 PM
3>c:\source\trunk\eqemuserver\common\dbcore.h(9): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
3> Client62.cpp
3>c:\source\trunk\eqemuserver\common\dbcore.h(9): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
3> HoT.cpp
3>c:\source\trunk\eqemuserver\common\dbcore.h(9): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
3> patches.cpp
3>c:\source\trunk\eqemuserver\common\dbcore.h(9): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
3> SoD.cpp
3>c:\source\trunk\eqemuserver\common\dbcore.h(9): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
3> SoF.cpp
3> Titanium.cpp
3>c:\source\trunk\eqemuserver\common\dbcore.h(9): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
3> Underfoot.cpp
3> BasePacket.cpp
3> classes.cpp
3> Condition.cpp
3> CRC16.cpp
3> crc32.cpp
3> database.cpp
3> dbasync.cpp
3> dbcore.cpp
3> DBMemLeak.cpp
3> debug.cpp
3> emu_opcodes.cpp
3> EMuShareMem.cpp
3> EmuTCPConnection.cpp
3> EmuTCPServer.cpp
3> EQEmuConfig.cpp
3>c:\source\trunk\eqemuserver\common\../common/dbcore.h(9): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
3> EQPacket.cpp
3>..\common\dbcore.cpp(10): fatal error C1083: Cannot open include file: 'errmsg.h': No such file or directory
3> EQStream.cpp
3>..\common\database.cpp(25): fatal error C1083: Cannot open include file: 'errmsg.h': No such file or directory
3> EQStreamFactory.cpp
3> EQStreamIdent.cpp
3> EQStreamProxy.cpp
3> eqtime.cpp
3> extprofile.cpp
3> guild_base.cpp
3> guilds.cpp
3> Item.cpp
3> logsys.cpp
3> logsys_eqemu.cpp
3>c:\source\trunk\eqemuserver\common\dbcore.h(9): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
3> md5.cpp
3> misc.cpp
3>c:\source\trunk\eqemuserver\common\dbcore.h(9): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
3> MiscFunctions.cpp
3> moremath.cpp
3> Mutex.cpp
3> opcodemgr.cpp
3>c:\source\trunk\eqemuserver\common\dbcore.h(9): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
3> packet_dump.cpp
3> packet_dump_file.cpp
3> packet_functions.cpp
3> races.cpp
3> rdtsc.cpp
3> rulesys.cpp
3> serverinfo.cpp
3> shareddb.cpp
3> SharedLibrary.cpp
3> StructStrategy.cpp
3> TCPConnection.cpp
3> TCPServer.cpp
3> timeoutmgr.cpp
3>c:\source\trunk\eqemuserver\common\dbcore.h(9): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
3> timer.cpp
3> tinystr.cpp
3>c:\source\trunk\eqemuserver\common\dbcore.h(9): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
3> tinyxml.cpp
3> tinyxmlerror.cpp
3> tinyxmlparser.cpp
3> worldconn.cpp
3> XMLParser.cpp
3>c:\source\trunk\eqemuserver\common\dbcore.h(9): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
========== Build: 1 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

darkonites3
02-07-2012, 10:22 PM
iv tried visual c++ 2008 and 2010 like 10 different versions of Perl and my MySQL.. anyone have any ideas?

joligario
02-07-2012, 10:28 PM
You've got to make sure your lib and include folders are properly set up.

Noport
02-07-2012, 10:41 PM
Pre Compiled Binaries http://code.google.com/p/projecteqemu/downloads/detail?name=EQEmu-Rev2098.zip&can=2&q=
Why not donwload perl & Server files an just use them problem solved no more compiling errors for you?

Download files First
Download activeperl-5.10.0.1004-mswin32-x86-287188 http://www.4shared.com/file/NZcfI0Ec...SWin32-x8.html
Download mysql-essential-5.1.59-win32 http://ftp.sunet.se/pub/databases/re...1.59-win32.msi
Download TortoiseSVN-1.7.4.22459-win32-svn-1.7.2 http://tortoisesvn.net/downloads.ht
Download Navicat 8.xx http://www.navicat.com/download/navicat8_mysql_en.exe
Download npp.5.9.8.Installer http://notepad-plus-plus.org/download/v5.9.8.html
Download ServerRev2100 http://projecteqemu.googlecode.com/svn/
Download peqdatabaseRev2100 http://projecteqdb.googlecode.com/sv...k/peqdatabase/
Download Quest http://projecteqquests.googlecode.com/svn/trunk/quests
Download Maps http://eqemumaps.googlecode.com/svn/trunk/Maps

2. Install activeperl-5.10.0.1004-mswin32-x86-287188
Type yes to everything BUT There will be
one question that has C:\Perl in it. That question requires you to enter
that path as the answer. So just type c:\perl (YOU HAVE TO REBOOT FOR NEXT STEP)
After you rebooted, open command prompt and type the following (one at a time and
wait for it to finish): Type in Run Command or dos prompt
ppm install DBI
ppm install IO-stringy
Reboot Computer

3.Now install mysql-essential-5.1.59-win32 (this will be installed to C:\mysql)
When you first start up the install, make sure you choose CUSTOM install.
IMPORTANT: after clicking "next" this is where you change the install
path to "C:\mysql
On that same menu, make sure ALL options are installed.
After clicking "next", on that menu, choose Detailed Configuration.
After clicking "next" again, choose Server Machine.
After clicking "next" again, choose Multifunctional Database
On the next menu, there is nothing to change, click "next" again.
On that menu, choose Online Transaction Processing (OLTP)
Then click "next". UNCHECK the strict mode option, and make sure that the
TCP/IP Networking is checked ENABLE and at port 3306.
After clicking "next" again, Choose Best Support for Multilingualism.
After clicking "next" again, make sure BOTH of the following are checked:
Install As Windows Service and Include Bin Directory in Windows Path
After clicking "next" again, you will be prompted for a password.
(This password is what goes with your SQL database username)
Your SQL username is automatically set as "root"
After you click "next" again, you will get a menu with "Execute" on it.
Just click that and wait, as it installs and finishes. Reboot Computer.

4. Install programs
Install Navicat 8.xxx
Install npp.5.9.8.Installer
Install TortoiseSVN-1.7.4.22459-win64-svn-1.7.2
REBOOT COMPUTER

Then you have to copy all servers files and config server.

lerxst2112
02-07-2012, 11:57 PM
iv tried visual c++ 2008 and 2010 like 10 different versions of Perl and my MySQL.. anyone have any ideas?

http://www.eqemulator.org/forums/showthread.php?t=32980

Step 5.

Ganedar
02-08-2012, 02:55 AM
If you are using vs2010. remember that vc++ directories are project specific, not application or even solution wide.

joligario
02-08-2012, 06:38 AM
But luckily enough you can highlight all projects in the solution in order to change them all at once.

darkonites3
02-08-2012, 08:07 AM
ive done this 10x still nothing

lerxst2112
02-08-2012, 08:30 AM
ive done this 10x still nothing

Well, there are many people that have successfully followed those instructions, including myself, so I'm sorry to say that whatever you are doing it isn't the right thing.

The errors that you posted mean you do not have the mysql\include directory correctly set in Visual Studio.

Noport
02-08-2012, 11:01 AM
I have successfully followed instructions and reprograming the server code for VoA compiled the code no problems and setup my server.