- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to use `include <filesystem>` in my code, however, I get the below link error as I build my application. My target platform is Windows 10 64bit.
test_accuracy.obj : error LNK2019: unresolved external symbol wmemcmp referenced in function "public: class std::filesystem::path & __cdecl std::filesystem::path::operator/=(class std::filesystem::path const &)" (??_0path@filesystem@std@@QEAAAEAV012@AEBV012@@Z)
Debug\test_accuracy.exe : fatal error LNK1120: 1 unresolved externals
I just have no idea what library I need to pass to the xlink.
Your comments are much appreciate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I updated my VS 2019 16.8.5 and it worked just fine.
Thanks for the clue.
Regards
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel C++ Compiler forum. We’re checking this with our team. We’ll get back to you with an answer.
Regards
Gopika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for your patience. We worked with a reproducer code and the issue was reproduceable in Visual studio. But the same code worked fine in command line. The issue seems to be related to Visual studio. We urge you to try executing your code after upgrading your visual studio. If the issue persists, please raise your issue in Microsoft Visual Studio forum.
Regards
Gopika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I updated my VS 2019 16.8.5 and it worked just fine.
Thanks for the clue.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for the confirmation and accepting it as a solution. Glad to know the issue is resolved after updating the visual studio. As the issue is resolved, we’re no longer monitoring this thread. For further issues and queries, please raise a new thread. We’d be happy to help you.
Regards
Gopika

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page