Closed cschol closed 5 years ago
Should be resolved now.
Still does not compile.
Fix:
diff --git a/src/EssEff.cpp b/src/EssEff.cpp
index 825c7a8..48b6379 100644
--- a/src/EssEff.cpp
+++ b/src/EssEff.cpp
@@ -2,6 +2,9 @@
#include "osdialog.h"
#include "common.hpp"
#include <locale> // for wstring_convert
+#if defined ARCH_WIN
+#include <codecvt>
+#endif
#include <iostream>
#include <cmath>
#include <sstream>
@@ -133,7 +136,7 @@ std::string EssEff::getAbsolutePath(std::string path){
wchar_t buf[PATH_MAX];
wchar_t *absPathC = _wfullpath(buf, pathW.c_str(), PATH_MAX);
if (absPathC)
- return fromWstring(absPathC);
+ return string::fromWstring(absPathC);
#endif
return "";
}
Thanks, you rock! Applied.
When cross-compiling for Windows on Linux (which is what the build server does), the following issue occurs: