Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error C3861: '__builtin_clzll' , '__builtin_clz' and '__builtin_popcountll' not found in HighsHash.h #1445

Closed
dmeoli opened this issue Oct 7, 2023 · 1 comment
Assignees

Comments

@dmeoli
Copy link
Contributor

dmeoli commented Oct 7, 2023

Hi,

I'm trying to compile some code under Win with MSVC but I obtain:

C:\HiGHS\include\highs\util/HighsHash.h(105,46): error C3861: '__builtin_clzll': identifier not found
C:\HiGHS\include\highs\util/HighsHash.h(107,46): error C3861: '__builtin_clz': identifier not found
C:\HiGHS\include\highs\util/HighsHash.h(109,42): error C3861: '__builtin_popcountll': identifier not found

I found something like this online here.

Can anyone fix this problem?

Thx.

@dmeoli
Copy link
Contributor Author

dmeoli commented Feb 22, 2024

this error was due to building with -G "Mysys Makefile" and after using it in MSVC context

@dmeoli dmeoli closed this as completed Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants