I recently got SFML working on my m2 MacBook and everything is fine except for sf::IpAddres, there isn't an option to pass in a string as an option.
Here's the error:
No matching constructor for initialization of 'sf::IpAddress'
The frameworks I used were the snapshot macos-clang-arm64.tar.gz, Date: 2022-Dec-22 16:39
I think that the snapshots might be the problem, but I'm not sure.
Btw here's the code I used:
#include <SFML/Network.hpp>
sf::TcpSocket socket;
void connect(std::string IPaddress){
sf::IpAddress address(IPaddress);
}
Edit:
turns out I just needed to use sf::IpAddress::resolve(std::string); instead, problem solved
.