Revision 1621 - Build Error

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
Post Reply
User avatar
Light
Reverse Outside Corner Grinder
Posts: 1659
Joined: Thu Oct 20, 2011 2:11 pm

Revision 1621 - Build Error

Post by Light »

Building on Windows in CodeBlocks.

Code: Select all

mingw32-g++.exe -std=gnu++0x -fexceptions -DWIN32 -D_CONSOLE -D_MBCS -DEMBEDDED -DDONTUSEMEMMANAGER -DNO_SOCKLEN_T -O2 -W -DNDEBUG -I..\..\src -I..\..\src\engine -I..\..\src\engine\sound -I..\..\src\network -I..\..\src\render -I..\..\src\tools -I..\..\src\ui -I..\..\src\tron -I..\..\src\tron\cockpit -I..\..\src\tron\zones -I..\..\src\thirdparty\shttpd -I..\..\src\thirdparty\particles -I..\..\src\win32_ded -I..\..\..\winlibs\libxml2\include -I..\..\..\winlibs\iconv\include -I..\..\..\winlibs\boost\includes -I..\..\src\resource -I..\..\src\protobuf -I..\..\..\winlibs\protobuf\src -I..\..\src\thirdparty\utf8 -c D:\tronbuild\armagetronad\src\engine\ePlayer.cpp -o ..\..\build\tmp\Armagetron_Dedicated___Win32_Release\src\engine\ePlayer.o
D:\tronbuild\armagetronad\src\engine\ePlayer.cpp:166:8: error: 'tConfItemLine' is not a template
 static tConfItemLine< bool > se_autoComplColor("AUTO_COMPLETE_WITH_COLOR", se_autoCompleteWithColor);
        ^
D:\tronbuild\armagetronad\src\engine\ePlayer.cpp:166:100: error: no matching function for call to 'tConfItemLine::tConfItemLine(const char [25], bool&)'
 static tConfItemLine< bool > se_autoComplColor("AUTO_COMPLETE_WITH_COLOR", se_autoCompleteWithColor);
                                                                                                    ^
D:\tronbuild\armagetronad\src\engine\ePlayer.cpp:166:100: note: candidates are:
In file included from ..\..\src\ui/uInput.h:35:0,
                 from D:\tronbuild\armagetronad\src\engine\ePlayer.h:39,
                 from D:\tronbuild\armagetronad\src\engine\eTeam.h:31,
                 from D:\tronbuild\armagetronad\src\engine\ePlayer.cpp:29:
..\..\src\tools/tConfiguration.h:430:5: note: tConfItemLine::tConfItemLine(const char*, tString&, void (*)())
     tConfItemLine(const char *title, tString &s, callbackFunc *cb=0)
     ^
..\..\src\tools/tConfiguration.h:430:5: note:   no known conversion for argument 2 from 'bool' to 'tString&'
..\..\src\tools/tConfiguration.h:425:5: note: tConfItemLine::tConfItemLine(const char*, const char*, tString&, void (*)())
     tConfItemLine(const char *title,const char *help,tString &s, callbackFunc *cb=0)
     ^
..\..\src\tools/tConfiguration.h:425:5: note:   candidate expects 4 arguments, 2 provided
..\..\src\tools/tConfiguration.h:423:7: note: tConfItemLine::tConfItemLine(const tConfItemLine&)
 class tConfItemLine:public tConfItem<tString>, virtual public tConfItemBase{
       ^
..\..\src\tools/tConfiguration.h:423:7: note:   candidate expects 1 argument, 2 provided
Process terminated with status 1 (0 minute(s), 22 second(s))
2 error(s), 0 warning(s) (0 minute(s), 22 second(s))

User avatar
aP|Nelg
Match Winner
Posts: 581
Joined: Wed Oct 22, 2014 10:22 pm
Contact:

Re: Revision 1621 - Build Error

Post by aP|Nelg »

Well, that was fast.

User avatar
Light
Reverse Outside Corner Grinder
Posts: 1659
Joined: Thu Oct 20, 2011 2:11 pm

Re: Revision 1621 - Build Error

Post by Light »

aP|Nelg wrote:Well, that was fast.
:P Didn't even realize you committed it.

User avatar
aP|Nelg
Match Winner
Posts: 581
Joined: Wed Oct 22, 2014 10:22 pm
Contact:

Re: Revision 1621 - Build Error

Post by aP|Nelg »

Light wrote:
aP|Nelg wrote:Well, that was fast.
:P Didn't even realize you committed it.
First commit and I didn't even test it :/ fixed in r1622

User avatar
hylix
On Lightcycle Grid
Posts: 16
Joined: Sat Jan 28, 2012 7:26 pm

Re: Revision 1621 - Build Error

Post by hylix »

Some news about your compilation ? Did you manage to do it ?

If you need I managed to compile it on CodeBlocks, I dont know if it the same version tho.
Image

User avatar
Light
Reverse Outside Corner Grinder
Posts: 1659
Joined: Thu Oct 20, 2011 2:11 pm

Re: Revision 1621 - Build Error

Post by Light »

hylix wrote:Some news about your compilation ? Did you manage to do it ?

If you need I managed to compile it on CodeBlocks, I dont know if it the same version tho.
It wasn't an issue I created. He fixed the code and it compiled on the latest revision.

User avatar
hylix
On Lightcycle Grid
Posts: 16
Joined: Sat Jan 28, 2012 7:26 pm

Re: Revision 1621 - Build Error

Post by hylix »

Cool, then hf :)
Image

Post Reply