• Register
1 vote
607 views

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

Please log in or register to answer this question.

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 2 views
2 views
problem: please help to solve fatal error c1083: cannot open include file: 'config-win.h': no such file or directory.
asked 1 day ago ashik 11.2k points
0 votes
1 answer 15 views
15 views
Problem; HELP! I need help understanding this error and why it still happened to me : Fatal error c1083: cannot open include file: 'mysql.h': no such file or directory.
asked Mar 6 Wafa Abu Yousef 6.1k points
0 votes
1 answer 2.9K views
2.9K 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
1 vote
1 answer 7 views
7 views
Problem: I am facing this fatalerror. Do not know why? Fatal error: adafruit_sensor.h: no such file or directory.
asked Mar 24 PkGuy 13.1k points
0 votes
1 answer 27 views
27 views
Problem: fatal error: openssl/opensslv.h: no such file or directory
asked Feb 18 charles mathews 5.5k points
0 votes
1 answer 34 views
34 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 Oct 25, 2020 psandprop 2.4k points
0 votes
1 answer 3 views
3 views
Problem: Can someone assist on what would happen if you create a file stdio.h and use #include "stdio.h"?
asked Mar 28 GuessWho18 200 points
0 votes
1 answer 300 views
300 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 650 views
650 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 4 views
4 views
Problem: Why do we use #include &ldquo;stdio.h&rdquo; in all the C programs? What is the purpose of it and what if we do not use it?
asked Mar 2 Code Learner 9.2k points