Reputation: 43
I'm having the following error everytime I compile even a basic hello world program in VS 19 community edition after reinstalling it
command line error D8027: cannot execute 'Path\To\c1xx.dll'
how to fix this?
Upvotes: 0
Views: 1405
Reputation: 4040
I suggest you should refer to the link provided by Alan Birtles: https://developercommunity.visualstudio.com/t/cl-command-line-error-d8027-cannot-execute-pathtoc/1106548
The problem is due to cl.exe loading the c1.dll library with the LOAD_LIBRARY_SEARCH_DEFAULT_DIRS flag which is unsupported on a plain Windows 7.
The solution is to install KB2758857 which adds support for this flag.
Upvotes: 1