BitNet icon indicating copy to clipboard operation
BitNet copied to clipboard

error : cannot use 'throw' with exceptions disabled

Open mithunkr opened this issue 8 months ago • 0 comments

The old issue https://github.com/microsoft/BitNet/issues/75 was closed. So I had to post it again...

I've below CLang in Windows 11.

\BitNet> clang --version
clang version 19.1.7
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: C:/msys64/mingw64/bin

But I still get these errors when trying to run "python setup_env.py -md models/BitNet-b1.58-2B-4T -q i2_s"

\BitNet\3rdparty\llama.cpp\src\llama.cpp(122,9): error : cannot use 'throw' with exceptions disabled [...\BitNet\build\3rdparty\llama.cpp\src\llama.vcxproj]

Can someone please help?

mithunkr avatar May 01 '25 14:05 mithunkr