Scanning dependencies of target TwitchIRC
[ 25%] Building CXX object CMakeFiles/TwitchIRC.dir/src/main.cpp.obj
[ 50%] Building CXX object CMakeFiles/TwitchIRC.dir/src/IrcOutput.cpp.obj
C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp: In member function 'bool irc::Output::authentify()':
C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp:16:46: error: no matching function for call to 'irc::Irc::sendMessage(std::basic_string<char>)'
if (!p_server->sendMessage("PASS " + m_oauth)) {
^
C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp:16:46: note: candidate is:
In file included from C:/Users/Camille/Documents/DEV_Projects/TwitchIRC/Twitch-IRC/include/IRC/IrcOutput.hpp:3:0,
from C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp:3:
C:/Users/Camille/Documents/DEV_Projects/TwitchIRC/Twitch-IRC/include/IRC/IRC.hpp:22:9: note: bool irc::Irc::sendMessage(std::string&)
bool sendMessage(std::string &msg);
^
C:/Users/Camille/Documents/DEV_Projects/TwitchIRC/Twitch-IRC/include/IRC/IRC.hpp:22:9: note: no known conversion for argument 1 from 'std::basic_string<char>' to 'std::string& {aka std::basic_string<char>&}'
C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp:19:49: error: no matching function for call to 'irc::Irc::sendMessage(std::basic_string<char>)'
if (!p_server->sendMessage("NICK " + m_username)) {
^
C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp:19:49: note: candidate is:
In file included from C:/Users/Camille/Documents/DEV_Projects/TwitchIRC/Twitch-IRC/include/IRC/IrcOutput.hpp:3:0,
from C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp:3:
C:/Users/Camille/Documents/DEV_Projects/TwitchIRC/Twitch-IRC/include/IRC/IRC.hpp:22:9: note: bool irc::Irc::sendMessage(std::string&)
bool sendMessage(std::string &msg);
^
C:/Users/Camille/Documents/DEV_Projects/TwitchIRC/Twitch-IRC/include/IRC/IRC.hpp:22:9: note: no known conversion for argument 1 from 'std::basic_string<char>' to 'std::string& {aka std::basic_string<char>&}'
C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp: In member function 'bool irc::Output::joinRoom(const string&)':
C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp:30:44: error: no matching function for call to 'irc::Irc::sendMessage(std::basic_string<char>)'
if (!p_server->sendMessage("JOIN #" + name)) {
^
C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp:30:44: note: candidate is:
In file included from C:/Users/Camille/Documents/DEV_Projects/TwitchIRC/Twitch-IRC/include/IRC/IrcOutput.hpp:3:0,
from C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp:3:
C:/Users/Camille/Documents/DEV_Projects/TwitchIRC/Twitch-IRC/include/IRC/IRC.hpp:22:9: note: bool irc::Irc::sendMessage(std::string&)
bool sendMessage(std::string &msg);
^
C:/Users/Camille/Documents/DEV_Projects/TwitchIRC/Twitch-IRC/include/IRC/IRC.hpp:22:9: note: no known conversion for argument 1 from 'std::basic_string<char>' to 'std::string& {aka std::basic_string<char>&}'
C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp: In member function 'bool irc::Output::leaveRoom()':
C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp:42:47: error: no matching function for call to 'irc::Irc::sendMessage(std::basic_string<char>)'
if (!p_server->sendMessage("PART #" + m_room)) {
^
C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp:42:47: note: candidate is:
In file included from C:/Users/Camille/Documents/DEV_Projects/TwitchIRC/Twitch-IRC/include/IRC/IrcOutput.hpp:3:0,
from C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp:3:
C:/Users/Camille/Documents/DEV_Projects/TwitchIRC/Twitch-IRC/include/IRC/IRC.hpp:22:9: note: bool irc::Irc::sendMessage(std::string&)
bool sendMessage(std::string &msg);
^
C:/Users/Camille/Documents/DEV_Projects/TwitchIRC/Twitch-IRC/include/IRC/IRC.hpp:22:9: note: no known conversion for argument 1 from 'std::basic_string<char>' to 'std::string& {aka std::basic_string<char>&}'
C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp: In member function 'bool irc::Output::sendMessage(const string&)':
C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp:56:63: error: no matching function for call to 'irc::Irc::sendMessage(std::basic_string<char>)'
if (!p_server->sendMessage("PRIVMSG #" + m_room + " :" + msg)) {
^
C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp:56:63: note: candidate is:
In file included from C:/Users/Camille/Documents/DEV_Projects/TwitchIRC/Twitch-IRC/include/IRC/IrcOutput.hpp:3:0,
from C:\Users\Camille\Documents\DEV_Projects\TwitchIRC\Twitch-IRC\src\IrcOutput.cpp:3:
C:/Users/Camille/Documents/DEV_Projects/TwitchIRC/Twitch-IRC/include/IRC/IRC.hpp:22:9: note: bool irc::Irc::sendMessage(std::string&)
bool sendMessage(std::string &msg);
^
C:/Users/Camille/Documents/DEV_Projects/TwitchIRC/Twitch-IRC/include/IRC/IRC.hpp:22:9: note: no known conversion for argument 1 from 'std::basic_string<char>' to 'std::string& {aka std::basic_string<char>&}'
CMakeFiles\TwitchIRC.dir\build.make:112: recipe for target 'CMakeFiles/TwitchIRC.dir/src/IrcOutput.cpp.obj' failed
mingw32-make[2]: *** [CMakeFiles/TwitchIRC.dir/src/IrcOutput.cpp.obj] Error 1
CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/TwitchIRC.dir/all' failed
mingw32-make[1]: *** [CMakeFiles/TwitchIRC.dir/all] Error 2
Makefile:82: recipe for target 'all' failed
mingw32-make: *** [all] Error 2