KFKLoaders
KFKLoaders

Reputation: 1

How to get intellisense for Linux headers on VS2019 (Windows)

I coding a C++ WiringPi (Linux) project using these libraries:

#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
#include <signal.h>

I am on Windows and I'm getting a "'sys/socket.h': No such file or directory" error. I know Windows doesn't have sys/socket.h, arpa/inet.h etc but if I don't have files I'm getting a lot of unnecessary errors and intellisense isn't working.

Is it possible to solve this problem?

Upvotes: 0

Views: 327

Answers (0)

Related Questions