PDA

View Full Version : Precompiled binaries


Andrew80k
12-13-2011, 10:03 AM
I think for the most part, most people know that I, usually, create the pre-compiled binaries in the download section of the google site. I have been using perl 5.10 and VS2008 to do this. I am going to move to perl 5.14 for the next release which should come sometime this week. I am considering going to VS2010 after the first of the year as well, but I will update this thread when I do. If you are using these, please remember to update your version of perl before downloading the next version.

wolfwalkereci
12-13-2011, 07:17 PM
Its nice to know you create those, I was wondering about that.
I tried VS2010 and couldn't get it to work.

pepsiphreak79
12-15-2011, 09:41 PM
What SQl version are you going to use for this as well? i am using portable server as a base and not a fully installed

Secrets
12-16-2011, 03:51 AM
Just as a forewarning, perl 5.14 only will work under 64-bit compiles linked with 64-bit perl. I haven't figured out the issue with activeperl and 32-bit yet.

Keep that in mind when making a Perl 5.14 compile.

pepsiphreak79
12-16-2011, 07:33 AM
Just as a forewarning, perl 5.14 only will work under 64-bit compiles linked with 64-bit perl. I haven't figured out the issue with activeperl and 32-bit yet.

Keep that in mind when making a Perl 5.14 compile.
ohh ty for that cause im still on 32 bit

wolfwalkereci
12-16-2011, 10:40 AM
Thanks for that heads up secrets, I know you already posted it in the other thread but I totally space-brained it and was wondering why the compile failed for me.

Andrew80k
12-16-2011, 11:07 AM
Just as a forewarning, perl 5.14 only will work under 64-bit compiles linked with 64-bit perl. I haven't figured out the issue with activeperl and 32-bit yet.

Keep that in mind when making a Perl 5.14 compile.

So are you saying that the emu won't compile for 32-bit perl 5.14? If so I'll hold off.

kalua
12-16-2011, 12:59 PM
Not sure if this helps or not, but I'm able to compile the current source on 64-bit openSUSE 12 by modifying the makefiles to reference my 32-bit ActivePerl 5.14.2 install path.

For zone and world I had to fix the GvCV due to 5.14 not returning an lvalue, but the code already compensates for Windows compilers on that issue.

Noport
12-16-2011, 03:00 PM
Note: I'm using vs2010 pro and 5.14 perl
I have no problem Compiling win32 or 64 Bit
Note: Right Click Zone,world,ucs,queryserv,eqlaunch,EmuShareMem
go down to properties You'll have to add for each Solution (projects) Include and LIbrary
after adding make sure you click apply

INCLUDE:

C:\mysql\include
C:\perl\lib\CORE
C:\zlib\include

LIBRARY:
C:\MySQL\lib
C:\mysql\lib\opt
C:\perl\lib\
C:\perl\lib\CORE
C:\zlib\lib

------ Build started: Project: EMuShareMem, Configuration: Release Win32 ------
Link:
Creating library .\../Build/EMuShareMem/EMuShareMem.lib and object .\../Build/EMuShareMem/EMuShareMem.exp
EMuShareMem.vcxproj -> C:\Users\xxxxxxxxxx\Desktop\Server Source Files\trunk\EQEmuServer\EMuShareMem\.\..\Build\EMu ShareMem.dll
FinalizeBuildStatus:
Deleting file ".\../Build/EMuShareMem/Release\EMuShareMem.unsuccessfulbuild".
Touching ".\../Build/EMuShareMem/Release\EMuShareMem.lastbuildstate".

Build succeeded.

------ Build started: Project: World, Configuration: Release Win32 ------
Link:
World.vcxproj -> C:\Users\xxxxxxxxxxxx\Desktop\Server Source Files\trunk\EQEmuServer\world\.\..\build\World.exe
FinalizeBuildStatus:
Deleting file ".\../Build/World/Release\World.unsuccessfulbuild".
Touching ".\../Build/World/Release\World.lastbuildstate".

Build succeeded.

------ Build started: Project: Zone, Configuration: Release Win32 ------
Link:
Zone.vcxproj -> C:\Users\xxxxxxxxxxxx\Desktop\Server Source Files\trunk\EQEmuServer\zone\.\..\Build\Zone.exe
FinalizeBuildStatus:
Deleting file ".\../Build/Zone/Release\Zone.unsuccessfulbuild".
Touching ".\../Build/Zone/Release\Zone.lastbuildstate".

Build succeeded.

Time Elapsed 00:29:51.66
========== Build: 3 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========


Thank You Andrew80k for taken your time too compile source codes for others
Thank you all Developers

No errors great job!

Andrew80k
12-16-2011, 03:15 PM
What SQl version are you going to use for this as well? i am using portable server as a base and not a fully installed

I'm not 100% sure, but I think I use Mysql 5.1.

Thanks, Noport. I'll upgrade and give it a try.

Noport
12-16-2011, 04:04 PM
I use Mysql 5.1.Right click on Solution (projects) under Common Properties goto Debug Source Files add C:\Perl\lib\CORE
Don't ask me why i added that there but it works so i'll leave it alone.

pepsiphreak79
12-18-2011, 04:18 AM
my portable uses sql 5.5 i can swap the peral between 5.8 5.10 5.12 and 5.14 very easily im on an old business box p4 2.8 ghz 32bt 2.5gb ram 700 gd of drive space

the currently released build of 2068 acually causes high cpu temp spikes when other games and programs donot as much the eq server really makes that fan rev right up especially when zones first load.
I figure with the origional EQ requirements this doesnt soundright for the server to so heavily out require the game when its only 2 people on the lan playing?

do you think that upping to 2083 and using the vb 10 and perl 5.14 will help reduce or increase cpu usage?

Andrew80k
12-31-2011, 10:10 AM
Not sure if this helps or not, but I'm able to compile the current source on 64-bit openSUSE 12 by modifying the makefiles to reference my 32-bit ActivePerl 5.14.2 install path.

For zone and world I had to fix the GvCV due to 5.14 not returning an lvalue, but the code already compensates for Windows compilers on that issue.

How did you fix the GvCV? I'm running into this issue. Can't find a fix on the web yet.

kalua
12-31-2011, 02:47 PM
How did you fix the GvCV? I'm running into this issue. Can't find a fix on the web yet.

I commented out all of the lines relating to the WIN32 IF test and only left the GvCV_set lines (which occur when WIN32=true).

However, I don't do this anymore and instead specify a path to a 32-bit perl 5.10 directory in the makefiles.

Andrew80k
01-01-2012, 08:41 PM
I was able to get it to compile by modifying some code, but since I did that I want to test it a bit more than normal. I run my test server on linux but I do have an older set up on my laptop that I use to build the binaries. I'll have to some updating to get it going again so it might be a few days before I get an idea if the changes I made are going to work or not. I did use perl 5.14 and mysql 5.1.

dew1960
01-13-2012, 04:27 AM
Hiya!

If you can get the source to compile with c++ 2008 or vs2010 AND using ActivePerl 5.14.x, would you please post a link to download the compiled binaries?

If you would be so kind, maybe post a quick guide with the steps for compiling with ActivePerl 5.14.x (and using MySQL 5.1 or better) with either C++ program (2008 or 2010).

I know it would be much appreciated. I have been driving myself nuts trying to figure it out but then I am quite the noob at compiling. I am trying to learn how to do this myself so I can compile my own later on. I find it all so fascinating and frustrating at the same time.

Thank you Very much for all the support.

trevius
01-13-2012, 06:50 AM
Here is the wiki page for compiling:

http://www.eqemulator.net/wiki/wikka.php?wakka=VS2008

That doesn't cover 2010 or the newer perl version, but it should be basically the same thing other than using the Server10.sln to do the compile for VS2010.

dew1960
01-13-2012, 08:49 AM
Here is the wiki page for compiling:

http://www.eqemulator.net/wiki/wikka.php?wakka=VS2008

That doesn't cover 2010 or the newer perl version, but it should be basically the same thing other than using the Server10.sln to do the compile for VS2010.

I was able to compile with the Sever9, ActivePerl-5.14.2.1402-MSWin32-x86-295342, and VS2010 and got no errors! I am using a Windows 7/64 PC but using the 32bit versions of ActivePerl and MySQL Server 5.1 essentials.

This was encouraging so, I sourced the db and got the maps and quests from svn, copied over the required files and started up the server.

I got a fatal error at the point in zone.exe where it loads the pearl commands. I will try compiling from the server10 project instead.

First, some sleep! TY

Xevious
01-13-2012, 10:31 AM
I've ran a server a little last year without issue, and decided to start new with a clean setup. So far I'm having little luck.

I tried the precompiled 2068 zip that Andrew put out there with the latest PEQ database 2092. That worked minus character inventory wasn't working, so I decided to compile the latest build myself.

I'm using VS2008 Express, Active Perl 5.10 x86, MySql 5.0.85 x86 under Win 2008 R2. Added required directories for includes and lib. Cleaned and built from the server.sln. Quite a number of errors. Based on this thread, moved up to 5.14 x64. Errors. 3 success, 2 fails.

Things like in building world:
2>.\EQWParser.cpp(116) : error C2106: '=' : left operand must be l-value
2>.\EQWParser.cpp(123) : error C2106: '=' : left operand must be l-value

And in zone:
3>.\embperl.cpp(161) : error C2106: '=' : left operand must be l-value
3>.\embperl.cpp(168) : error C2106: '=' : left operand must be l-value

and several warnings in eqluanch that look to affect functionality:
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(40) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(240) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(241) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(281) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(282) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(289) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(290) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(292) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(314) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(315) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(316) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(317) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(318) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(319) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(320) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(321) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(397) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(398) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(401) : warning C4305: '=' : truncation from 'double' to 'float'
5>c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\ru letypes.h(402) : warning C4305: '=' : truncation from 'double' to 'float'
5>..\common\EQStream.cpp(73) : warning C4018: '>' : signed/unsigned mismatch
5>..\common\EQStream.cpp(331) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
5>..\common\EQStream.cpp(382) : warning C4018: '>' : signed/unsigned mismatch
5>..\common\EQStream.cpp(397) : warning C4018: '>' : signed/unsigned mismatch
5>..\common\EQStream.cpp(414) : warning C4244: 'argument' : conversion from 'uint64' to 'u_long', possible loss of data
5>..\common\EQStream.cpp(414) : warning C4244: 'argument' : conversion from 'uint64' to 'u_long', possible loss of data
5>..\common\EQStream.cpp(539) : warning C4018: '>' : signed/unsigned mismatch
5>..\common\EQStream.cpp(551) : warning C4018: '>' : signed/unsigned mismatch
5>..\common\EQStream.cpp(602) : warning C4244: 'argument' : conversion from 'long' to 'uint16', possible loss of data
5>..\common\EQStream.cpp(602) : warning C4244: 'argument' : conversion from 'long' to 'uint16', possible loss of data
5>..\common\EQStream.cpp(603) : warning C4244: 'argument' : conversion from 'long' to 'uint16', possible loss of data
5>..\common\EQStream.cpp(660) : warning C4018: '>' : signed/unsigned mismatch
5>..\common\EQStream.cpp(663) : warning C4244: 'initializing' : conversion from 'long' to 'uint16', possible loss of data
5>..\common\EQStream.cpp(703) : warning C4018: '>' : signed/unsigned mismatch
5>..\common\EQStream.cpp(772) : warning C4244: 'argument' : conversion from 'unsigned long' to 'u_short', possible loss of data
5>..\common\EQStream.cpp(844) : warning C4244: 'argument' : conversion from 'time_t' to 'u_long', possible loss of data
5>..\common\EQStream.cpp(1082) : warning C4018: '>' : signed/unsigned mismatch
5>..\common\EQStream.cpp(1119) : warning C4018: '>' : signed/unsigned mismatch
5>EQPacket.cpp
5>..\common\EQPacket.cpp(206) : warning C4244: '=' : conversion from 'const uint16' to 'unsigned char', possible loss of data
5>..\common\EQPacket.cpp(218) : warning C4244: '=' : conversion from 'uint16' to 'unsigned char', possible loss of data
5>..\common\EQPacket.cpp(343) : warning C4244: 'initializing' : conversion from 'unsigned long' to 'uint16', possible loss of data

Guess I'll try VS2010 and Perl 5.14x86, but if anyone has suggestions, please let me know.

Xevious
01-13-2012, 11:10 AM
For fun also updated to MySQL 5.1.61x86, and switched Perl to 5.14x86 (still using VC2008 Express). Same errors. Guess I'll try VC2010Express now.

kalua
01-13-2012, 11:19 AM
GvCV no longer returns l-values from perl 5.13 onward.

I worked around that by instead running the GvCV_set commands.

Last time I looked at the code, on a Windows box those should load instead of the GvCV.

This might help:
http://mail-archives.apache.org/mod_mbox/perl-dev/201101.mbox/%3CAANLkTima3pL3s5XyTYQogu+OiaiaswRFwhLunDC3LQ+f@m ail.gmail.com%3E

edit:
this is more official:
http://search.cpan.org/~jesse/perl-5.14.0-RC1/pod/perldelta.pod#GvCV()_and_GvGP()_are_no_longer_lval ues

Xevious
01-13-2012, 12:25 PM
Note: I'm using vs2010 pro and 5.14 perl
Note: Right Click Zone,world,ucs,queryserv,eqlaunch,EmuShareMem
go down to properties You'll have to add for each Solution (projects) Include and LIbrary
after adding make sure you click apply


Wow, what a royal pain that is in 2010. Who in the world at Microsoft thought it was a good idea to throw away the ability to set configurations globally...:x

Using 2010 and all 32 bit components (Perl 5.14, MySQL 5.1.x).

In EMUShareMem:
MMF.cpp(325): warning C4532: 'return' : jump out of __finally block has undefined behavior during termination handling

In World:
c:\eqemusvnfiles\eqemu\trunk\eqemuserver\common\so cketlib\httpsocket.cpp(115): warning C4715: 'HTTPSocket::ProcessReceivedData' : not all control paths return a value

Then it went downhill.

In eqlaunch:
4> Generating Code...
4>packet_functions.obj : error LNK2019: unresolved external symbol _deflateEnd referenced in function "int __cdecl DeflatePacket(unsigned char const *,int,unsigned char *,int)" (?DeflatePacket@@YAHPBEHPAEH@Z)
4>packet_functions.obj : error LNK2019: unresolved external symbol _deflate referenced in function "int __cdecl DeflatePacket(unsigned char const *,int,unsigned char *,int)" (?DeflatePacket@@YAHPBEHPAEH@Z)
4>packet_functions.obj : error LNK2019: unresolved external symbol _deflateInit_ referenced in function "int __cdecl DeflatePacket(unsigned char const *,int,unsigned char *,int)" (?DeflatePacket@@YAHPBEHPAEH@Z)
4>packet_functions.obj : error LNK2019: unresolved external symbol _inflateEnd referenced in function "unsigned int __cdecl InflatePacket(unsigned char const *,unsigned int,unsigned char *,unsigned int,bool)" (?InflatePacket@@YAIPBEIPAEI_N@Z)
4>packet_functions.obj : error LNK2019: unresolved external symbol _inflate referenced in function "unsigned int __cdecl InflatePacket(unsigned char const *,unsigned int,unsigned char *,unsigned int,bool)" (?InflatePacket@@YAIPBEIPAEI_N@Z)
4>packet_functions.obj : error LNK2019: unresolved external symbol _inflateInit2_ referenced in function "unsigned int __cdecl InflatePacket(unsigned char const *,unsigned int,unsigned char *,unsigned int,bool)" (?InflatePacket@@YAIPBEIPAEI_N@Z)
4>.\..\Build\eqlaunch.exe : fatal error LNK1120: 6 unresolved externals

Xevious
01-13-2012, 12:25 PM
GvCV no longer returns l-values from perl 5.13 onward.

I worked around that by instead running the GvCV_set commands.

Last time I looked at the code, on a Windows box those should load instead of the GvCV.

