Closed Peter-J-Jansen closed 2 months ago
Sorry for replying to my own issue here, but I was able to solve the MSVC clang-cl problem, although I consider this pure luck, as I am certainly no MSVC clang-cl compiler expert. I discovered that MSVC clang-cl just needs a few target options, which I specified in the CL options, which now reads :
SET "CL=-mcx16 -msse4.1 -mpclmul -maes /w"
The issue as I reported it just required the first additional one, -msse4.1
, but then also the second one, -mpclmul
, was needed later on. Amazingly, just adding also that one did not solve the problem. By pure luck I stumbled upon a blog where also -maes
was mentioned following -mpclmul and only after that 3rd additional option did the MSVC clang-cl compile work.
Following the above CL setting, the nmake
command worked without further errors.
I'll close the issue again.
Peter,
The GCC build succeeds though.
You're actually using gcc on Windows under a VS2022 build framework?
Bill
Hi Bill,
Sorry, I should not have said GCC, under VS2022 (or VS2019) it's just the regular MSVC C compiler I presume. The nmake output shows command name "cl", whereas with CLANG that's "clang-cl". Most of the time I work under Ubuntu Linux, and there the choice is CLANG vs. GCC, that's where my mistake came from. Does that make sense ?
But by now I can confirm the MSVC CLANG build works, the result is IPL-able just fine.
Cheers,
Peter
The MSVC clang-cl under Windows 11 23H2 (all current up-to-date) build stops with this error:
The GCC build succeeds though.
Cheers,
Peter