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

fatal error hs/hs.h not found (windows) #36

Open
drsn00ker opened this issue Feb 7, 2024 · 4 comments
Open

fatal error hs/hs.h not found (windows) #36

drsn00ker opened this issue Feb 7, 2024 · 4 comments

Comments

@drsn00ker
Copy link

I understand Windows 10 installation is not in scope, still hoping there may be an easy fix....

While installing pyperscan I'm getting a fatal error (hs/hs.h not found). I'm actually trying to install unblob, but have identified pyperscan as the source not successfully accomplishing that...
Hyperscan is installs correctly (0.3.0 or 0.4.0)
Cargo and Rust are at version 1.75.0.

Pyperscan 0.1.0, and 0.3.0 both give the hs/hs.h error. Versions 0.2.0 and 0.2.2 give cmake module not found, although cmake is installed.
image

@vlaci
Copy link
Owner

vlaci commented Feb 14, 2024

Haven't tried windows build at all. Make sure, you are cloning with submodules enabled, and try building with the hyperscan or vectorscan features (-F vectorscan). If this doesn't work, you should figure out how to tell the build process where the hyperscan or vectorscan headers are.

@jrmoore
Copy link

jrmoore commented Jun 9, 2024

Same here, did you ever figure out how to get it going?

What I'd ultimately like to have is unblob, I stumbled upon this when trying to install it (pip install unblob), I had to create a new environmental variable pointing to Visual Studio's Clang binary directory or I wouldn't even get here.

Does Hyperscan / Vectorscan need to be installed beforehand? It would be nice if there were ready built pyperscan packages for Windows too in pypi

@drsn00ker
Copy link
Author

I gave up on trying to make it work. I've got an old computer with Kali on it, so just using that instead.

@rlewkowicz
Copy link

You can use docker too but I think it's slow on windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants