PDA

View Full Version : Anyone successfully compiling with VS2015?


Shendare
09-29-2015, 10:05 PM
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.

provocating
09-29-2015, 10:47 PM
Linux Shendare, join the dark side.

Akkadius
09-30-2015, 01:37 AM
Linux Shendare, join the dark side.

lmao /10char

N0ctrnl
09-30-2015, 01:12 PM
I can't imagine having to run on a Windows server. Makes my head hurt just thinking about it. :P

Shendare
09-30-2015, 01:39 PM
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.

N0ctrnl
09-30-2015, 01:57 PM
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.

Shendare
09-30-2015, 02:16 PM
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.

Shendare
10-01-2015, 09:59 PM
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.

Charles082986
11-30-2015, 12:53 PM
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.

demonstar55
11-30-2015, 01:31 PM
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.