Closed rgleason closed 5 years ago
Well, I was wrong, a search for "corecrt.h" turned up
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\corecrt.h
So what is happening? corecrt.h (line 10) can't find vcruntime.h?
LINE 10 of that file
How to fix it? Same thing in happening with another plugin. vcruntime.h not found.
This is pretty basic, ... maybe my opencpn.lib is not current enough, or buildwin files should be 5.0 rather than 4.99. -- Not the problem. These are current.
Adding to the Environment
INCLUDE C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt
Seems to have fixed it.
Rick,
Strange ...
I neither had nor have this problem, must be related to your VC2015 installation and not the plugin ...
That include
C:\Program Files (x86)\Windows Kits\10\Include**10.0.18362.0**\ucrt
Are you sure this is part of VC2015, or is it a leftover from an old VC installation ?
I don't have this path on my machine.
C:\Program Files (x86)\Windows Kits\10\Include
has 3 subdirectories:
10.0.10240.0
10.0.16299.0
10.0.17763.0
...which are obviously versions of something ...
The first 2 are dated May 5th 2018 the latter one May 5th 2019 ...
Thomas
It appears I had an out of date version of opencpn.lib (perhaps and early one for v4.99?) anyway this one is 146kb and it works. I think I can remove the two includes now.
I am trying to set up a local Visual Studio 15 2017 dev enviroment. I was using tactics_pi to work through some of the setup bugs. After cmake --build . --config release I get many of these with instruments.
I found that file and have added to my environment INCLUDE C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include
However that does NOT resolve it. Do you have any ideas?