OpenXcom Forum
Contributions => Programming => Topic started by: alienjon on November 08, 2012, 06:05:37 am
-
Hi all! It's been a while since I've been around, but recently updated to the most recent commit. I'm getting a build error, though, and I'm not sure exactly what's up. My build fails with the following:
/home/alienjon/git/OpenXcom/src/Interface/Text.cpp: In member function ‘void OpenXcom::Text::setText(const wstring&)’:
/home/alienjon/git/OpenXcom/src/Interface/Text.cpp:132:60: error: ‘std::wstring’ has no member named ‘back’
make[2]: *** [src/CMakeFiles/openxcom.dir/Interface/Text.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/openxcom.dir/all] Error 2
make: *** [all] Error 2
Any ideas what could be up?
-
That was fixed about a week ago. Are you sure you got the most recent commit?
-
Yeah, you could try with a fresh clone to be sure.
-
Thanks for the replies. Turns out that the pull was from a slightly older commit. An upstream pull and merge fixed the problem.