[Solved] Building error: no match for ‘operator+’

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: Building error: no match for ‘operator+’

Postby Ident » Sat May 28, 2016 12:49

Use the code tags next time for your log : viewtopic.php?f=10&t=3351

Also you should try using a different string type, i think you are using UNICODE, try STD instead (as specified in cmake) - this is for the variable CEGUI_STRING_CLASS
CrazyEddie: "I don't like GUIs"

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: [Solved] Building error: no match for ‘operator+’

Postby YaronCT » Sat May 28, 2016 13:19

@Ident: but y should there b any problem with unicode strings? It builds for me..

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: [Solved] Building error: no match for ‘operator+’

Postby Ident » Sat May 28, 2016 13:22

There is none, it builds everywhere. But in this case there might be some fuck-up on user-side so I would like to know what happens in the other configuration ;)
CrazyEddie: "I don't like GUIs"

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: [Solved] Building error: no match for ‘operator+’

Postby YaronCT » Sat May 28, 2016 13:40

Btw, just checked on my debian stable (8), all branches build successfuly even with gcc 4.8.4, which appears to be in the official debian stable repositories (in addition to the default gcc which is 4.9.2).

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: [Solved] Building error: no match for ‘operator+’

Postby Ident » Sat May 28, 2016 13:43

Thanks for checking. I think we don't have to worry about this then. It is probably a configuration issue or a strange setup.
CrazyEddie: "I don't like GUIs"

YaronCT
CEGUI Team
Posts: 448
Joined: Fri Jun 19, 2015 12:18
Location: Kiryat-Bialik, Israel

Re: [Solved] Building error: no match for ‘operator+’

Postby YaronCT » Wed Jun 01, 2016 16:20

DaCortex: I've found out how u got that error. And how I've found u ask? simply, by amazing coincidence, I've just got the very same error..

What I did was check out one branch, build, then check out another branch and build again. Then I got that error. To solve it I simply had to delete the build directory and rebuild all (including rerun cmake).. Cmake, obviously, is far from perfect, and sometimes when u get strange errors u simply have to build from scratch. Didn't your mummy always tell u, when build fails, rebuild?! :wink:

So no problem with GCC 4.8.4, u can downgrade back to Ubuntu LTS 14.04 if u wish :lol:


Return to “Help”

Who is online

Users browsing this forum: No registered users and 11 guests