This might help:
http://mail-archives.apache.org/mod_mbox/perl-dev/201101.mbox/%3CAANLkTima3pL3s5XyTYQogu+OiaiaswRFwhLunDC3LQ+f@m ail.gmail.com%3E

edit:
this is more official:
http://search.cpan.org/~jesse/perl-5.14.0-RC1/pod/perldelta.pod#GvCV()_and_GvGP()_are_no_longer_lval ues

Thanks much. I'll take a look.

Xevious
01-13-2012, 01:23 PM
Well to hopefully close this out, I should have stuck with where I was in the beginning. All the Perl 5.14 and x64 talk threw me off, so I went back to my VS2008, Perl 5.10 x86 setup, and got myself up to MYSQL 5.1.x x86 (instead of the 5.0.x I had been running under a previous version), and I was able to compile without errors. I still had 82 warnings, mostly around the data type errors I received earlier, but hopefully it will run cleanly.

I'm loading the PEQ database again now and will give it a go shortly. Thanks for the comments.

joligario
01-13-2012, 02:19 PM
Just an FYI. If you have the properties window open on VS2010 (including express), you can highlight all elements of the project to add the lib/include directories at one time.

Andrew80k
01-16-2012, 11:43 AM
For some reason the emu perl stuff, perl5.14 and vs2008 don't seem to be compatible. I haven't taken the time to mess with it too much. I got it to compile as well, but it kept barfing in zone.exe loading the perl commands. I haven't tried it yet with the debugger on to see if I can get anything else out of it. perl5.10 and 5.12 both work. If you move to 5.12, you'll need to edit the code and config to include those libraries, though you can probably just rename the perl512 library to perl510 and it would likely work. Seems like I read that someone did that.

dew1960
01-16-2012, 11:58 AM
For some reason the emu perl stuff, perl5.14 and vs2008 don't seem to be compatible. I haven't taken the time to mess with it too much. I got it to compile as well, but it kept barfing in zone.exe loading the perl commands. I haven't tried it yet with the debugger on to see if I can get anything else out of it. perl5.10 and 5.12 both work. If you move to 5.12, you'll need to edit the code and config to include those libraries, though you can probably just rename the perl512 library to perl510 and it would likely work. Seems like I read that someone did that.

Cool, I will try it with 5.12. I didn't realize I could download 5.12. I thought the only version available now was 5.14, LOL.

Did you by any chance upload your compiled binaries with 5.12 someplace?

I don't know how to edit the code/config to use the 5.12 perl.

Thanks for your help.

lerxst2112
01-16-2012, 03:26 PM
Open solution.

Search in all files for "perl510".

See these lines:

C:\EQEmu\ServerCode\trunk\EQEmuServer\world\EQWPar ser.cpp(42):#pragma comment(lib, "perl510.lib")
C:\EQEmu\ServerCode\trunk\EQEmuServer\zone\embperl .cpp(33):#pragma comment(lib, "perl510.lib")


Change to perl512.

Andrew80k
01-16-2012, 04:22 PM
Cool, I will try it with 5.12. I didn't realize I could download 5.12. I thought the only version available now was 5.14, LOL.

Did you by any chance upload your compiled binaries with 5.12 someplace?

I don't know how to edit the code/config to use the 5.12 perl.

Thanks for your help.

I actually don't include the ancillary software in the precompiled binaries package. It would make it bigger and it's really not hard to download that stuff and install it from the source anyway. If you want to use the precompiled binaries you'll want to use 5.10 until I can figure out why 5.14 isn't working. If you're going to compile it yourself, then get what ever makes you happy.

Speedz
01-17-2012, 02:55 AM
I had a heck of a time searching and trying different ways of getting this to compile. I have some mixed success at this point.

Win7 (64 bit)
Studio 2010pro sp1 (64 bit)
active perl 5.14.2 1402 (32bit)
mysql 5.1 (32bit)

Trying to build 2097 Release with bots.

(all 32bit)
I installed perl 5.8.9.827 then backed up the perl directory and uninstalled. Then deleted what was remaining.

Then installed perl 5.10.1.1007 backed up the perl directory and uninstalled and deleted what was remaining.

Finally installed perl 5.14.2.1402. I then copied the perl lib and dll files from the previous versions into the installed directories along side the 5.14 files.

I double checked the includes and lib entries in studio on all the properties and made sure they matched the previous post in order and contents.

So far I have the best success with this but I still have errors and a skipped and failed build.

Any thoughts on this?

