.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   YaPB (http://forums.bots-united.com/forumdisplay.php?f=55)
-   -   YaPB compile - dll size is big? Help~ (http://forums.bots-united.com/showthread.php?t=7569)

szfzafa 18-04-2010 07:49

YaPB compile - dll size is big? Help~
 
*_* sorry 4 my poor English & coding skills...:sweatdrop:

I got the sourcecode from CSO-nst, the original yapb.dll is 182 KB in size, version: 2.0.0.864
I compiled the project with VS2005 but got at least 428KB even with perference for size..:unsure:

Really want to know is it due to my wrong settings for the project? or I didn't have asm files(maybe generated in debug)?

Someone help me.. plz~~ thx~:santa:

Whistler 19-04-2010 07:37

Re: YaPB compile - dll size is big? Help~
 
try building with the "Release" configuration instead of the "Debug" one.
btw, I think the code you have is too old and maybe you can try the latest version instead -> http://code.google.com/p/yapb

szfzafa 19-04-2010 09:02

Re: YaPB compile - dll size is big? Help~
 
Already built with the "Release" configuration, for "Debug" I got error - missing asm files(debug/asm/xxx.asm)

szfzafa 19-04-2010 10:16

Re: YaPB compile - dll size is big? Help~
 
I downloaded the files from google code, compiled using VS2005, and got 576KB :'(
now i'm movin to VS2008..

The Storm 20-04-2010 19:48

Re: YaPB compile - dll size is big? Help~
 
You will see almost no any difference. About VS 2005-2008 - even in release mode still basic debug info is generated. You can turn it off on the C++ general settings by setting debug information format to disabled and also on the linker settings->debugging, select "no" on generate debug info. If the size is still big you are probably linking with the static C and C++ runtime, which you can change again from the C++ general settings->Code generation->Runtime library. You can switch to the DLL versions of the libraries but doing so you will have to install the VC++ redistributable package(~2MB) on each PC that you are going to use the bot.

szfzafa 02-05-2010 06:48

Re: YaPB compile - dll size is big? Help~
 
Thanks for your detailed instructions~


All times are GMT +2. The time now is 07:44.

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