SOLVED - Help with compiling on Visual Studio 2013

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

Cpt_Cam
decaying skeleton
decaying skeleton
Posts: 4
Joined: Sat Jul 30, 2005 10:09 pm

SOLVED - Help with compiling on Visual Studio 2013

Post by Cpt_Cam » Sun Mar 01, 2015 2:13 am

When I build mq2main I get a series of errors from EQClasses.h "member function already defined or declared"

I looked across the forums for this or similar and couldn't find anything helpful. I tried another compiler called CodeBlocks and it gives the same error. The errors related to the syntax of class construction.

Does anybody know how I can get past this? Maybe some setting in the compiler I'm missing or remming code? Below are screenshots of the two compilers...
macroquest2.PNG
macroquest2.PNG (106.78 KiB) Viewed 664 times
Capture2.PNG
Capture2.PNG (151.4 KiB) Viewed 664 times
Last edited by Cpt_Cam on Thu Mar 05, 2015 6:45 pm, edited 1 time in total.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: Help with compiling on Visual Studio 2013

Post by EqMule » Sun Mar 01, 2015 8:13 am

Which file did you double click to open the solution in visual studio 2013? And second question did you run mq2auth.exe once as admin?
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

Cpt_Cam
decaying skeleton
decaying skeleton
Posts: 4
Joined: Sat Jul 30, 2005 10:09 pm

Re: SOLVED - Help with compiling on Visual Studio 2013

Post by Cpt_Cam » Thu Mar 05, 2015 6:47 pm

Thanks EQMule. I wasn't running Mq2auth.exe as administrator.

I put together a Youtube Video that shows the process from beginning to end (albeit a bit fuzzy (sorry)) in case anybody else runs into issues with VS2013 and just needs to see the overall process.