source-engine icon indicating copy to clipboard operation
source-engine copied to clipboard

"Your compiler sucks"

Open marcikaa78 opened this issue 2 years ago • 8 comments

image

marcikaa78 avatar May 02 '24 18:05 marcikaa78

braindead

Aleph-202 avatar May 02 '24 20:05 Aleph-202

:(

marcikaa78 avatar May 03 '24 11:05 marcikaa78

agree with nillerusr, msvc is really sucks

but anyway, @nillerusr, HOW? it should target 64 bit but waf doesn't detect it

er2off avatar May 03 '24 12:05 er2off

@marcikaa78 send Complete log :trollface:

nillerusr avatar May 03 '24 13:05 nillerusr

https://pastebin.com/5pptud93

marcikaa78 avatar May 03 '24 14:05 marcikaa78

out: LINK : fatal error LNK1104: cannot open file 'LIBCMT.lib'

UCRT is missing? Broken windows sdk installation? Try reinstall it and check C:\Program Files (x86)\Windows Kits\10 folder if in contain needed files

Modern MSVC toolchain really sucks as cannot keep toolchain in single path and allows mixing incompatible components...

Also it lost devenv scripts like vcvarsall which at least guaranted setting up working environment without needing build system find all these components itself...

mittorn avatar May 03 '24 14:05 mittorn

Thanks! Reinstalled Windows SDK, and it works. YaY!

marcikaa78 avatar May 03 '24 15:05 marcikaa78

NOTE: dont use WSL to compile. you get the "your compiler sucks" problem. it worked fine when I copied it out of wsl.

SamuelEatsPizza avatar Mar 10 '26 23:03 SamuelEatsPizza