C++ Compiling error


When I open a new template for C++ plugin and try to compile it I get this error:

Severity Code Description Project File Line Suppression State
Error C1083 Cannot open include file: ‘WinSock2.h’: No such file or directory PlugIn1 C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\atlmfc\include\atldef.h 720

Before it was working fine, what could cause this issue?

Hi @Petras_Vestartas,

I am not seeing this. Are you still getting this? Did you check the “Windows Sockets” box in the wizard?

– Dale

I am pretty sure I messed up with registry files while cleaning all autodesk products. What helped was to format my hardrive and install new windows. Ech.