Skip to content
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

Can't build this Project #83

Closed
Crysta1221 opened this issue Oct 6, 2021 · 7 comments
Closed

Can't build this Project #83

Crysta1221 opened this issue Oct 6, 2021 · 7 comments

Comments

@Crysta1221
Copy link

Hello. I want to build this project, but I can't build it due to an error. The content of the error is an error caused by a local variable or an unsafe function. Also, GWL_WNDPROC cannot be executed as an undefined identifier. So could you tell me which environment was successfully built? For example, you need the Windows SDK 10.0.19041.0 or the .NET Framework 4.
The integrated development environment is Visual Studio Enterprise 2019.
Also, please tell me how to build.
I don't know how to do this because they aren't written in the readme.md. Could you tell me based on those?

P.S. I'm a Japanese, so I used Google Translate. Maybe the translation isn't there.

@CherryPill
Copy link
Owner

Hello, what branch are you trying to build? Some branches can have errors as they're still under development.

I build the project using the default build toolchain which comes with Visual Studio. You don't need any runtime like .NET or anything, just the regular Windows SDK for Windows 7 and later.

@CherryPill
Copy link
Owner

The release branch v1.4.3-release builds without a problem

@Crysta1221
Copy link
Author

Crysta1221 commented Oct 12, 2021

thank you for your reply. I made it the one that told me the build, but I can't do it with the same error.
To build, open the .sln file and build.
I want to know the following.
・ SDK version of Windows 10
・ How to build
If the build method is different, please tell me the correct build method. Also, the build has stopped due to an error caused by the structure. (The structure in question is listed in the question)
And, branch is Master.
Thank you.

@Crysta1221
Copy link
Author

Addendum: I also built the 1.4.3 release, but could not build due to an undefined identifier or type error.
I think it depends on the version of Visual Studio, but is Visual studio 2019 successfully built?

@CherryPill
Copy link
Owner

Your problem stems from the fact that you're trying to build the project as x64, but you should build it as x86, which is why you get the error for the undefined identifier. Build it as x86 and it should work just fine.
Untitled

FYI, the program is a 32 bit app, there used to be two versions for both x86 and x64, but I decided that there was no point in building it as x64, since the program doesn't benefit from it.

@CherryPill
Copy link
Owner

In the future version the build will be forced as x86 as per #84

@Crysta1221
Copy link
Author

The reply was delayed. The build was successful on x86. Sorry to trouble you. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants