Build errors on VS 2008
« on: 12 August 2013, 00:41:26 »
The TGUI does not support the standard below the C++11?

Visual Studio 2008 Professional Edition.
Cmake: Realise, TGUI_USE_STATIC_STD_LIBS
Errors on build (russian): http://pastebin.com/BLn1d9Kv
ps: In vs2010, the compilation is working properly.

*

texus

  • *****
  • 1143
    • View Profile
    • Texus's Blog
Re: Build errors on VS 2008
« Reply #1 on: 12 August 2013, 00:43:31 »
No, I recently decided to make the switch to c++11.

You will need at least Visual Studio 2010 to use tgui.

Re: Build errors on VS 2008
« Reply #2 on: 12 August 2013, 00:55:18 »
No, I recently decided to make the switch to c++11.

You will need at least Visual Studio 2010 to use tgui.
This is sad. Especially for the library.  :'(

*

texus

  • *****
  • 1143
    • View Profile
    • Texus's Blog
Re: Build errors on VS 2008
« Reply #3 on: 12 August 2013, 11:51:20 »
It wasn't an easy decision.
I tried to keep using boost for as long as possible but this started to give problems.

The major reason to remove boost and start using c++11 was because if tgui wasn't compiled with the '-std=c++11' flag then strange behaviour occured when building your own project with '-std=c++11' (MinGW compiler).

If I wouldn't had to use boost or c++11 for the callback system (I really needed std::function), then I would have definately kept support for older compilers much longer.

Re: Build errors on VS 2008
« Reply #4 on: 23 August 2013, 12:31:23 »
May still need to go back to C++ x03?
Because of the rigid attachment to the new standard, perhaps many will not use this library.

*

texus

  • *****
  • 1143
    • View Profile
    • Texus's Blog
Re: Build errors on VS 2008
« Reply #5 on: 23 August 2013, 13:39:03 »
I doubt that many people are not going to use my library just because they need c++11. Most VS users have the express version anyway, so they can easily upgrade. And anyone downloading MinGW will also have c++11 support.

But those who really don't want to upgrade to a newer compiler (which I can understand in some situations) can still use tgui v0.5.