Warning 1 warning C4532: 'return' : jump out of __finally block has undefined behavior during termination handling D:\EQEmu\EQEmuServer\EMuShareMem\MMF.cpp 325 1 EMuShareMem
Warning 2 warning C4715: 'HTTPSocket::ProcessReceivedData' : not all control paths return a value d:\eqemu\eqemuserver\common\socketlib\httpsocket.c pp 115 1 World
Warning 3 warning C4018: '<' : signed/unsigned mismatch D:\EQEmu\EQEmuServer\ucs\clientlist.cpp 1012 1 ucs
Warning 4 warning C4018: '<' : signed/unsigned mismatch D:\EQEmu\EQEmuServer\ucs\clientlist.cpp 1314 1 ucs
Warning 5 warning C4018: '<' : signed/unsigned mismatch D:\EQEmu\EQEmuServer\ucs\clientlist.cpp 1317 1 ucs
Warning 6 warning C4018: '<' : signed/unsigned mismatch D:\EQEmu\EQEmuServer\ucs\clientlist.cpp 1427 1 ucs
Warning 7 warning C4018: '<' : signed/unsigned mismatch D:\EQEmu\EQEmuServer\ucs\clientlist.cpp 1430 1 ucs
Warning 8 warning C4244: 'initializing' : conversion from 'time_t' to 'int', possible loss of data D:\EQEmu\EQEmuServer\ucs\database.cpp 586 1 ucs
Warning 9 warning C4244: '=' : conversion from 'my_ulonglong' to 'int32', possible loss of data D:\EQEmu\EQEmuServer\common\dbcore.cpp 199 1 ucs
Warning 10 warning C4244: '=' : conversion from 'my_ulonglong' to 'int32', possible loss of data D:\EQEmu\EQEmuServer\common\dbcore.cpp 201 1 ucs
Warning 11 warning C4244: '=' : conversion from 'const uint16' to 'unsigned char', possible loss of data D:\EQEmu\EQEmuServer\common\EQPacket.cpp 206 1 ucs
Warning 12 warning C4244: '=' : conversion from 'uint16' to 'unsigned char', possible loss of data D:\EQEmu\EQEmuServer\common\EQPacket.cpp 218 1 ucs
Warning 13 warning C4244: 'initializing' : conversion from 'unsigned long' to 'uint16', possible loss of data D:\EQEmu\EQEmuServer\common\EQPacket.cpp 343 1 ucs
Warning 14 warning C4018: '>' : signed/unsigned mismatch D:\EQEmu\EQEmuServer\common\EQStream.cpp 73 1 ucs
Warning 15 warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) D:\EQEmu\EQEmuServer\common\EQStream.cpp 331 1 ucs
Warning 16 warning C4018: '>' : signed/unsigned mismatch D:\EQEmu\EQEmuServer\common\EQStream.cpp 382 1 ucs
Warning 17 warning C4018: '>' : signed/unsigned mismatch D:\EQEmu\EQEmuServer\common\EQStream.cpp 397 1 ucs
Warning 18 warning C4244: 'argument' : conversion from 'uint64' to 'u_long', possible loss of data D:\EQEmu\EQEmuServer\common\EQStream.cpp 414 1 ucs
Warning 19 warning C4244: 'argument' : conversion from 'uint64' to 'u_long', possible loss of data D:\EQEmu\EQEmuServer\common\EQStream.cpp 414 1 ucs
Warning 20 warning C4018: '>' : signed/unsigned mismatch D:\EQEmu\EQEmuServer\common\EQStream.cpp 539 1 ucs
Warning 21 warning C4018: '>' : signed/unsigned mismatch D:\EQEmu\EQEmuServer\common\EQStream.cpp 551 1 ucs
Warning 22 warning C4244: 'argument' : conversion from 'long' to 'uint16', possible loss of data D:\EQEmu\EQEmuServer\common\EQStream.cpp 602 1 ucs
Warning 23 warning C4244: 'argument' : conversion from 'long' to 'uint16', possible loss of data D:\EQEmu\EQEmuServer\common\EQStream.cpp 602 1 ucs
Warning 24 warning C4244: 'argument' : conversion from 'long' to 'uint16', possible loss of data D:\EQEmu\EQEmuServer\common\EQStream.cpp 603 1 ucs
Warning 25 warning C4018: '>' : signed/unsigned mismatch D:\EQEmu\EQEmuServer\common\EQStream.cpp 660 1 ucs
Warning 26 warning C4244: 'initializing' : conversion from 'long' to 'uint16', possible loss of data D:\EQEmu\EQEmuServer\common\EQStream.cpp 663 1 ucs
Warning 27 warning C4018: '>' : signed/unsigned mismatch D:\EQEmu\EQEmuServer\common\EQStream.cpp 703 1 ucs
Warning 28 warning C4244: 'argument' : conversion from 'unsigned long' to 'u_short', possible loss of data D:\EQEmu\EQEmuServer\common\EQStream.cpp 772 1 ucs
Warning 29 warning C4244: 'argument' : conversion from 'time_t' to 'u_long', possible loss of data D:\EQEmu\EQEmuServer\common\EQStream.cpp 844 1 ucs
Warning 30 warning C4018: '>' : signed/unsigned mismatch D:\EQEmu\EQEmuServer\common\EQStream.cpp 1082 1 ucs
Warning 31 warning C4018: '>' : signed/unsigned mismatch D:\EQEmu\EQEmuServer\common\EQStream.cpp 1119 1 ucs
Warning 32 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. d:\eqemu\eqemuserver\common\seperator.h 42 1 ucs
Warning 33 warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\md5.cpp 61 1 ucs
Warning 34 warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning) D:\EQEmu\EQEmuServer\common\Mutex.cpp 128 1 ucs
Warning 35 warning C4244: '=' : conversion from 'double' to 'float', possible loss of data D:\EQEmu\EQEmuServer\common\rulesys.cpp 177 1 ucs
Warning 36 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 40 1 ucs
Warning 37 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 240 1 ucs
Warning 38 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 241 1 ucs
Warning 39 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 281 1 ucs
Warning 40 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 282 1 ucs
Warning 41 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 289 1 ucs
Warning 42 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 290 1 ucs
Warning 43 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 292 1 ucs
Warning 44 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 314 1 ucs
Warning 45 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 315 1 ucs
Warning 46 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 316 1 ucs
Warning 47 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 317 1 ucs
Warning 48 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 318 1 ucs
Warning 49 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 319 1 ucs
Warning 50 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 320 1 ucs
Warning 51 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 321 1 ucs
Warning 52 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 397 1 ucs
Warning 53 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 398 1 ucs
Warning 54 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 401 1 ucs
Warning 55 warning C4305: '=' : truncation from 'double' to 'float' d:\eqemu\eqemuserver\common\ruletypes.h 402 1 ucs
Warning 56 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\serverinfo.cpp 32 1 ucs
Warning 57 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\serverinfo.cpp 48 1 ucs
Warning 58 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\serverinfo.cpp 53 1 ucs
Warning 59 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\serverinfo.cpp 57 1 ucs
Warning 60 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\serverinfo.cpp 61 1 ucs
Warning 61 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\serverinfo.cpp 66 1 ucs
Warning 62 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\serverinfo.cpp 70 1 ucs
Warning 63 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\serverinfo.cpp 74 1 ucs
Warning 64 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\serverinfo.cpp 81 1 ucs
Warning 65 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\serverinfo.cpp 85 1 ucs
Warning 66 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\serverinfo.cpp 89 1 ucs
Warning 67 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\serverinfo.cpp 93 1 ucs
Warning 68 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\serverinfo.cpp 97 1 ucs
Warning 69 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\SharedLibrary.cpp 112 1 ucs
Warning 70 warning C4244: '=' : conversion from 'time_t' to 'long', possible loss of data D:\EQEmu\EQEmuServer\common\timer.cpp 68 1 ucs
Warning 71 warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. d:\eqemu\eqemuserver\common\tinyxml\tinyxml.h 280 1 ucs
Warning 72 warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. d:\eqemu\eqemuserver\common\tinyxml\tinyxml.h 280 1 ucs
Warning 73 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\tinyxml\tinyxml.cpp 103 1 ucs
Warning 74 warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\tinyxml\tinyxml.cpp 126 1 ucs
Warning 75 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\tinyxml\tinyxml.cpp 718 1 ucs
Warning 76 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\tinyxml\tinyxml.cpp 726 1 ucs
Warning 77 warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\tinyxml\tinyxml.cpp 944 1 ucs
Warning 78 warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\tinyxml\tinyxml.cpp 989 1 ucs
Warning 79 warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\tinyxml\tinyxml.cpp 1122 1 ucs
Warning 80 warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\tinyxml\tinyxml.cpp 1129 1 ucs
Warning 81 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\tinyxml\tinyxml.cpp 1137 1 ucs
Warning 82 warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. D:\EQEmu\EQEmuServer\common\tinyxml\tinyxml.cpp 1144 1 ucs
Warning 83 warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. d:\eqemu\eqemuserver\common\tinyxml\tinyxml.h 280 1 ucs
Warning 84 warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. d:\eqemu\eqemuserver\common\tinyxml\tinyxml.h 280 1 ucs

lerxst2112
01-17-2012, 05:12 AM
Those are warnings, not errors, and they are normal. Take a look again and see if you can post the actual errors. Not sure why you went through the process with perl 5.8 and 5.10, all you need is 5.14 installed fresh.

Speedz
01-17-2012, 06:07 AM
Thats the thing, it gave no errors, just failed one then skipped another.
I thought it odd that I got a fail with no errors only warnings.

I got sick of trying to figure out the perl issues so I covered all the bases.
I didn't really want to mod the code or rename files. I always seem to get in a bind eventually if I do. Just a preference I guess.

dew1960
01-17-2012, 06:26 PM
I actually don't include the ancillary software in the precompiled binaries package. It would make it bigger and it's really not hard to download that stuff and install it from the source anyway. If you want to use the precompiled binaries you'll want to use 5.10 until I can figure out why 5.14 isn't working. If you're going to compile it yourself, then get what ever makes you happy.

Thanks. I would use perl 5.10 if I could get it. There seems to be no way to download it now unless you have $999 to spend on the business version or pro version. I will try to compile it with 5.12 and follow your advice for changing the references to perl510. Thanks for your help :)

Actually, I am playing on the Desdemona server now and it has the new bot code already. I like their custom content too. The only thing is they don't have all the LDoN camps up yet, just Butcherblock but I am hoping they will have the others in soon. I may not need to compile my own but I probably will anyway, just for the experience because I find it interesting. I am learning this stuff now, LOL.

joligario
01-17-2012, 07:10 PM
Perl 5.10 comes standard in XAMPP. That's what I'm using.

dew1960
01-18-2012, 04:34 AM
Perl 5.10 comes standard in XAMPP. That's what I'm using.

Good to know! I will give that a try I guess since everything is built around Perl 5.10~

Thanks :)

Andrew80k
01-18-2012, 11:22 AM
5.14 should work in your set up though. You should have some build logs. Without your error we can't really tell you what to fix. Find the build logs and take a look in them to see what the error is. If it fails to build it is because there is an error. If you find it, let us know.

dew1960
01-19-2012, 10:49 AM
I tried using perl510 that comes with Xampp but it does not come with PPM (Pearl Packet Manager) so I could not do the PPM installs. It did compile nicely tho.

Using Activeperl 5.12 worked nicely after following your advice and doing a find/replace on the source for "perl510.lib" and replacing with "perl512.lib". I am using a server I compiled the binaries with this way. Thanks for your help with that.

It stands to reason that I should be able to do the same with Perl 5.14 so I will try that next just to see if it works but I am not in any rush right now since my server is up and running!

Thanks again Andrew80k and everyone else for the support. :)

Next I want to get the peqphpeditor up and running so I can fix a few minor things like putting backpacks on the Merchant in the tutorialb zone and on some merchants in PoK.

lerxst2112
01-19-2012, 04:23 PM
If you are using Visual Studio 2010 the default is to expect Perl 5.14.

If you are using Visual Studio 2008 and try to make it use Perl 5.14 it will compile, but your zones will crash and you will be unhappy. There's a reason it isn't the default on that compiler.

dew1960
01-19-2012, 07:29 PM
5.14 should work in your set up though. You should have some build logs. Without your error we can't really tell you what to fix. Find the build logs and take a look in them to see what the error is. If it fails to build it is because there is an error. If you find it, let us know.

OK, took your advice and tried it again. I compiled with VS c++ 2010, 32bit build, release bots.

eqlaunch failed, the other 4 were successful, and of course it skipped the queryserver part since that is only for the 64bit version.

Here is the build log for eqlaunch:

Build started 1/19/2012 6:08:57 PM.
1>Project "C:\Source\trunk\EQEmuServer\eqlaunch\eqlaunch.vcxp roj" on node 2 (build target(s)).
1>InitializeBuildStatus:
Touching ".\../Build/eqlaunch/Release\eqlaunch.unsuccessfulbuild".
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /I../perl/CORE /I../zlib/include /I"../mysql 5.6/include" /Zi /nologo /W3 /WX- /O2 /Ob1 /Oy- /D _WINDOWS /D NDEBUG /D WIN32 /D _CONSOLE /D EQDEBUG=5 /D _MBCS /GF /Gm- /EHsc /MD /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Fo".\../Build/eqlaunch/" /Fd".\../Build/eqlaunch/vc100.pdb" /Gd /TP /analyze- /errorReport:prompt eqlaunch.cpp worldserver.cpp ZoneLaunch.cpp ..\common\debug.cpp ..\common\EmuTCPConnection.cpp ..\common\EmuTCPServer.cpp ..\common\EQEmuConfig.cpp ..\common\logsys.cpp ..\common\logsys_eqemu.cpp ..\common\md5.cpp ..\common\misc.cpp ..\common\MiscFunctions.cpp ..\common\Mutex.cpp ..\common\packet_dump.cpp ..\common\packet_functions.cpp ..\common\ProcLauncher.cpp ..\common\TCPConnection.cpp ..\common\TCPServer.cpp ..\common\timer.cpp ..\common\tinyxml\tinystr.cpp ..\common\tinyxml\tinyxml.cpp ..\common\tinyxml\tinyxmlerror.cpp ..\common\tinyxml\tinyxmlparser.cpp ..\common\worldconn.cpp ..\common\XMLParser.cpp
eqlaunch.cpp
worldserver.cpp
ZoneLaunch.cpp
debug.cpp
EmuTCPConnection.cpp
EmuTCPServer.cpp
EQEmuConfig.cpp
logsys.cpp
logsys_eqemu.cpp
md5.cpp
1>c:\source\trunk\eqemuserver\common\../common/seperator.h(42): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
1>..\common\md5.cpp(61): warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(363) : see declaration of '_snprintf'
misc.cpp
MiscFunctions.cpp
Mutex.cpp
1>..\common\Mutex.cpp(128): warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning)
packet_dump.cpp
packet_functions.cpp
ProcLauncher.cpp
TCPConnection.cpp
TCPServer.cpp
timer.cpp
1>..\common\timer.cpp(68): warning C4244: '=' : conversion from 'time_t' to 'long', possible loss of data
tinystr.cpp
1>c:\source\trunk\eqemuserver\common\tinyxml\tinyxml .h(280): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(188) : see declaration of 'strncpy'
Generating Code...
Compiling...
tinyxml.cpp
1>c:\source\trunk\eqemuserver\common\tinyxml\tinyxml .h(280): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(188) : see declaration of 'strncpy'
1>..\common\tinyxml\tinyxml.cpp(103): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
1>..\common\tinyxml\tinyxml.cpp(126): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(105) : see declaration of 'strcpy'
1>..\common\tinyxml\tinyxml.cpp(718): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
1>..\common\tinyxml\tinyxml.cpp(726): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
1>..\common\tinyxml\tinyxml.cpp(944): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen'
1>..\common\tinyxml\tinyxml.cpp(989): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(234) : see declaration of 'fopen'
1>..\common\tinyxml\tinyxml.cpp(1122): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(325) : see declaration of 'sscanf'
1>..\common\tinyxml\tinyxml.cpp(1129): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(325) : see declaration of 'sscanf'
1>..\common\tinyxml\tinyxml.cpp(1137): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
1>..\common\tinyxml\tinyxml.cpp(1144): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\stdio.h(371) : see declaration of 'sprintf'
tinyxmlerror.cpp
1>c:\source\trunk\eqemuserver\common\tinyxml\tinyxml .h(280): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(188) : see declaration of 'strncpy'
tinyxmlparser.cpp
1>c:\source\trunk\eqemuserver\common\tinyxml\tinyxml .h(280): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\string.h(188) : see declaration of 'strncpy'
worldconn.cpp
XMLParser.cpp
Generating Code...
Link:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:".\..\Build\eqlaunch.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:../perl/CORE /LIBPATH:../zlib/lib /LIBPATH:"../mysql 5.6/lib" zlib.lib wsock32.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:".\../Build/eqlaunch/Release\eqlaunch.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /PDB:".\../Build/eqlaunch/eqlaunch.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE:NO /IMPLIB:".\..\Build\eqlaunch.lib" /MACHINE:X86 .\../Build/eqlaunch/eqlaunch.obj
.\../Build/eqlaunch/worldserver.obj
.\../Build/eqlaunch/ZoneLaunch.obj
.\../Build/eqlaunch/debug.obj
.\../Build/eqlaunch/EmuTCPConnection.obj
.\../Build/eqlaunch/EmuTCPServer.obj
.\../Build/eqlaunch/EQEmuConfig.obj
.\../Build/eqlaunch/logsys.obj
.\../Build/eqlaunch/logsys_eqemu.obj
.\../Build/eqlaunch/md5.obj
.\../Build/eqlaunch/misc.obj
.\../Build/eqlaunch/MiscFunctions.obj
.\../Build/eqlaunch/Mutex.obj
.\../Build/eqlaunch/packet_dump.obj
.\../Build/eqlaunch/packet_functions.obj
.\../Build/eqlaunch/ProcLauncher.obj
.\../Build/eqlaunch/TCPConnection.obj
.\../Build/eqlaunch/TCPServer.obj
.\../Build/eqlaunch/timer.obj
.\../Build/eqlaunch/tinystr.obj
.\../Build/eqlaunch/tinyxml.obj
.\../Build/eqlaunch/tinyxmlerror.obj
.\../Build/eqlaunch/tinyxmlparser.obj
.\../Build/eqlaunch/worldconn.obj
.\../Build/eqlaunch/XMLParser.obj
1>packet_functions.obj : error LNK2019: unresolved external symbol _deflateEnd referenced in function "int __cdecl DeflatePacket(unsigned char const *,int,unsigned char *,int)" (?DeflatePacket@@YAHPBEHPAEH@Z)
1>packet_functions.obj : error LNK2019: unresolved external symbol _deflate referenced in function "int __cdecl DeflatePacket(unsigned char const *,int,unsigned char *,int)" (?DeflatePacket@@YAHPBEHPAEH@Z)
1>packet_functions.obj : error LNK2019: unresolved external symbol _deflateInit_ referenced in function "int __cdecl DeflatePacket(unsigned char const *,int,unsigned char *,int)" (?DeflatePacket@@YAHPBEHPAEH@Z)
1>packet_functions.obj : error LNK2019: unresolved external symbol _inflateEnd referenced in function "unsigned int __cdecl InflatePacket(unsigned char const *,unsigned int,unsigned char *,unsigned int,bool)" (?InflatePacket@@YAIPBEIPAEI_N@Z)
1>packet_functions.obj : error LNK2019: unresolved external symbol _inflate referenced in function "unsigned int __cdecl InflatePacket(unsigned char const *,unsigned int,unsigned char *,unsigned int,bool)" (?InflatePacket@@YAIPBEIPAEI_N@Z)
1>packet_functions.obj : error LNK2019: unresolved external symbol _inflateInit2_ referenced in function "unsigned int __cdecl InflatePacket(unsigned char const *,unsigned int,unsigned char *,unsigned int,bool)" (?InflatePacket@@YAIPBEIPAEI_N@Z)
1>.\..\Build\eqlaunch.exe : fatal error LNK1120: 6 unresolved externals
1>Done Building Project "C:\Source\trunk\EQEmuServer\eqlaunch\eqlaunch.vcxp roj" (build target(s)) -- FAILED.

Build FAILED.

Time Elapsed 00:00:24.10

I don't know enough about this to debug it, maybe someone can take a look and tell me what to do. If so, I appreciate the support! Thanks folks.

joligario
01-19-2012, 08:48 PM
I tried using perl510 that comes with Xampp but it does not come with PPM (Pearl Packet Manager) so I could not do the PPM installs. It did compile nicely tho.

Just an FYI since you aren't using it anymore, but PPM is there. Perhaps you didn't include the perl/bin in your environment variables?

lerxst2112
01-19-2012, 11:40 PM
Try and post errors only.


1>packet_functions.obj : error LNK2019: unresolved external symbol _deflateEnd referenced in function "int __cdecl DeflatePacket(unsigned char const *,int,unsigned char *,int)" (?DeflatePacket@@YAHPBEHPAEH@Z)
1>packet_functions.obj : error LNK2019: unresolved external symbol _deflate referenced in function "int __cdecl DeflatePacket(unsigned char const *,int,unsigned char *,int)" (?DeflatePacket@@YAHPBEHPAEH@Z)
1>packet_functions.obj : error LNK2019: unresolved external symbol _deflateInit_ referenced in function "int __cdecl DeflatePacket(unsigned char const *,int,unsigned char *,int)" (?DeflatePacket@@YAHPBEHPAEH@Z)
1>packet_functions.obj : error LNK2019: unresolved external symbol _inflateEnd referenced in function "unsigned int __cdecl InflatePacket(unsigned char const *,unsigned int,unsigned char *,unsigned int,bool)" (?InflatePacket@@YAIPBEIPAEI_N@Z)
1>packet_functions.obj : error LNK2019: unresolved external symbol _inflate referenced in function "unsigned int __cdecl InflatePacket(unsigned char const *,unsigned int,unsigned char *,unsigned int,bool)" (?InflatePacket@@YAIPBEIPAEI_N@Z)
1>packet_functions.obj : error LNK2019: unresolved external symbol _inflateInit2_ referenced in function "unsigned int __cdecl InflatePacket(unsigned char const *,unsigned int,unsigned char *,unsigned int,bool)" (?InflatePacket@@YAIPBEIPAEI_N@Z)


These are all from zlib.lib being missing.