EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Some thing is missing O.o (https://www.eqemulator.org/forums/showthread.php?t=25282)

opyrus 05-19-2008 04:39 PM

Some thing is missing O.o
 
so i setup my C++ IDE and open up the eqemu project and low and behold guess whats seems to be missing, EQextractor and pf2text are just not there.

cavedude 05-19-2008 05:14 PM

You can add them, but there is no point really. Without a current packet collector, they are useless anyway. You only need world, zone, eqlaunch, and the library to run EQEmu. The rest are misc tools, many of which are no longer current and thus useless.

opyrus 05-19-2008 09:07 PM

i followed the c++ IDE setup wiki but when i try to build it theres so many errors not sure whats up with it.

cavedude 05-19-2008 09:34 PM

Well, what errors are you getting? ;)

opyrus 05-20-2008 02:37 PM

well leme try compiling it again ill post the few 1000 errors XD lol.

cavedude 05-20-2008 02:44 PM

Just a few unique ones will be fine. Often, all the errors are caused by only one or two problems.

opyrus 05-20-2008 03:13 PM

error log = http://www.mediafire.com/?mgjcbympbj3

Andrew80k 05-20-2008 03:26 PM

I had this same problem. You need to do a search in the code where it defines _vsnprintf and comment/remove those lines. It is in 4 places, but I can't recall where exactly off the top of my head. A lot of the other stuff are warnings and can be safely ignored.

Or you can move to Linux anyway like I did. :D

cavedude 05-20-2008 08:31 PM

You're using the standard includes and libraries included with VS Studio. It's much better to use the ones included with Microsoft's SDK. I'm using this: http://www.microsoft.com/downloads/d...displaylang=en (it'll work for any Windows OS) Install it, and be sure to add the SDK's bin, includes, and lib directories to the appropriate sections under VCC Directories. (The same place you added the perl, mysql, and zlib directories)

opyrus 05-21-2008 12:01 AM

i am useing Microsoft's SDK thow O.o as the guide told me to.

cavedude 05-21-2008 09:17 AM

Not according to your log. The compiler is using the built in libraries and includes. Make sure the SDK is at the top of the lists, so it is used first.

opyrus 05-22-2008 03:57 PM

they are im not sure what the problem is. im running vista and useing C++ 2008 i followed this guide setting it up http://www.eqemulator.net/wiki/wikka...a=DevVSExpress.

cavedude 05-22-2008 09:47 PM

Well if you look at your log, your compiler is looking in c:\program files\microsoft visual studio 9.0\vc\include\, when it should be looking in C:\Program Files\Microsoft Platform SDK\include. Are you sure the SDK is at the top of the lists? That implies that it isn't.

opyrus 05-23-2008 12:37 PM

im useing Microsoft Platform SDK for Windows Server 2003 R2 and it is on the top of the list.

opyrus 05-23-2008 12:41 PM

ya i think i found the problem useing wrong SDK.

opyrus 05-23-2008 01:31 PM

nope that wasent it i got the other SDK still wont compile.

opyrus 05-23-2008 03:21 PM

got it working C++ 2008 wont work with eqemu C++ 2005 works perfect.

opyrus 05-23-2008 03:53 PM

axualy i put the older dir's in to 2008 and it sorta allmost works but im getting a small strange error now.

Command line warning D4002 : ignoring unknown option '/errorReport:prompt'
Command line warning D4024 : unrecognized source file type '*■/', object file assumed
LINK : fatal error LNK1181: cannot open input file "*■/.obj"

opyrus 05-23-2008 04:26 PM

well now i can get the .dll to compile but everything else errors out im thinking i need to have a database setup on my dev system for it to read from when it compiles.

opyrus 05-30-2008 09:14 PM

ok i finaly got some of it to compile but still getting some odd errors ill post another build log.

opyrus 05-30-2008 10:50 PM

i just need 2 missing files to get eqlaunch.exe to compile they seem to be missing EQTCPConnection.cpp and EQTCPServer.cpp .

Cripp 05-31-2008 12:44 AM

Code:

SF=eqlaunch.o ../common/logsys.o ../common/logsys_eqemu.o \
  .obj/debug.o ../common/misc.o .obj/Mutex.o ../common/unix.o \
  ../common/worldconn.o ../common/ProcLauncher.o \
  worldserver.o ../common/TCPConnection.o ../common/timer.o \
  ../common/MiscFunctions.o ../common/packet_functions.o \
  ../common/EQEmuConfig.o ../common/XMLParser.o ../common/tinyxml/tinystr.o \
  ../common/tinyxml/tinyxml.o ../common/tinyxml/tinyxmlerror.o \
  ../common/tinyxml/tinyxmlparser.o ../common/md5.o ../common/MiscFunctions.o \
  ../common/packet_dump.o ZoneLaunch.o ../common/TCPServer.o \
  ../common/EmuTCPServer.o ../common/EmuTCPConnection.o

accoring to makefile it should be looking for files TCPConnection.cpp, TCPServer.cpp, EmuTCPServer.cpp, and EmuTCPConnection.cpp... so u might have to rename files EQTCP****.cpp to EmuTCP****.cpp ?

opyrus 05-31-2008 04:02 PM

ya i had tryed that it errored out

Cripp 05-31-2008 04:18 PM

did you change the makefile or rename the EQTCP***.cpp to EmuTCP***.cpp ? or did u try both..

cavedude 05-31-2008 04:41 PM

EQTCPConnection.cpp and EQTCPServer.cpp are no longer used, remove them from the project. (Drop down eqlaunch, Common Source, right click each and Remove) In their place, make sure TCPConnection.cpp, TCPServer.cpp, EmuTCPServer.cpp, and EmuTCPConnection.cpp are in the project. (Right click Common Source Add->Existing Item, select the 4 files.)

opyrus 05-31-2008 11:28 PM

Linking...
worldconn.obj : error LNK2019: unresolved external symbol "void __cdecl log_message(enum LogType,char const *,...)" (?log_message@@YAXW4LogType@@PBDZZ) referenced in function "public: __thiscall WorldConnection::WorldConnection(enum EmuTCPConnection::ePacketMode,char const *)" (??0WorldConnection@@QAE@W4ePacketMode@EmuTCPConne ction@@PBD@Z)
eqlaunch.obj : error LNK2001: unresolved external symbol "void __cdecl log_message(enum LogType,char const *,...)" (?log_message@@YAXW4LogType@@PBDZZ)
worldserver.obj : error LNK2001: unresolved external symbol "void __cdecl log_message(enum LogType,char const *,...)" (?log_message@@YAXW4LogType@@PBDZZ)
ZoneLaunch.obj : error LNK2001: unresolved external symbol "void __cdecl log_message(enum LogType,char const *,...)" (?log_message@@YAXW4LogType@@PBDZZ)
logsys.obj : error LNK2001: unresolved external symbol "void __cdecl log_message(enum LogType,char const *,...)" (?log_message@@YAXW4LogType@@PBDZZ)
.\Release/eqlaunch.exe : fatal error LNK1120: 1 unresolved externals

opyrus 05-31-2008 11:29 PM

just need to fix that some how and ill be good to go XD.

cavedude 05-31-2008 11:30 PM

Add logsys.cpp and logsys_eqemu.cpp to the eqlaunch project under Common Source. Both are in the common folder.

opyrus 05-31-2008 11:38 PM

that did the trick just had to ignore LIBCMT and it compiled there was a load of warnings thow.

opyrus 05-31-2008 11:40 PM

all an all i guess it was worth it i just fully compiled eqemu with the latest dependancys in windows vista =D now i can start making test builds.

opyrus 06-01-2008 10:59 PM

now if i can figure out how to make zones stop crashing ......


All times are GMT -4. The time now is 05:57 PM.

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