DISABLE THIS AD



Reply
 
Thread Tools
Old November 11, 2009, 22:32   #301
TomPoes
CTP2 Source Code Project
Settler
 
Local Time: 00:40
Local Date: November 22, 2009
Join Date: Feb 2008
Posts: 17
Please any help with this;

I updated my entire folder of sourcecode in order to compile a new version after a long time. All went well but .......

--------------------Configuration: ctp2 - Win32 Debug--------------------
Compiling...
armymanagerwindow.cpp
....\ctp2_code\ui\interface\armymanagerwindow.cpp( 472) : error C2955: 'list' : use of class template requires template argument list
d:\programs\visual.c.6.0\include\list(415) : see declaration of 'list'
Error executing cl.exe.

CivCTP_dbg.exe - 1 error(s), 0 warning(s)

the code line reads ;

ctp2_ListItem *ArmyManagerWindow::AddArmyItem(ctp2_ListBox *list, ArmyListNode *node)


How can I resolve this minor pita !?

thanks in advance !!!

Tom
TomPoes is offline   Reply With Quote
Old November 15, 2009, 16:45   #302
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Moderator
 
Martin Gühmann's Avatar
 
Local Time: 01:40
Local Date: November 22, 2009
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,063
First, I would check whether the version you are trying to compile is indeed the version from the source code repository, check your working copy for any modifications.

It may be that you have some files in your working copy that do not belong there anymore, that happens if you check out the repository and copy those files over an old version of the source code without version control. Best is to download the source code from the repository and add all the missing installation files, like text files, graphics files, sound files to that copy of the game.

If noting helps, you can rename the variable "list" to "listBox".

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

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 On

Forum Jump


All times are GMT -4. The time now is 20:40.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © Robert Plomp and Jeroen Schweitzer