My swift code is being passed a struct from cpp with std::string members. By default these seem unavailable from swift (compiling on Windows, they work fine on Mac). One of the errors is "error: type 'std' has no member 'string'"
So I tried adding "import CxxStdlib", but this is throwing errors in lld-link:
lld-link: error: could not open 'swiftCxx.lib': no such file or directory
lld-link: error: could not open 'swiftCxxStdlib.lib': no such file or directory
If this fall under the limitation of cpp+swift mixed libraries in SPM, is my only option to pass char* across the language boundary?