Hello everyone,
I'm trying to build the latest version from git and getting a compiler error at this point:
[ 31%] Building CXX object Source/Core/InputCommon/CMakeFiles/inputcommon.dir/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp.o
/home/ron/source/dolphin-latest/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp: In function ‘void ciface::DualShockUDPClient::HotplugThreadFunc()’:
/home/ron/source/dolphin-latest/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp:184:88: error: no matching function for call to ‘sf::UdpSocket::send(ciface::DualShockUDPClient::Proto::MessageType::ListPorts*, long unsigned int, std::__cxx11::string&, u16&)’
if (s_socket.send(&list_ports, sizeof list_ports, s_server_address, s_server_port) !=
^
In file included from /home/ron/source/dolphin-latest/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp:14:0:
/usr/include/SFML/Network/UdpSocket.hpp:123:12: note: candidate: sf::Socket::Status sf::UdpSocket::send(const void*, std::size_t, const sf::IpAddress&, short unsigned int)
Status send(const void* data, std::size_t size, const IpAddress& remoteAddress, unsigned short remotePort);
^~~~
/usr/include/SFML/Network/UdpSocket.hpp:123:12: note: no known conversion for argument 3 from ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’ to ‘const sf::IpAddress&’
/usr/include/SFML/Network/UdpSocket.hpp:164:12: note: candidate: sf::Socket::Status sf::UdpSocket::send(sf::Packet&, const sf::IpAddress&, short unsigned int)
Status send(Packet& packet, const IpAddress& remoteAddress, unsigned short remotePort);
^~~~
/usr/include/SFML/Network/UdpSocket.hpp:164:12: note: candidate expects 3 arguments, 4 provided
/home/ron/source/dolphin-latest/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp:197:19: error: aggregate ‘sf::IpAddress sender’ has incomplete type and cannot be defined
sf::IpAddress sender;
(larger output log attached)
Any idea on why this error is being thrown?
Thanks!
I'm trying to build the latest version from git and getting a compiler error at this point:
[ 31%] Building CXX object Source/Core/InputCommon/CMakeFiles/inputcommon.dir/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp.o
/home/ron/source/dolphin-latest/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp: In function ‘void ciface::DualShockUDPClient::HotplugThreadFunc()’:
/home/ron/source/dolphin-latest/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp:184:88: error: no matching function for call to ‘sf::UdpSocket::send(ciface::DualShockUDPClient::Proto::MessageType::ListPorts*, long unsigned int, std::__cxx11::string&, u16&)’
if (s_socket.send(&list_ports, sizeof list_ports, s_server_address, s_server_port) !=
^
In file included from /home/ron/source/dolphin-latest/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp:14:0:
/usr/include/SFML/Network/UdpSocket.hpp:123:12: note: candidate: sf::Socket::Status sf::UdpSocket::send(const void*, std::size_t, const sf::IpAddress&, short unsigned int)
Status send(const void* data, std::size_t size, const IpAddress& remoteAddress, unsigned short remotePort);
^~~~
/usr/include/SFML/Network/UdpSocket.hpp:123:12: note: no known conversion for argument 3 from ‘std::__cxx11::string {aka std::__cxx11::basic_string<char>}’ to ‘const sf::IpAddress&’
/usr/include/SFML/Network/UdpSocket.hpp:164:12: note: candidate: sf::Socket::Status sf::UdpSocket::send(sf::Packet&, const sf::IpAddress&, short unsigned int)
Status send(Packet& packet, const IpAddress& remoteAddress, unsigned short remotePort);
^~~~
/usr/include/SFML/Network/UdpSocket.hpp:164:12: note: candidate expects 3 arguments, 4 provided
/home/ron/source/dolphin-latest/Source/Core/InputCommon/ControllerInterface/DualShockUDPClient/DualShockUDPClient.cpp:197:19: error: aggregate ‘sf::IpAddress sender’ has incomplete type and cannot be defined
sf::IpAddress sender;
(larger output log attached)
Any idea on why this error is being thrown?
Thanks!