You have two (sensical) solutions:
- Select "Unicode", then replace every std::string, LPCSTR, LPSTR etc.. in your project with the unicode-counterpart (std::wstring, LPCWSTR, LPWSTR). Also, you need to write an "L" before every string (e.g.: L"C:/Pictures/Test.png"). This should fix your errors, if not, some of your other included libaries might be using multibyte, I'd get to that if his prooves to be the case.
- Keep your project at Multibyte setting, and replace every std::wstring, LPCWSTR, LPWSTR in your project with the multibyte-counterpart (I've already named those).
Yes this has fixed my related error, but now I have problems with certain operands such as this one:
Other operands are now erroring as well, such as:
if(fileNamePath == texFileNameArray[i])
(the full stop before push_back)
std::string message = "Could not open: ";
message += filename;
So how do I get round this?