Closed ku6ryo closed 3 years ago
Note: I successfully run Wasm3DotNetDemo x86 and x64 and see results calculated in wasm module.
Thank you for reporting. I fixed the compiler and linker settings for x64 architecture (in commit 337dd80be9c7a9f1b9def10819dbef30f6b54f5c). Does it work on your environment?
thanks, I've confirmed that x64 build is done successfully. :)
But I faced crashes when I brought that x64 build to Unity and run Unity project. I will report that in a different issue.
Anyways, thanks a lot !!
Sorry, I forgot testing on Unity despite this issue has "on Unity" in the title... However, closing this because moved to #2.
I'm trying to use this lib on Unity on windows x64 environment.
Opened Wasm3DotNet/Wasm3DotNet.sln and set Wasm3DotNet for x64 env as a build target (not Wasm3DotNetDemo). Then, built a DLL and confirmed that a DLL is generated in bin/Release folder.
I copied the DLL and placed in Unity. Wasm3DotNet library is recognized and Unity build is success fully done in Unity Editor. However, in runtime, I see the following error. Seems like wasm3 lib is not imported.
My code is like this.
Next, I tried to build a DLL of wasm3 to get that wasm3 DLL included in my Unity project. On the same .sln on Visual Studio, built wasm3_dll csxproject for x64. I encountered the following error messages.
And next, I changed the original C code in wasm3 submodule and got rid of them. However, I see a new message.
I'm not able to fix the error on my end. Could you help me to resolve it?