You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I cloned the repository with Github Desktop and I used the command line with the next cmd cmake -B build -DNO_SIZEOF_VOID_P_CHECK=ON. It builds the project, but I can't compile, I'm not sure how to tell CMake to build the project using MSVC of 32 bits instead of using 64 bits. Using CMake GUI instead I was able to compile it.
The text was updated successfully, but these errors were encountered:
You must never use NO_SIZEOF_VOID_P_CHECK. I should probably remove it altogether. If it shows that error, it means that you're building for a 64-bit platform. HL is 32-bit so it doesn't make sense to do that.
With CMake GUI, select Win32 instead of x64 in this dialog .
But I agree I should make a build guide. In the meantime, anyone interested can follow this guide that I made for a different project. But keep this in mind:
Don't install vcpkg. It's not required.
Don't install MFC/ATL. They're not required.
Use this repo's Git URL: https://github.com/tmp64/BugfixedHL-Rebased.git
Thanks, maybe you shouldn't remove the warning but make it more meaningful. I figured out how to use Win32 from command line: cmake -B build -A Win32 and now everything works as expected.
Hi tmp64, I'm just trying to build the project in Windows using VS 2022 but I didn't found any guide like in the old repository https://github.com/tmp64/BugfixedHL/wiki/Building-guide
I cloned the repository with Github Desktop and I used the command line with the next cmd
cmake -B build -DNO_SIZEOF_VOID_P_CHECK=ON
. It builds the project, but I can't compile, I'm not sure how to tell CMake to build the project using MSVC of 32 bits instead of using 64 bits. Using CMake GUI instead I was able to compile it.The text was updated successfully, but these errors were encountered: