#Include Not Found

Can someone help me out with this error. Trying to program a network scanner

cppns.cpp:2:10: fatal error: SFML/Network.hpp: No such file or directory
 #include <SFML/Network.hpp>
          ^~~~~~~~~~~~~~~~~~
3

1 Answer

You need to install development package for this header:

sudo apt-get install libsfml-dev

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest