The Keylogger is able to capture all the keystrokes using system hooks. In addition to this, it is also able to put them into a file, encrypt the file and send the file via mail based on a timer.
GNU General Public License v3.0
61
stars
33
forks
source link
Timer.h 'function' in namespace 'std' does not name a template type error #10
||=== Build: Debug in keylogger (compiler: GNU GCC Compiler) ===|
C:\Users\joe\Documents\keylogger\Timer.h|24|error: 'function' in namespace 'std' does not name a template type|
C:\Users\joe\Documents\keylogger\Timer.h|24|note: 'std::function' is defined in header ''; did you forget to '#include '?|
C:\Users\joe\Documents\keylogger\Timer.h|57|error: 'function' in namespace 'std' does not name a template type|
C:\Users\joe\Documents\keylogger\Timer.h|57|note: 'std::function' is defined in header ''; did you forget to '#include '?|
C:\Users\joe\Documents\keylogger\Timer.h|57|error: expected ',' or '...' before '<' token|
C:\Users\joe\Documents\keylogger\Timer.h|59|error: 'function' in namespace 'std' does not name a template type|
C:\Users\joe\Documents\keylogger\Timer.h|59|note: 'std::function' is defined in header ''; did you forget to '#include '?|
C:\Users\joe\Documents\keylogger\Timer.h|59|error: expected ',' or '...' before '<' token|
C:\Users\joe\Documents\keylogger\Timer.h|59|error: 'Timer::Timer(int)' cannot be overloaded with 'Timer::Timer(int)'|
C:\Users\joe\Documents\keylogger\Timer.h|57|note: previous declaration 'Timer::Timer(int)'|
C:\Users\joe\Documents\keylogger\Timer.h|90|error: 'function' in namespace 'std' does not name a template type|
C:\Users\joe\Documents\keylogger\Timer.h|90|note: 'std::function' is defined in header ''; did you forget to '#include '?|
C:\Users\joe\Documents\keylogger\Timer.h|90|error: expected ',' or '...' before '<' token|
C:\Users\joe\Documents\keylogger\Timer.h|117|error: 'function' in namespace 'std' does not name a template type|
C:\Users\joe\Documents\keylogger\Timer.h|117|note: 'std::function' is defined in header ''; did you forget to '#include '?|
C:\Users\joe\Documents\keylogger\Timer.h||In member function 'void Timer::SleepAndRun()':|
C:\Users\joe\Documents\keylogger\Timer.h|33|error: 'Function' was not declared in this scope|
C:\Users\joe\Documents\keylogger\Timer.h|33|note: suggested alternative: 'SetFunction'|
C:\Users\joe\Documents\keylogger\Timer.h||In constructor 'Timer::Timer(int)':|
C:\Users\joe\Documents\keylogger\Timer.h|57|error: class 'Timer' does not have any field named 'funct'|
C:\Users\joe\Documents\keylogger\Timer.h|57|error: 'f' was not declared in this scope|
C:\Users\joe\Documents\keylogger\Timer.h||In constructor 'Timer::Timer(int)':|
C:\Users\joe\Documents\keylogger\Timer.h|61|error: class 'Timer' does not have any field named 'funct'|
C:\Users\joe\Documents\keylogger\Timer.h|61|error: 'f' was not declared in this scope|
C:\Users\joe\Documents\keylogger\Timer.h|62|error: 'i' was not declared in this scope|
C:\Users\joe\Documents\keylogger\Timer.h|62|error: 'repeat' was not declared in this scope|
C:\Users\joe\Documents\keylogger\Timer.h|62|note: suggested alternative: 'select'|
C:\Users\joe\Documents\keylogger\Timer.h|22|warning: 'Timer::interval' will be initialized after [-Wreorder]|
C:\Users\joe\Documents\keylogger\Timer.h|17|warning: 'long int Timer::CallNumber' [-Wreorder]|
C:\Users\joe\Documents\keylogger\Timer.h|59|warning: when initialized here [-Wreorder]|
C:\Users\joe\Documents\keylogger\Timer.h||In member function 'void Timer::SetFunction(int)':|
C:\Users\joe\Documents\keylogger\Timer.h|92|error: 'funct' was not declared in this scope|
C:\Users\joe\Documents\keylogger\Timer.h|92|error: 'f' was not declared in this scope|
C:\Users\joe\Documents\keylogger\SendMail.h||In function 'int Mail::SendMail(const string&, const string&, const string&)':|
C:\Users\joe\Documents\keylogger\SendMail.h|128|error: no matching function for call to 'Timer::SetFunction(Mail::SendMail(const string&, const string&, const string&)::<lambda()>)'|
C:\Users\joe\Documents\keylogger\Timer.h|90|note: candidate: 'void Timer::SetFunction(int)'|
C:\Users\joe\Documents\keylogger\Timer.h|90|note: no known conversion for argument 1 from 'Mail::SendMail(const string&, const string&, const string&)::<lambda()>' to 'int'|
C:\Users\joe\Documents\keylogger\KeybHook.h|37|error: no matching function for call to 'Timer::Timer(void (&)(), int, const long int&)'|
C:\Users\joe\Documents\keylogger\Timer.h|57|note: candidate: 'Timer::Timer(int)'|
C:\Users\joe\Documents\keylogger\Timer.h|57|note: candidate expects 1 argument, 3 provided|
C:\Users\joe\Documents\keylogger\Timer.h|55|note: candidate: 'Timer::Timer()'|
C:\Users\joe\Documents\keylogger\Timer.h|55|note: candidate expects 0 arguments, 3 provided|
C:\Users\joe\Documents\keylogger\Timer.h|8|note: candidate: 'Timer::Timer(Timer&&)'|
C:\Users\joe\Documents\keylogger\Timer.h|8|note: candidate expects 1 argument, 3 provided|
||=== Build failed: 20 error(s), 3 warning(s) (0 minute(s), 1 second(s)) ===|
||=== Build: Debug in keylogger (compiler: GNU GCC Compiler) ===| C:\Users\joe\Documents\keylogger\Timer.h|24|error: 'function' in namespace 'std' does not name a template type| C:\Users\joe\Documents\keylogger\Timer.h|24|note: 'std::function' is defined in header ''; did you forget to '#include '?|
C:\Users\joe\Documents\keylogger\Timer.h|57|error: 'function' in namespace 'std' does not name a template type|
C:\Users\joe\Documents\keylogger\Timer.h|57|note: 'std::function' is defined in header ''; did you forget to '#include '?|
C:\Users\joe\Documents\keylogger\Timer.h|57|error: expected ',' or '...' before '<' token|
C:\Users\joe\Documents\keylogger\Timer.h|59|error: 'function' in namespace 'std' does not name a template type|
C:\Users\joe\Documents\keylogger\Timer.h|59|note: 'std::function' is defined in header ''; did you forget to '#include '?|
C:\Users\joe\Documents\keylogger\Timer.h|59|error: expected ',' or '...' before '<' token|
C:\Users\joe\Documents\keylogger\Timer.h|59|error: 'Timer::Timer(int)' cannot be overloaded with 'Timer::Timer(int)'|
C:\Users\joe\Documents\keylogger\Timer.h|57|note: previous declaration 'Timer::Timer(int)'|
C:\Users\joe\Documents\keylogger\Timer.h|90|error: 'function' in namespace 'std' does not name a template type|
C:\Users\joe\Documents\keylogger\Timer.h|90|note: 'std::function' is defined in header ''; did you forget to '#include '?|
C:\Users\joe\Documents\keylogger\Timer.h|90|error: expected ',' or '...' before '<' token|
C:\Users\joe\Documents\keylogger\Timer.h|117|error: 'function' in namespace 'std' does not name a template type|
C:\Users\joe\Documents\keylogger\Timer.h|117|note: 'std::function' is defined in header ''; did you forget to '#include '?|
C:\Users\joe\Documents\keylogger\Timer.h||In member function 'void Timer::SleepAndRun()':|
C:\Users\joe\Documents\keylogger\Timer.h|33|error: 'Function' was not declared in this scope|
C:\Users\joe\Documents\keylogger\Timer.h|33|note: suggested alternative: 'SetFunction'|
C:\Users\joe\Documents\keylogger\Timer.h||In constructor 'Timer::Timer(int)':|
C:\Users\joe\Documents\keylogger\Timer.h|57|error: class 'Timer' does not have any field named 'funct'|
C:\Users\joe\Documents\keylogger\Timer.h|57|error: 'f' was not declared in this scope|
C:\Users\joe\Documents\keylogger\Timer.h||In constructor 'Timer::Timer(int)':|
C:\Users\joe\Documents\keylogger\Timer.h|61|error: class 'Timer' does not have any field named 'funct'|
C:\Users\joe\Documents\keylogger\Timer.h|61|error: 'f' was not declared in this scope|
C:\Users\joe\Documents\keylogger\Timer.h|62|error: 'i' was not declared in this scope|
C:\Users\joe\Documents\keylogger\Timer.h|62|error: 'repeat' was not declared in this scope|
C:\Users\joe\Documents\keylogger\Timer.h|62|note: suggested alternative: 'select'|
C:\Users\joe\Documents\keylogger\Timer.h|22|warning: 'Timer::interval' will be initialized after [-Wreorder]|
C:\Users\joe\Documents\keylogger\Timer.h|17|warning: 'long int Timer::CallNumber' [-Wreorder]|
C:\Users\joe\Documents\keylogger\Timer.h|59|warning: when initialized here [-Wreorder]|
C:\Users\joe\Documents\keylogger\Timer.h||In member function 'void Timer::SetFunction(int)':|
C:\Users\joe\Documents\keylogger\Timer.h|92|error: 'funct' was not declared in this scope|
C:\Users\joe\Documents\keylogger\Timer.h|92|error: 'f' was not declared in this scope|
C:\Users\joe\Documents\keylogger\SendMail.h||In function 'int Mail::SendMail(const string&, const string&, const string&)':|
C:\Users\joe\Documents\keylogger\SendMail.h|128|error: no matching function for call to 'Timer::SetFunction(Mail::SendMail(const string&, const string&, const string&)::<lambda()>)'|
C:\Users\joe\Documents\keylogger\Timer.h|90|note: candidate: 'void Timer::SetFunction(int)'|
C:\Users\joe\Documents\keylogger\Timer.h|90|note: no known conversion for argument 1 from 'Mail::SendMail(const string&, const string&, const string&)::<lambda()>' to 'int'|
C:\Users\joe\Documents\keylogger\KeybHook.h|37|error: no matching function for call to 'Timer::Timer(void (&)(), int, const long int&)'|
C:\Users\joe\Documents\keylogger\Timer.h|57|note: candidate: 'Timer::Timer(int)'|
C:\Users\joe\Documents\keylogger\Timer.h|57|note: candidate expects 1 argument, 3 provided|
C:\Users\joe\Documents\keylogger\Timer.h|55|note: candidate: 'Timer::Timer()'|
C:\Users\joe\Documents\keylogger\Timer.h|55|note: candidate expects 0 arguments, 3 provided|
C:\Users\joe\Documents\keylogger\Timer.h|8|note: candidate: 'Timer::Timer(Timer&&)'|
C:\Users\joe\Documents\keylogger\Timer.h|8|note: candidate expects 1 argument, 3 provided|
||=== Build failed: 20 error(s), 3 warning(s) (0 minute(s), 1 second(s)) ===|