Can't create C++ projects

Hello, so I’m using Unreal for the first time and I have a problem creating a C++ project ( Basic code )
I’ll link an imgur link to all errors and explain my beautiful journey through bugs and crashes.

So on the first picture ( Error 1 ) you can see the error when I’m opening a C++ project

The second one shows what happens when I click “Oui” ( Yes in english if you are really bad at french ).

The third one shows what happens when you create a new C++ project ( The complete error is below the image )

Error 4 shows what happens when I click on “Open in visual Studio”

Error 5 shows the tab of virutal studio when I click okay

What I’v tried so far :

-Restarting my PC

-Uninstalling and installing back SDK and Windows toolkit

-Reinstalling Visual Studio 2015

-Reinstalling Unreal Engine 4.15.1

PS : Sorry for the bad english.

Regards.

Hello MoonGear,

The main issue seems to be this one:

LINK : fatal error LNK1181: cannot open input file ‘wininet.lib’

This implies that either the wininet.lib file is not present on your computer or your Environment Variables may not be set up correctly. When searching for this file on my computer, I was able to find it in the following location:

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\x64

You mentioned uninstalling/reinstalling your Windows SDK but keep in mind that there are multiple versions of the Windows SDK and they are generally standalone SDKs, not upgrades for one another. Which SDKs do you have installed? You can find which ones you have in the Windows folder in the filepath provided above. If we do find that you do have the file it’s looking for, we can look into your Environment Variables to see if Visual Studio isn’t seeing the files successfully.

One additional thing, please ensure that your Visual Studio installation is on the same drive as your Windows SDK and Windows OS installation.

Hello Matthew,

Alright, so looks like I have 4 versions of SDK installed even though only 2 of them aren’t empty folders : The 7.1A and the 10.00A.

Both Visual Studio 8 and Microsoft SDKs are installed on my C: drive while my Unreal engine is in my F: drive, could this be the problem ?

I just discovered a strange Visual Studio folder un my F: drive where those files are ( picture bellow)

134265-capt.png

I don’t know what it is but it may cause the crashes

Regards,

I suggest to also have the Windows SDK v8.1 installed. The location of your UE4 installation should be fine as long as it’s not on an external hard drive. It looks like this could be the most recent installation, based off the date on the folders, are you sure that you don’t have two installations of Visual Studio and are opening the one on your F: drive?

To clarify, there don’t seem to be any crashes occurring, and at the moment this seems like more of an issue with Visual Studio than UE4 directly so attempting to look up information on Windows support sites may be helpful. I’ll continue trying to assist as best I can but it’s a thing to keep in mind.

I have reinstalled Visual Studio and SDK with the ISO file that they give on the Windows website ( /!\ Warning, direct download : https://download.microsoft.com/download/3/6/3/36301F10-B142-46FA-BE8C-728ECFD62EA5/iso_windowssdk/15063.137.170329-1903.rs2_release_svc_WindowsSDK.iso ) and uninstalled the one on F: and so far it seems to work.

Thanks a lot for your help and have a nice day :slight_smile: