EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   VZTZ Compile Issues: (https://www.eqemulator.org/forums/showthread.php?t=33593)

So_1337 05-19-2011 12:51 PM

VZTZ Compile Issues:
 
I currently have a fully-functional server running the latest PEQ database and EQEmu source, and I'm used to compiling it myself.

However, I've recently developed an interest in digging through the VZTZ database and source, in order to salvage the important parts for possible submission and incorporation into the EQEmu source.

I'm pretty sure it's going to require a different setup than the current EQEmu source, so I have an entirely different machine dedicated to compiling and running it.

That said, I'm having a hard time even getting the stock release of the source to compile, and I was looking for some pointers from those who have done it before. I've done a find/replace for '_vsnprintf' to change it to 'vsnprint', as mentioned by Derision, and that reduced a large number of the warnings, but I'm still getting 1 success and 3 failures.

So far, I'm thinking I'll need to go back to the 5.8.8.822 release of perl, at the very least.

I'll be very appreciative of any pointers that can be offered. Visual C++ 2008 Express, error log available upon request.

Thanks!

Derision 05-19-2011 02:44 PM

I just downloaded the VZTZ source from here: http://code.google.com/p/vztzfebsour...l?name=VZTZ.7z

Then did a Replace in Files to *remove* all occurrences of #define vsnprintf _vsnprintf (i.e. search for #define vsnprintf _vsnprintf and replace with nothing, should produce about 23 matches). Best way to do this is to find an occurrence of the #define in the source and paste this in the replace box, so you get the number of spaces/tabs between the vsnprintf and _vsnprintf exactly right.

Also replace #pragma comment(lib, "perl58.lib") with #pragma comment(lib, "perl510.lib") (2 matches) (as I have Perl 5.10 on my Windows box), and everything compiled fine.

EDIT: This was with Visual C++ 2008 Express.

lerxst2112 05-19-2011 04:02 PM

Worked fine for me with those steps as well.

So_1337 05-24-2011 08:26 AM

That gets me a little closer; 2 succeeded, and 2 failed. Now the errors revolve around C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe.

Let me clean and build it again and post the actual error log.

So_1337 05-24-2011 08:41 AM

Odd, now I'm up to 3/4.

Error occurs in building zone:

"Project : error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'."

image 05-24-2011 09:04 AM

Everywhere I read seems to blame virus scanners for the cause here. I have not seen this error but you might want to try to disable any live protection while you compile.

So_1337 05-24-2011 09:35 AM

Wow, simple solution. I had no idea that would interfere, geez.

Thanks a bunch, everyone! 4/4!

So_1337 05-24-2011 10:05 AM

... 4/4, but "world.exe has stopped working" once I try running it. Dang, really thought this was it.

Going to try a few different things, like compiling on another machine and running from another machine to see if I can rule out the local environment.

image 05-24-2011 11:43 AM

Since you are compiling it in VS you might as well run it in debug. EQEmu wasn't really designed (well) to spit out errors when it crashes. If you run it in debug it should eventually break in the code where it is failing.


All times are GMT -4. The time now is 06:46 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.