MantisBT - VCMI
View Issue Details
0000623VCMIOtherpublic2010-10-09 08:132011-05-31 01:06
fletcher 
Warmonger 
normalmajoralways
closedfixed 
UnixLinuxMandriva 2010.0
 
 
0000623: Revision 1812 does not compile on Linux
Hello,

I just heard of this project and think it is a great idea. My problem is that Revision 1812 does not compile (I checked out the "trunk" directory from svn)

I am running a German system. It says something that no object of the abstract typoe "CClient" can be used/taken.

I have attached my output below. Is there something like a "stable tree" which can be compiled on Linux?
This is what I did:

[mwagner@localhost trunk]$ svn checkout https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk/ [^]

(after installing several libraries)

./configure
make
CMT.cpp: In function »int main(int, char**)«:
CMT.cpp:233: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*«
CMT.cpp:234: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*«
CMT.cpp: In function »void startGame(StartInfo*)«:
CMT.cpp:652: Fehler: es kann kein Objekt des abstrakten Typs »CClient« belegt werden
Client.h:55: Anmerkung: denn die folgenden virtuellen Funktionen sind rein innerhalb »CClient«:
../lib/IGameCallback.h:96: Anmerkung: virtual void IGameCallback::giveNewArtifact(int, int)
make[1]: *** [vcmiclient-CMT.o] Fehler 1
make[1]: Leaving directory `/home/mwagner/Downloads/vcmi/trunk/client'
make: *** [all-recursive] Fehler 1
No tags attached.
Issue History
2010-10-09 08:13fletcherNew Issue
2010-10-09 08:28WarmongerNote Added: 0001353
2010-10-09 08:29WarmongerNote Edited: 0001353bug_revision_view_page.php?bugnote_id=1353#r1131
2010-10-09 08:30WarmongerNote Edited: 0001353bug_revision_view_page.php?bugnote_id=1353#r1132
2010-10-10 07:51WarmongerNote Added: 0001354
2010-10-10 07:55WarmongerStatusnew => resolved
2010-10-10 07:55WarmongerResolutionopen => fixed
2010-10-10 07:55WarmongerAssigned To => Warmonger
2011-05-31 01:06ZamolxisStatusresolved => closed

Notes
(0001353)
Warmonger   
2010-10-09 08:28   
(edited on: 2010-10-09 08:30)
r1812 does not work well anyway - new artifact system is harder than I expected. Try 1810.

(0001354)
Warmonger   
2010-10-10 07:51   
Ok, indeed there was a problem with last revision. 1813 should work fine.