compilation problems under Ubuntu 12.04

rogerdv

21-08-2012 17:04:52

A few days ago I updated mygui from svn and tried to compile it. I got the following errors:

In file included from /home/roger/projects/my-gui/Tools/EditorFramework/OpenSaveFileDialog.cpp:9:0:
/home/roger/projects/my-gui/Common/FileSystemInfo/FileSystemInfo.h: En la función ‘void common::scanFolder(common::VectorWString&, const wstring&, bool, const wstring&, bool)’:
/home/roger/projects/my-gui/Common/FileSystemInfo/FileSystemInfo.h:164:33: error: ‘std::wstring’ no tiene un miembro llamado ‘back’
/home/roger/projects/my-gui/Common/FileSystemInfo/FileSystemInfo.h:164:57: error: ‘std::wstring’ no tiene un miembro llamado ‘back’
make[2]: *** [Tools/EditorFramework/CMakeFiles/EditorFramework.dir/OpenSaveFileDialog.cpp.o] Error 1
make[1]: *** [Tools/EditorFramework/CMakeFiles/EditorFramework.dir/all] Error 2
make: *** [all] Error 2


I updated today again and the problem persists. Is there any way to solve this?

Altren

21-08-2012 19:38:58

Fixed. We used "back()" method, that is not standard for wstring.