Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Call To Power II > CtP2-Source Code Project > COMPILE: Getting the source to compile
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
CivGroups
CTP2 Source Code Project (59): Not a Member - Join

bottom of page
  
Author
Thread   
Pages (8): [ <<   5   6   7   8   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:31
  Old Post 01-07-2005 20:51 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#211 Report this post to a moderator
Got spare money?

Ok, I finally got this:

code:
--------------------Configuration: ctp2 - Win32 Final-------------------- Linking... ctp2.exe - 0 error(s), 0 warning(s)


that was it, no compiling like before and it was kind of fast. Its 7.26 MB bigger than the recent build. Should I have any concerns?

tombom is offline tombom
Chieftain
Pining for the fjords
Oct 2004
time: 05:31
  Old Post 01-07-2005 20:59
Edit/Delete Message Reply w/Quote
#212 Report this post to a moderator
Remove this text

Your last errors were linker errors and so it only needs to link the files, which is quite fast. I'm unsure about where that extra 7.26MB comes from if it's a Final build though.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:31
Post  Old Post 01-07-2005 21:03 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#213 Report this post to a moderator
Increase Your PM Length

That's not a problem, the game may run a little bit slowly. That's because you use a introductory version of VC++ 6.0, that comes with this little disclaimer message, when you start the program. In addition they removed all the optimization features therefore the warnings about the unknown compiler options. One of these features is to optimize the executable size that is missing.

And for the no compiling like before: You are right there was no compiling, the compiler already compiled everything to *.obj files you can find in the final subfolder of the project's folder. The only thing that was done was to link everything together.

By the way now you can start to test your code and check weather it compiles on your own.

-Martin

E is offline E
King
July 24,2005 Ctp2 Tiles in sig!
May 1999
time: 21:31
  Old Post 01-07-2005 21:11 Visit E's homepage!
Edit/Delete Message Reply w/Quote
#214 Report this post to a moderator
Got spare money?

Great!

I was in the middle of uploading it to see if you guys wanted to double check it, here's the link anyways (it revision 407)
http://apolyton.net/upload/view.php...ctp2-Ebuild.zip

Martin, as for testing and cmpiling my code does my introductory version tell me where or what the problem is? Or because its introductory it leaves that out?

thanks

E

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:31
Post  Old Post 01-07-2005 21:22 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#215 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

quote:
Originally posted by E
Martin, as for testing and c[o]mpiling my code does my introductory version tell me where or what the problem is? Or because its introductory it leaves that out?


The only difference between the introductory version and the full version is that you are not allowed to build commercial programs. And to make sure that you can't do this, they removed all the optimization stuff, and added this nice disclaimer popup message. It isn't very professional if your program has such a popup or is slow.

If your code contains syntax errors, then even this crippled version of VC++ tells you that and where you can find the problem.

Of course if it contains other bugs it copiles for instance something like this:

code:
while(true){ // Some code if(something_that_is_always_false_but_is_supposed_ to_be_a_variable){ break; } }


Of course the compiler doesn't notice that the loop will never terminate, even if the loop body is empty.

Maybe the optimizer can recognize that the loop does noting and removes it. And then you wonder why the debug version hangs but not the final version.

-Martin

 
Pages (8): [ <<   5   6   7   8   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:31.
Apolyton Time is 00:31.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0336 seconds (86.51% PHP - 13.49% MySQL) with 36 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net