FWGS / hlsdk-portable

Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
https://xash.su
Other
266 stars 121 forks source link

Add mention of Windows SDK in build Prerequisites [ci skip] #410

Closed FreeSlave closed 9 months ago

FreeSlave commented 9 months ago

It's been reported that without Windows SDK installed the cmake configure step produces errors like

No CMAKE_C_COMPILER could be found.
No CMAKE_CXX_COMPILER could be found

I believe it has to do something with checks in cmake when testing if compilers are set up correctly and this check relying on the presence of some tools available only when Windows SDK is installed (e.g. rc.exe).

As an alternative we could look at changing the CMakeListst.txt file so it works without Windows SDK installed but I don't know what changes should be done.