• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Compiling with VSnet 2005

KOKKOR

New member
Joined
Dec 2, 2004
RedCents
OK Folks, now i have Visual studio.net 2005 installed and i tried to run it
Here are my first steps in Compiling and my 1st use of VS.net
PLZ tell me what i m doing wrong or what i m NOT doing

download macroquest latest zip and extract it in a folder
click MQ2auth.exe then click macroquest2.sln
VS.net launch and tells me it must convert files to match 2005 version
conversion is ok
click build, batch build, select all files then build
result= 0 succeeded 13 failed and many errors :confused:

Tried exactly the same BUT with macroquest2.dsw and result is the same

i had no time to go deeper in the issues but any advice is welcomed
i d like to do my own compiles and maybe even post one one day
i m ready to learn , me listening when teachers talk ;)

oooo, btw, i m french and my english is not that fluent so if teachers could avoid too many technical words, i would appreciate

THKS in advance
:cool:
 
armysoldier said:
I used pugs suggestion and got a nice free DL or VS6

Find your Warp Offset using Cades Thread

BEFORE YOU COMPILE ANYTHING Go to cades link in guides

you can make noauth+date/time check+warp+string

and he tells how to get other plugins added to the compile


then I did:

Rich (BB code):
Compiling MacroQuest2 using VC6++ or Visual Studio 6 
Install Visual C++ 6.0 or Visual Studio 6.0 

If you are installing VC6++ please make sure you have installed SERVICE PACK 6. You can find Service Pack 6 here: Service Pack 6


Download the MacroQuest2 source files

Unzip it into any new folder

Go to the newly created folder and double click MQ2Auth.exe

Double click macroquest2.dsw file. This will Open Visual C++

*** I OPEN VS6 first.. then click file --> open ***

Select Build -> Set Active Config and select MQ2main. Click OK

Select Build -> Build MQ2main.dll or press F7

Select Build -> Batch Build. Make sure everything in the batch build window that says release has a check by it

Click the Build button. All should compile with no errors or warnings


AND now you too can be the first to toss out the first running MQ2

8-)
 
THKS Army

i was about to follow what you posted i found it in another thread
But REAL THKS LINKING IT
I ll let you know the results asap :)
 
randomguy_01 said:
from what i hear VS2005 has issues with naked declarations and as of now the MQ2 that gets released is not yet compatible with VS2005





HELL !!!! :mad: :mad:
here is the Error list from Compiling with VS.net 2005


Error 1 error C3068: 'EQClasses::CStmlWnd::AppendSTML' : a 'naked' function cannot contain objects that would require unwinding if a C++ exception occurred j:\MQ2gg\MQ2Main\EQClasses.cpp 129
Error 2 fatal error LNK1104: cannot open file 'MQ2Main.lib' MQ2CustomBinds
Error 3 fatal error LNK1104: cannot open file 'MQ2Main.lib' MQ2Bzsrch
Error 5 fatal error LNK1104: cannot open file 'MQ2Main.lib' MQ2EQIM
Error 6 fatal error LNK1104: cannot open file 'MQ2Main.lib' MQ2Irc
Error 7 fatal error LNK1181: cannot open input file '..\release\mq2main.lib' MQ2HUD
Error 8 fatal error LNK1104: cannot open file 'MQ2Main.lib' MQ2EQBugFix
Error 9 fatal error LNK1104: cannot open file 'MQ2Main.lib' MQ2Telnet
Error 10 fatal error LNK1104: cannot open file 'MQ2Main.lib' MQ2ChatWnd
Error 11 fatal error LNK1104: cannot open file 'MQ2Main.lib' MQ2ItemDisplay
Error 12 fatal error LNK1104: cannot open file 'MQ2Main.lib' MQ2Map
Error 13 fatal error LNK1104: cannot open file 'MQ2Main.lib' MQ2Labels
Error 14 fatal error LNK1181: cannot open input file '..\release\mq2main.lib' MQ2Chat


any ideas folks ?


Or is Randomguy the wise? MQ2 and VSnet2005 not compatible? :( :(

and for info, i followed instructions from Cades link in Guides, updated noauth+date and time check+warp+string ALL WITH SUCCESS, all files modified BEFORE trying to compile and i m still having error message
 
Gotta love seeing naked functions.

I have VS 2003, no poroblems at all, but I have heard numerous issues with using the VS 2005. On the MQ2 site it looks like that are going to update the code to VS 2005.
 
OK Folks here is the end : MQ is not compilable with VSnet 2005..........yet
/cry
SO DON T WASTE TIME DOWNLOADING IT AS I DID
However i will keep it on my PC as it is installed after a 16 hours download

So for those who were wondering what to download, look for VS6 or VSnet 2003 ONLY


This thread can be closed now ;)
 
Just wondering, did you set Mq2Main as your active project *build only that* then batch build the rest all at once? If not...that might help
 
I would look for 2003 instead of 6 ;)

If the code gets "updated" (turned into obscure non-standard sludge) to work with 2005, 6 probably won't be able to compile it.
 
when I first discovered MQ I had no compiler.
but I really wanted to have it.
If you have some Linux / unix knowledge you can compile MQ2 under it.
If you have only Windows, you can still download http://www.cygwin.com/ which is basically a Linux emulator for windows.
be sure to downlaod the Make package and the c++ compiler under the Devel folder.
just a foot note, if you do that you will have to modify a little the Makefile of MQ2 which is badly written for thoses paranoid syntax linux compilers (remove spaces essentially and replace them by tabs) : emacs is your friend for that
hope it helps
 
Mochila said:
Just wondering, did you set Mq2Main as your active project *build only that* then batch build the rest all at once? If not...that might help


Yes Mochilla, i did try compile MQ2main only and failed
i will try again and post the error message
but i did not try to compile others without MQ2main, i will try also that
Thks for idea ;)
 
here is the result in compiling MQ2main only


Error 1 error C3068: 'EQClasses::CStmlWnd::AppendSTML' : a 'naked' function cannot contain objects that would require unwinding if a C++ exception occurred j:\MQ2gg\MQ2Main\EQClasses.cpp 129

:(
 
Cade said:
I would look for 2003 instead of 6 ;)

If the code gets "updated" (turned into obscure non-standard sludge) to work with 2005, 6 probably won't be able to compile it.

I downloaded VS6 and got it installed :cool:
Now with VS6 and VNnet2005, i should be ready to handle any code updates :p

Here is now another good news : I managed to compile MQ with VS6 !! :cool:
YES! STEP 1 COMPLETED
Did my first basic compile without error and manages to run MQ and EQ
Me proud of me even if it as not that difficult


STEP 2
Now i would like to add plugins to basic compile
In MQ2 Compiling guide by Cade, i understand how to create a plugin folder BUT it is also explained that i have to open the .cpp file and replace everything in it with the plugin source

Question is : what is the plugin source and where can i find it ?

Sorry for boring questions but it wil be asked once, not twice
Remember i m learning and me listening to teachers when they talk :cool:

Thks in advance for your responses, help, patience and advices
 
A lot of plugin authors choose not to release their sources. TeachersPet shows most or all of his, so I would look in plugin posts by him. Copy that source into the .cpp (Sort of like making a macro) . Save it and then open the project file in that folder. and build the .dll
 
Mochila said:
A lot of plugin authors choose not to release their sources. TeachersPet shows most or all of his, so I would look in plugin posts by him. Copy that source into the .cpp (Sort of like making a macro) . Save it and then open the project file in that folder. and build the .dll


Thks Mochilla
 
Compiling with VSnet 2005

Users who are viewing this thread

Back
Top
Cart