• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 10 11 12 13 14 ... 117 Next »

Compile error (DualShockUDPClient)
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Compile error (DualShockUDPClient)
12-21-2019, 09:12 AM
#1
MrGW
Unregistered
 
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!
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode