-
Notifications
You must be signed in to change notification settings - Fork 617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling klog_main.cpp errors #25
Comments
Apologies for this. Did you manage to compile it in the end? |
No I couldn't compile any of the versions except version 2.0. |
Try removing the L infront of the strings in MessageBox(...) (line 47) In my case it would not compile without them, but your compiler may be different. Edit: |
@wicked Please do what @Z0ckerchris suggested, then report back. @Z0ckerchris What do you use as a compiler? Thanks for helping out! |
Using Dev-C++ 5.11, TDM-GCC 4.9.2 64-bit Release, removed L infront of the strings in MessageBox(...) (line 47)
Using Visual Studio 2015, Visual C++ Empty Project, klog_main.cpp inside Source Files folder.
Using
|
Can you see if the older Windows version worked? Sorry for the issues |
Also, have you set whether the window is visible or not?
|
Using unmodified visible.
|
Using the older Windows version compiles, but with the following error on Dev-C++ 5.11, TDM-GCC 4.9.2 64-bit Release.
klog_main.exe works well, but it on win10 it takes up recurring 50% cpu. On win7 it takes up 100%-97% cpu. But on Visual Studio 2015, using the older version having similar problem on |
@wicked Ah, okay. Does the new version compile for you even though the errors and work? Thanks, sorry for the issue and the questions. |
The newest version doesn't compile. No problem @GiacomoLaw , just reporting issues so other users won't have any trouble compiling. |
Okay, thanks. Does anyone else have compilation issues? I don't get them on VS Community edition. Thanks for reporting! |
@GiacomoLaw I'm also using VS Community Edition @wicked The |
@GiacomoLaw is it possible to compile windows.cpp on linux gcc or g++? |
@wicked If they can compile C++, yes |
Just compiled using the same version of Dev-C++, with two errors but compiles just fine. I may have messed up installation last time. Thanks @GiacomoLaw In function 'LRESULT HookCallback(int, WPARAM, LPARAM)': |
No problem, glad to see it worked for you! |
I have tried compiling the source on Dev-C++ and Visual Studio 2016, resulting in various errors. Using latest on master windows.
On Dev-C++ 5.11
On Visual Studio 2015 Community Edition
Very frustrating to compile and not simple anymore. The simplier choice would be version 2.0 but it takes up recurring 100% cpu usage.
The text was updated successfully, but these errors were encountered: