EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory (https://www.eqemulator.org/forums/showthread.php?t=29943)

Randymarsh9 11-08-2009 12:46 PM

fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
 
I am trying to compile the source, but I keep getting the error
Code:

fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
. What is the fix for this?

leslamarch 11-08-2009 07:09 PM

If you look at this Guide, It looks like you failed on step 5.
Quote:

5) Update your Microsoft Visual C+(+) 2008 Express Edition directories:
'Tools/Options/Projects and Solutions/VC+(+) directories'
and add the following directories using the dropdown "Show directories for" box:
  • Include files: C:\mysql\include
  • Include files: C:\perl\lib\CORE
  • Include files: C:\zlib\include
  • Library files: C:\mysql\lib\opt
  • Library files: C:\perl\lib\CORE
  • Library files: C:\zlib\lib

I would double check to make sure you have these done right.

Randymarsh9 11-08-2009 07:50 PM

I double checked that and I did have one thing backwards, but that didn't fix it. Actually, instead of 2 succeeding and 3 failing, all 5 failed. There were no 'fatal errors' but I did see this
Code:

3>Project : error PRJ0003 : Error spawning 'cmd.exe'.
which looks suspicious

leslamarch 11-08-2009 08:29 PM

see if this helps you, not quite sure let me know.....

Randymarsh9 11-08-2009 08:56 PM

Yep, I added those 3 paths to the executables and it worked. 5 succeeded. Thanks for the help!

leslamarch 11-08-2009 09:27 PM

no problem glad you got it going....


All times are GMT -4. The time now is 11:57 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.