Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 09-29-2015, 10:05 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default Anyone successfully compiling with VS2015?

I can -not- seem to get VS2015 to compile the server. Messed with CMake, MySQL, includes, libs, boost, everything I can think of trying to get VS2015 to work with all of the required components and compile the server, but it staunchly refuses.

Might just have to re-download and install 2013 just for EQEmu for the time being.
Reply With Quote
  #2  
Old 09-29-2015, 10:47 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Linux Shendare, join the dark side.
Reply With Quote
  #3  
Old 09-30-2015, 01:37 AM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

Quote:
Originally Posted by provocating View Post
Linux Shendare, join the dark side.
lmao /10char
Reply With Quote
  #4  
Old 09-30-2015, 01:12 PM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

I can't imagine having to run on a Windows server. Makes my head hurt just thinking about it. :P
Reply With Quote
  #5  
Old 09-30-2015, 01:39 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Works great for me! Just gonna have to stick to compiling with 2013 until CMake and all the various dependencies, includes, and libraries are brought together with newer compatible versions.

Apparently 2015 is different enough from previous versions to break a lot of C++ compatibility.
Reply With Quote
  #6  
Old 09-30-2015, 01:57 PM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

Do you generally notice any measurable performance or other differences between the VS versions? I never used it for any length of time on anything to know if there were really a great deal of improvements.
Reply With Quote
  #7  
Old 09-30-2015, 02:16 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Each one gets a little bit better, but 2015 saw a complete overhaul of the compiler and IntelliSense system, and both show noticeable improvements with 2015. Every version I've compiled our server code on from 2005 to 2013 would glitch out IntelliSense with the size and complexity of the project.

What little I've messed with so far in 2015 has been great, though. Auto-complete of methods, properties, method arguments, enums... it's awesome. If only it would compile. lol

2015 also added a bunch of C++ 11/14/17 feature support that MS has been dragging their feet on, though that isn't likely to impact Emu for a while for compiler compatibility.
Reply With Quote
  #8  
Old 10-01-2015, 09:59 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Well, if you have 2013 installed as well as 2015, and if you don't let 2015 try to upgrade the project when it complains, you can keep CMake and everything else the same and VS2015 will build the solution using 2013's compiler. Everything hunky dory.

An extra 8 gigs used up on my drive is a small price to pay to be able to stick to one IDE for all my projects.
Reply With Quote
  #9  
Old 11-30-2015, 12:53 PM
Charles082986
Sarnak
 
Join Date: Dec 2010
Posts: 46
Default

Are you having trouble using CMake and Visual Studio 2015 to compile the server that way? Or are you trying to compile directly with VS2015?

I ran into the CMake issue. VS2015 doesn't include the C++ compilers by default. You have to do a custom instillation and tell it you want the C++ stuff. The express installer only includes C# and VB.

Edit: Fixed spelling of "due" to "do". I'm not even sure how that happened.
Reply With Quote
  #10  
Old 11-30-2015, 01:31 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

Quote:
Originally Posted by Charles082986 View Post
Are you having trouble using CMake and Visual Studio 2015 to compile the server that way? Or are you trying to compile directly with VS2015?

I ran into the CMake issue. VS2015 doesn't include the C++ compilers by default. You have to due a custom instillation and tell it you want the C++ stuff. The express installer only includes C# and VB.
Fun fact: Cą+ isn't included by default because it was the only team ready for a more modular install.
Reply With Quote
Reply


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 06:27 PM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3