Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-03-2015, 09:46 AM
dpjaf4t
Fire Beetle
 
Join Date: May 2010
Posts: 21
Default

You are compiling Debug build, aren't you?

1. When you are configuring in CMake, add to the end of CMAKE_EXE_LINKER_FLAGS_DEBUG, CMAKE_MODULE_LINKER_FLAGS_DEBUG and CMAKE_SHARED_LINKER_FLAGS_DEBUG "/NODEFAULTLIB:LIBCMT" (without the quotes, of course). That will knock down on some of the "function already defined" errors.

2. Be sure you have MYSQL_LIBRARY_DEBUG pointing at the DEBUG version of mysqlclient.lib. That is where you are getting the 'value 0 does not match value 2' errors.

3. And look close at whatever version of MySQL you have ... the errors 'mismatch detected for _MSC_VER expected 1600 got 1800' seem to be saying your MySQL was compiled with Visual Studio 2010, and the debug libraries especially won't be forward-compatible with VS2013.

I had to learn these by a bit of trial and lots of errors ...

I haven't noticed that any of the warnings you're getting are show-stoppers, in the CMake configuration for CMAKE_CXX_FLAGS and CMAKE_C_FLAGS I always change the /W3 flag to /W0 so I don't have to look at them.
Reply With Quote
  #2  
Old 09-05-2015, 06:05 AM
Drazel
Fire Beetle
 
Join Date: Aug 2015
Location: Las Vegas
Posts: 25
Default I got it to compile

For some reason changing to cmake 2.8.11 made the difference.

I downloaded the XAMPP version the wiki said they used, "1.8.3 / PHP 5.5.9" version.

I only loaded VS Express 2013 on the computer. I never used VS 2010, unless the people who created the SQL version used VS 2010 to compile it, that I am unsure of.

I picked VS 2012 in the cmake because the wiki said that was the version for VS Express 2013. I am guessing that cmake version 3.3.1, when choosing VS 2012, as the cmake option, might be the wrong choice for that version of cmake, because for me it gave the errors listed in the first post.

I am new to this level of software understanding. I have been around computers for 30 years now, mostly hardware and small level programming. I am still learning how programs are really put together. This project requires a lot of interfacing between applications that is very tedious and somewhat difficult to follow out the gate.

The forums have been very helpful.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:59 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3