GiacomoLaw / Keylogger

A simple keylogger for Windows, Linux and Mac

Home Page:https://simple-keylogger.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

question regarding installing on windows

gartha1 opened this issue · comments

Hi

I don't really understand how you suggest installing this on Windows

I don't see an EXE

I look here

https://github.com/GiacomoLaw/Keylogger/tree/master/windows
and
https://github.com/GiacomoLaw/Keylogger

and it doesn't say much about how to make the EXE

It says "Simply compile into an .exe, and then run. Visual Studio is good for this. "

I do have a gcc.exe and g++.exe from cygwin

user@samsung350 /cygdrive/c/crp/keyloggerblah/windows
$ g++ klog_main.cpp
klog_main.cpp:1:10: fatal error: Windows.h: No such file or directory
#include <Windows.h>
^~~~~~~~~~~
compilation terminated.

user@samsung350 /cygdrive/c/crp/keyloggerblah/windows
$

I have Visual Studio 2015

But I don't know much about C++ in VS 2015

If I try to open the file in VS 2015 by file..open project/soluton, it says it's not a project or solution

If I open with file..open file, then i can open the CPP filie, but then if I go to 'build' it has no compile or build option, only "run code analysis on solution"

How am I meant to make the EXE?

Try changing it to windows.h instead. Sorry for the late reply!

Hey, compiling it with Code::Blocks and it apparently says error in line 142

||=== Build file: "no target" in "no project" (compiler: unknown) ===|
D:\Pierre etc ....... |142|error: 'MAPVK_VK_TO_CHAR' was not declared in this scope|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

It feels like you have a very, very old windows.h. what's your g++/gcc version?

I am also struggling to install this correctly, is there a possibility for you to make a tutorial or give a more detailed explanation.

Kind Regards