Open rtxa opened 4 months ago
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:
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.