For anyone visiting this page and not seeing any responses, the solution for me was to check the imports for standard c++ libraries - in my case I was importing the standard string library which was causing problems.
2 Likes