The errors indicate that you're either not linking SFML at all, or that you're linking a wrong version.
If m_code isn't of type sf:: Keyboard::Key, I suggest to use the C++ static_cast instead of C-style cast. That way it's easier to read and understand.
Also a public member shouldn't use the prefix m_.