-
Notifications
You must be signed in to change notification settings - Fork 12
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
This package does not run on Windows #52
Comments
I'm afraid I haven't set it up to be built on Windows. The Makefile is not compatible with Windows, and there may be other issues such as the one you found. If you would like to submit a pull request with a working build setup for Windows, I'd be happy to add it to the package. It can certainly be built in a linux container within WSL running on Windows, if you are unable to get a MacOS or linux machine on which to build, and once it is built, it of course runs in the browser on any platform. Sorry I can't be more help right now. |
How actually you test your updates? The problem is that I am building a vscode extension that must work for any user in the main operation systems (Windows, Linux and Mac) |
You don't need to build h5wasm on every operating system - I build it using linux or MacOS then package the wasm build into an npm package and publish it, then users of any operating system can install with npm and they will get the binary wasm code that will run on their system. |
What I did in my
What I did in my personal package that is using it:
I am doing everything on Linux first to check if it works, but now even in Linux it does not work. Am I missing something? |
you haven't committed your 'dist' folder to your github repo. If you want to install directly from github the compiled files have to be there in the repo. I am using the npmjs repo to host the compiled files because it is awkward to commit large compiled files to github, but for your testing it should be fine. |
Have you already faced this problem. I never touched this part of the code in file
|
Can you tell me which version of emscripten you are using? |
The latest version at So it should be 3.1.38 |
You can remove the line Also it looks like the more recent versions of emscripten are stripping the _malloc and _free functions with -O3, so I added them to the explicit export list (pull the most recent version of h5wasm). I was able to run the test with |
Hello,
I am trying to use this package in my application but it does not work in windows computers. After sime research I believe that in file
src/hdf5_util.cc
every.c_str()
must be replaced for.data()
.Could you try that for me?
I created this fork (https://github.com/masasso/h5wasm) to solve the problem but as I dont know much about web assembly I am not able to compile the project.
Thanks in advance.
The text was updated successfully, but these errors were encountered: