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 > compiling on other than c++ or .net
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    < Last Thread     Next Thread > Post New Thread     Post A Reply
Seesjuh is offline Seesjuh
Settler

Dec 2002
time: 05:33
  Old Post 09-01-2004 15:37
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
compiling on other than c++ or .net Remove this text

Hi there,


Been reading in this forum for some time now, have always enjoyed playing CTP1 and 2 so it seems with my computer education background and programming I could contribute something to this great game....

But... I dont have access to the compilers and laguages you guys have..
However, I found a free c++ program out there on http://www.bloodshed.net
I has everything like visualC en .net has only its free....

I wonder..does anyone know if this could work ??

I dont want to download the DirectX sdk for half a day only to find out it doesnt work

Hope y'all can help me out

Hope to be programming with you soon

greets!!

ps... I download the sourcecode, put in the files from my CTP2 cd, download the directX sdk...... and then i download the altered sourcefiles package for most recent version ???

Thanks again !

Peter Triggs is offline Peter Triggs
Prince
Gone Fishin, Canada
Jan 2000
time: 05:33
  Old Post 09-01-2004 16:41
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Increase the size of your Attachments

Hi Seesjuh,

DevC++ has an 'experimental' feature: files=>import=>import Microsoft Visual C++ project, but I didn't have any luck with it.

They have a forum; maybe you could get better information about it there.

Peter

Fromafar is offline Fromafar
Prince

May 2003
time: 06:33
  Old Post 09-01-2004 21:58
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Tired of ads?

DevC++ uses mingw gcc as compiler (see http://www.mingw.org for newer versions). Actually, I started with mingw before finding out that I did have access to Visual C++ after all.

I do not want to discourage you, but the current code is using quite a lot of MS Visual C++ 6.0 specific constructs. As far as I know, it has not even been successfully compiled with MS Visual C++ .NET (which is basically MS Visual C++ 7.0).

With mingw, a couple of makefiles, and some small code changes, I was able to get the map generation DLLs to compile quite easily. But to get the main executable to compile, you have to make a lot of code changes! Some of the issues have been described in
http://apolyton.net/forums/showthre...hreadid=100677.
The thread is about using gcc under Linux, so some issues (e.g cr/lf line ends, case sensitive includes) will not cause problems with mingw, but others (e.g. MS specific callback declaration syntax) do.

If you are still interested after reading this, let me know. I still have some (about 40) modified files from my first attempt that have not been included in the altered source file thread yet.

Seesjuh is offline Seesjuh
Settler

Dec 2002
time: 05:33
  Old Post 10-01-2004 20:33
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Avatar Enlargement: We've got the solution

@fromafar:

Thanks man, If you could send them to me... or up them somewhere I'd still love to look at them...

I just can't seem to get hold of a affordable version of c++ from ms
So im stuck with devc++

Hope to hear from ya soon

Thanks!

Fromafar is offline Fromafar
Prince

May 2003
time: 06:33
  Old Post 11-01-2004 00:32
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Remove this text

I have added a post in the altered source code thread with the files I have modified.

For compilation, I have used a bare mingw distribution (3.1.0-1, I believe) in a Windows 2000 DOS box, so I can't give you advice on the DevC++ handling of the project.

Mingw.zip contains an additional stub, a batch file, and some makefiles I have used. If nothing else, these will indicate how (not at all) far I got before switching to MS VC++.

Good luck! You may need it.

Seesjuh is offline Seesjuh
Settler

Dec 2002
time: 05:33
  Old Post 12-01-2004 13:31
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Hi,

Thansk for the files...
Downlaoded them and already playing around with em

Ill post my progress as I make it... and if i make it

Thansk again!

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:33.
Apolyton Time is 00:33.
    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.0314 seconds (87.12% PHP - 12.88% 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