CVS Compile Issues
Hello,
I apologize in advance if this is in the wrong forum. I have just recently downloaded the latest source from cvs, and EMuShareMem compiled just fine, but when I tried to compile world, I get 2652 errors and 703 warnings. Maybe I'm not doing something right, but I couldn't find anyone else who had this problem on the forums. Below is a sample of the errors, all of them are about the same. *EDIT* Oops, forgot, this is using VC++ 6 Code:
c:\program files\microsoft visual studio\vc98\include\mswsock.h(69) : error C2065: 'SOCKET' : undeclared identifier |
socket.h
'SOCKET' : undeclared identifier
Your compiler is trying to tell you that you're using an identifier that hasn't been declared anywhere, it's not known. make sure socket.h is defined somewhere is my guess. #include socket.h |
Nope, still giving me the ame errors, and there is no file called socket.h either
*EDIT* - I'm not sure if this is related, but 0.6.0-DR2 compiles just fine, so maybe something has changed in the setup? |
I am getting this same error also.
|
Make sure your VS6 is updated with Service Pack 5, and also install the appropriate Platform SDK, that will eliminate this problem.
|
Quote:
*EDIT*-Found the SDK, microsoft likes to hide those things... |
sdk
Quote:
i'm looking 2 where did you find it ? |
Well, I feel retarded, thanks for the help, it solved the problem
|
im assuming this is the platform sdk that your talking about
http://www.microsoft.com/msdownload/...ULLInstall.htm
hope this is it im on dial up it will take forever |
Yes, that is the link
|
This solution works, thanks for the tip. Unfortunately I still cannot compile this, because of unresolved externals that are pointing to files that I cannot find in the dump. I'm not an expert or anything but I've been able (up to this point) to figure out what files are missing from the project from the error messages and finish the compiles flawlessly.
When compiling world.exe, I originally had about 30 or so unresolved externals, after I fixed what I could I ended up with the following unresolved externals: Quote:
When compiling zone.exe the story is a bit different. Lots of unresolved externals on the default build, I was able to bring it down to 13. They are as follows: Quote:
I may be reading these wrong - as stated above I am by no means an expert on this and is why I seek help. Any insight would be appreciated very much. Regards, SI |
Ok, I can sorta help you out.
The world resolve errors, include emu_opcodes.cpp emu_opcodes.h , and that should fix it, I added those in the project, and it compiled fine. As for zone.exe, you are at the same point I am, sorry I couldn't help you there. I'm not an expert either, but after playing around with it for a bit, I got world fixed, maybe someone else got zone.exe fixed? |
Sweet, thanks for the quick reply! :) Still working on Zone.exe, getting frustrated lol. If you find anything post.
Regards, SI |
Np, so that fixed it then? I had added several files at once, so I wasn't too sure which ones it was
|
Yeah, that fixed world.exe. So close to the newest build, damn zone.exe errors :(. Anyway with zone.exe (not sure if I was supposed to do this) I added everything in the common folder except a couple files that were producing errors, like EQnetwork.cpp and end up with what I posted above and is why I think there are missing files or something. Thanks again for fixing world.exe, thats cool.
Regards, SI |
Oh, btw, I when I try to run world.exe with the new EMuShareMem.dll, (or whatever its called), world.exe has error #127 and dies
Code:
[Status] Starting Log: logs/eqemu_world_2496.log |
Okay, Hmmmmm. Not sure about the world thing. Probably some config file is needed or something.
Went to compile zone.exe again, this time tried it with the perl configuration (added c:\perl\lib\core include directories and the EMBPERL,EMBPERL_PLUGIN preprocessors) and I started getting the winsock2.h errors (all 423 of them lmao). Is that perl configuration obsololete now or something? The build worked fine when I did it without that config ...well...except for the unresolved externals. Regards, SI |
I get all sorts of bizzare errors when I try to compile with perl, and yes, perl is installed. So I stopped with perl, and went with the release instead, still got unresolved errors though
|
Dude, I think I got it. I'll edit this post if it works and tell you how it's done.
EDIT: I GOT IT! :D Here's how its done. Empty out the Zone project folders in the solution explorer, including the common source and header folders. Then go in and add existing items, ALL files in the zone folder, .cpp and .h and then add all .cpp and .h from the common folder into your common source and header folders. (do all this thru the solution explorer) Once you do that, remove the following files from the Source folder (solution explorer) - Quest.cpp, dbmemshare.cpp, unix.cpp, Wesquests.cpp, tasks.cpp. Once you do that, with release configuration it will compile with 0 errors or warnings. :-D I may have forgot a file but if I did, it will tell you in the build window, whatever file causes an error just remove it. Very glad to have gotten this to work. :-D Regards, SI |
Okay, got everything up and running with one problem ...the opcode error thing you posted above. Anyone have a solution on how to get past that? Please post. Thanks in advance.
Regards, SI |
Thanks for the help, got zone to compile, now to work on the world error
*EDIT* - Ran zone, and it also died from lack of opcodes but this is zone.exe's output: Code:
[Status] CURRENT_ZONE_VERSION: EQEMu 0.6.1-DR1 Hmm... I should just stop posting... Found the file in the utils dir |
This is a nightmare heh
|
More like a giant puzzle, but you don't have all of the pieces, or a few fell under the couch :D
|
Has anyone got zone w/perl compiled yet?
|
Will compiling the newest stuff screw up my Minilogin account. I mean if I want to keep up with all of you will compiling mess me up?
|
People have gotten it compiled. I'm only a few steps away from having a successful compile myself. Not sure how they did it, but I know that in Visual Studio, if you have all your include directories right and then you drop EQNetwork.cpp, it only gives winsock2.h errors. Working on fixing that now.
|
I have not yet been able to figure out the winsock2 errors in visual studio.
|
All times are GMT -4. The time now is 04:34 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.