0 Members and 1 Guest are viewing this topic.
H:\MySfml\sockets\main.cpp:68: error: `sf' has not been declaredH:\MySfml\sockets\main.cpp:68: error: `IPAddress' was not declared in this scopeH:\MySfml\sockets\main.cpp:68: error: expected `;' before "ServerAddress"H:\MySfml\sockets\main.cpp:72: error: `ServerAddress' was not declared in this scopeH:\MySfml\sockets\main.cpp:72: warning: unused variable 'ServerAddress'H:\MySfml\sockets\main.cpp:74: error: `ServerAddress' was not declared in this scopeH:\MySfml\sockets\main.cpp:77: error: `sf' has not been declaredH:\MySfml\sockets\main.cpp:77: error: `SocketTCP' was not declared in this scopeH:\MySfml\sockets\main.cpp:77: error: expected `;' before "Client"H:\MySfml\sockets\main.cpp:80: error: `Client' was not declared in this scopeH:\MySfml\sockets\main.cpp:80: error: `sf' has not been declaredH:\MySfml\sockets\main.cpp:80: error: `Done' was not declared in this scopeH:\MySfml\sockets\main.cpp:80: warning: unused variable 'Client'H:\MySfml\sockets\main.cpp:80: warning: unused variable 'Done'H:\MySfml\sockets\main.cpp:87: error: `Client' was not declared in this scopeH:\MySfml\sockets\main.cpp:87: error: `sf' has not been declaredH:\MySfml\sockets\main.cpp:87: error: `Done' was not declared in this scope
Linking console executable: bin\Debug\sockets.exeobj\Debug\main.o: In function `main':H:/MySfml/sockets/main.cpp:49: undefined reference to `DoServerTCP(unsigned short)'obj\Debug\main.o: In function `Z11DoClientTCPt':H:/MySfml/sockets/main.cpp:73: undefined reference to `sf::IPAddress::IPAddress()'H:/MySfml/sockets/main.cpp:77: undefined reference to `sf::operator>>(std::istream&, sf::IPAddress&)'H:/MySfml/sockets/main.cpp:78: undefined reference to `sf::IPAddress::IsValid() const'H:/MySfml/sockets/main.cpp:82: undefined reference to `sf::SocketTCP::SocketTCP()'H:/MySfml/sockets/main.cpp:85: undefined reference to `sf::SocketTCP::Connect(unsigned short, sf::IPAddress const&, float)'H:/MySfml/sockets/main.cpp:87: undefined reference to `sf::operator<<(std::ostream&, sf::IPAddress const&)'H:/MySfml/sockets/main.cpp:92: undefined reference to `sf::SocketTCP::Receive(char*, unsigned int, unsigned int&)'H:/MySfml/sockets/main.cpp:102: undefined reference to `sf::SocketTCP::Send(char const*, unsigned int)'H:/MySfml/sockets/main.cpp:107: undefined reference to `sf::SocketTCP::Close()'obj\Debug\main.o: In function `Z11DoClientUDPt':H:/MySfml/sockets/main.cpp:113: undefined reference to `sf::IPAddress::IPAddress()'H:/MySfml/sockets/main.cpp:117: undefined reference to `sf::operator>>(std::istream&, sf::IPAddress&)'H:/MySfml/sockets/main.cpp:118: undefined reference to `sf::IPAddress::IsValid() const'H:/MySfml/sockets/main.cpp:122: undefined reference to `sf::SocketUDP::SocketUDP()'H:/MySfml/sockets/main.cpp:126: undefined reference to `sf::SocketUDP::Send(char const*, unsigned int, sf::IPAddress const&, unsigned short)'H:/MySfml/sockets/main.cpp:131: undefined reference to `sf::SocketUDP::Close()'obj\Debug\main.o: In function `Z11DoServerUDPt':H:/MySfml/sockets/main.cpp:136: undefined reference to `sf::SocketUDP::SocketUDP()'H:/MySfml/sockets/main.cpp:139: undefined reference to `sf::SocketUDP::Bind(unsigned short)'H:/MySfml/sockets/main.cpp:143: undefined reference to `sf::IPAddress::IPAddress()'H:/MySfml/sockets/main.cpp:147: undefined reference to `sf::SocketUDP::Receive(char*, unsigned int, unsigned int&, sf::IPAddress&, unsigned short&)'H:/MySfml/sockets/main.cpp:151: undefined reference to `sf::operator<<(std::ostream&, sf::IPAddress const&)'H:/MySfml/sockets/main.cpp:155: undefined reference to `sf::SocketUDP::Close()'collect2: ld returned 1 exit statusProcess terminated with status 1 (0 minutes, 1 seconds)
Linking console executable: bin\Debug\sockets.exe