• Register
1 vote

Problem :

I have recently installed the Visual Studio 2015 on my Windows 10 laptop.

I have tried to clone the repository with the solution created with the same version of Visual Studio (update 3) on my another PC, always with windows 10.

But when I try to build the solution on my laptop I often face the below error:

c:\program files (x86)\microsoft visual studio 14.0\vc\include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory

I have confirmed that the $(UniversalCRT_IncludePath) refers to below path:

C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt

But the path is missing on my laptop. Instead of that path I have the below one:

C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt

So I guess that window version is different. May be this is true, as on my laptop I didn't installed the 1511 windows updgrade, but in the other pc is all installed correctly.

So my question is how can I refer to the corecrt.h file in both the pc without making the mess with the paths. I want to avoid the hard-link these path as they are pc dependent.

How can I solve my issue? I know one thing that I can update my laptop to the same windows version but I want to avoid it for many reasons.

6 5 3
7,540 points

1 Answer

1 vote

Solution :

For the Visual Studio 2017 I had to do below steps:

1.      Run the Visual Studio Installer.

2.      Select the Modify button.

3.      Go to the "Individual Components" tab.

4.      Scroll down to the "Compilers, build tools and runtimes".

5.      Tick the "Windows Universal CRT SDK".

6.      Install it.

9 7 4
38,600 points

Related questions

0 votes
1 answer 1.8K views
Problem : Following is my issue: I tried to install mysqlclient like below : C:\Users\alecxe>pip install mysqlclient Collecting mysqlclient Using cached https://files.pythonhosted.org/packages/ec/fd/83329b9d3e14f7344d1 cb31f128e6dbba70c5975c9e57896815dbb1988ad/mysqlclient-1.3.13.tar.gz Installed ... beginner to this and would be very happy if any input as to how to go about fixing above error.
asked Dec 27, 2019 alecxe 7.5k points
0 votes
1 answer 2 views
I am trying to build a shared library using a C extension file but first I have to generate the output file using the command below: gcc -Wall utilsmodule.c -o Utilc After executing the command, I get this error message: > utilsmodule.c:1:20: fatal error: ... solutions over the internet but the problem still exists. I have no problem with Python.h. I managed to locate the file on my machine.
asked 2 days ago psandprop 2.2k points
0 votes
1 answer 169 views
Problem : I have installed Cuda 10.1 and cudnn on Ubuntu 18.04 for the first time and it seems to be installed properly as when I type nvcc and nvidia-smi I am getting proper response. I have also installed tensorflow using following command: user:~$ sudo ... solutions. Include the entire stack trace above this error message when asking for help. Am I missing something? How to resolve this issue?
asked Nov 27, 2019 alecxe 7.5k points
0 votes
1 answer 424 views
Problem : I am having following issues in importing tensorflow in python3: >>> import tensorflow as tf Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 41, in <module> from tensorflow.python. ... I have also installed CUDA 8.0 and cuDNN-v6.0.Also my libcusolver.so.8.0 exists at /usr/local/cuda/lib64/:
asked Nov 24, 2019 alecxe 7.5k points
0 votes
1 answer 72 views
Problem : I am very new to tensorflow-gpu, I want to use the tensorflow-gpu on my system. I have already tried to reinstall tensorflow-gpu many times but still it shows me the following error.If I use the tensorflow-cpu then it works correctly. Please Note: I ... ) ImportError: libcudart.so.8.0: cannot open shared object file: No such file or directory Can somebody help me in fixing above error ?
asked Feb 19 mphil 2.3k points