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

rocksdb can't be compiled with nw-gyp due to embedded clang missing mm_malloc.h on Windows #149

Open
kakysha opened this issue Oct 15, 2021 · 0 comments

Comments

@kakysha
Copy link

kakysha commented Oct 15, 2021

Trying to recompile rocksdb for NW.js 0.53.0 using npx nw-gyp rebuild --build-from-source --runtime=node-webkit --target_arch=x64 --target=0.53.0 --verbose -j 8 on windows 11 and it fails while some rocksdb headers couldn't find include <mm_malloc.h> file.

I tried un-defying __clang__ directive, so the clang-cl.exe won't require that specific LLVM versions of malloc header, but then it fails during link step with bunch of errors about SSE symbols being undefined lld-link : error : undefined symbol: _mm_loadu_si128.

I use vs2015 build tools with windows 8 SDK. Other projects like sqlite3 and secp256k1 did compile successfully.

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

1 participant