-
Notifications
You must be signed in to change notification settings - Fork 42
[WASM] There is a build error with Emscripten (newest version 1.38.46) tool on WASM #1004
Comments
I try to build nn_ops.js with binding.cpp and Emscripten (newest version 1.38.46) tool and Tensorflow (branch r1.15), and get 8 errors. |
@akineeic , could you please investigate this issue? thanks. |
To my understanding, it's the issue of class_<RuntimeShape>("RuntimeShape")
.constructor<int>()
.function("DimensionsCount", &RuntimeShape::DimensionsCount)
.function("Dims", &RuntimeShape::Dims)
.function("SetDim", &RuntimeShape::SetDim)
; |
Thanks @Wenzhao-Xiang . @akineeic , could you please follow Wenzhao's suggestion and create a PR? |
In the r1.15 release, |
Thanks @Wenzhao-Xiang , I have reproduced the error and solved it followed wenzhao's suggestion. It seems caused by the version of Emscripten. I'll make a PR later. |
This issue has fixed in #1021. |
@akineeic , the process is that we close the issue after PR merged. And if you put fix key word in your PR, the issue will be automatically closed after PR merged. Please check out https://help.github.com/en/articles/closing-issues-using-keywords |
Thanks @huningxin, I have modified the pull request description. |
It seems that the version 1.38.41 or later of emscripten does't support our code of constructor's overload. To overload the constructor of RuntimeShape correctly, I have created an issue in emscripten repo. Waiting for their advanced infomation. |
There is a build error with Emscripten (newest version 1.38.46) tool on WASM. The tensorflow version is 1.13.

Error info:
The text was updated successfully, but these errors were encountered: