Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Tutorials/Howto's > Tutorials--Outdated Use the Wiki > Tutorials::Discussion

Tutorials::Discussion Discuss Tutorials here. Do NOT POST tutorials here, they belong on the wiki.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-20-2005, 05:30 AM
Cutter
Sarnak
 
Join Date: Sep 2004
Posts: 85
Default Sorry to bump an old post

Is this tutorial still correct Cis? and if it isnt can or do you mind updating it please and how to get to the "main" branch of the cvs of the source i believe that would be 6.0 DR2 not sure though..

i dont know the status of DR3 myself... its been awhile and lots has changed so im trying to keep up but do new stuff

Thanks in advance
Reply With Quote
  #2  
Old 05-31-2005, 07:16 PM
arigo
Fire Beetle
 
Join Date: May 2005
Posts: 20
Red face

Why are my compiled executes like 3x larger than the precompiled version you can download on sourceforge? I disabled debug and everything, It's annoying. My compiled version also uses more bandwidth per client.
Reply With Quote
  #3  
Old 06-02-2005, 05:23 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Quote:
Originally Posted by arigo
Why are my compiled executes like 3x larger than the precompiled version you can download on sourceforge? I disabled debug and everything, It's annoying. My compiled version also uses more bandwidth per client.
It sounds like when you're compiling your including alot more features into your compiles than what comes in the precompiles, assuming that debug really is shut off..I'd check that again...
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #4  
Old 06-02-2005, 06:24 AM
arigo
Fire Beetle
 
Join Date: May 2005
Posts: 20
Default

Quote:
Originally Posted by Cisyouc
It sounds like when you're compiling your including alot more features into your compiles than what comes in the precompiles, assuming that debug really is shut off..I'd check that again...
I am using release as active cofiguration. As far as checking into making sure debug is shut off, where do I do this? I went into the project settings and set debug info to none.
Reply With Quote
  #5  
Old 06-02-2005, 06:55 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

The first thing to check is to see, under preprocessor definitions (see tutorial for where that is), that EQDEBUG=0.
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #6  
Old 06-02-2005, 07:01 AM
arigo
Fire Beetle
 
Join Date: May 2005
Posts: 20
Default

Quote:
Originally Posted by Cisyouc
The first thing to check is to see, under preprocessor definitions (see tutorial for where that is), that EQDEBUG=0.
Well, that wasn't in my preprocessor definitions. However, "NDEBUG" /D was. I added EQDEBUG=0 and went to compile, and my execute came out same size.

Edit: actually "NDEBUG" /D was was a part of common options. My bad. Still, EQDEBUG=0 isn't effective.

Last edited by arigo; 06-02-2005 at 03:04 PM..
Reply With Quote
  #7  
Old 06-02-2005, 02:41 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Quote:
Originally Posted by arigo
Well, that wasn't in my preprocessor definitions. However, "NDEBUG" /D was. I added EQDEBUG=0 and went to compile, and my execute came out same size.

Edit: actually "NDEBUG" /D was was a part of common options. My bad. Still, EQDEBUG=0 isn't effective.
Still, the most likely suspect is the fact that you probably have more things defined than the precompiles, or the precompiles are of an earlier version.
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:47 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3