Can't compile c++ project from scratch

I try to create a c++ basic code project and I get this:

"Running C:/Program Files/Epic Games/UE_4.16/Engine/Binaries/DotNET/UnrealBuildTool.exe PluginTest Development Win64 -project=“C:/Users//Documents/PluginTest/PluginTest.uproject” -editorrecompile -progress -NoHotReloadFromIDE
Performing full C++ include scan (building a new target)
Creating makefile for PluginTest (no existing makefile)
@progress push 5%
Parsing headers for PluginTestEditor
Running UnrealHeaderTool “C:\Users\Documents\PluginTest\PluginTest.uproject” “C:\Users\Documents\PluginTest\Intermediate\Build\Win64\PluginTestEditor\Development\PluginTestEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for PluginTestEditor in 6.9302336 seconds
@progress pop
Performing 8 actions (4 in parallel)
[2/8] Resource ModuleVersionResource.rc.inl
[3/8] Resource PCLaunch.rc
SharedPCH.Engine.cpp
PluginTest.generated.cpp
PluginTest.cpp
PluginTestGameModeBase.cpp
[7/8] Link UE4Editor-PluginTest.dll
[8/8] Link UE4Editor-PluginTest.lib
LINK : fatal error LNK1181: cannot open input file ‘ws2_32.lib’
Creating library C:\Users\Documents\PluginTest\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-PluginTest.lib and object C:\Users\Documents\PluginTest\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-PluginTest.exp
ERROR: UBT ERROR: Failed to produce item: C:\Users\Documents\PluginTest\Binaries\Win64\UE4Editor-PluginTest.dll
Total build time: 34.59 seconds (Local executor: 0.00 seconds)
"

I’ve reinstalled Ue4 4.16, VS 2017. It won’t let me create a project from scratch.

Thanks for reading

Fixed it
Followed this - New C++ Project fails to compile using UE 4.15 and VS 2017 Community Edition - LINK : fatal error LNK1181: cannot open input file 'ws2_32.lib' - C++ - Epic Developer Community Forums