oh whoops sorry.
The error i get is:
/tmp/ccRlWxMK.o: In function `main':
test2.cpp:(.text+0x5f): undefined reference to `sf::Http::Http()'
test2.cpp:(.text+0xae): undefined reference to `sf::Http::Request::Request(std::string const&, sf::Http::Request::Method, std::string const&)'
test2.cpp:(.text+0xf0): undefined reference to `sf::Http::sendRequest(sf::Http::Request const&, sf::Time)'
test2.cpp:(.text+0xff): undefined reference to `sf::Http::Response::getBody() const'
/tmp/ccRlWxMK.o: In function `sf::TcpSocket::~TcpSocket()':
test2.cpp:(.text._ZN2sf9TcpSocketD2Ev[_ZN2sf9TcpSocketD5Ev]+0x2f): undefined reference to `sf::Socket::~Socket()'
/tmp/ccRlWxMK.o:(.rodata._ZTIN2sf9TcpSocketE[_ZTIN2sf9TcpSocketE]+0x10): undefined reference to `typeinfo for sf::Socket'
collect2: error: ld returned 1 exit status