Taichi-UnityExample icon indicating copy to clipboard operation
Taichi-UnityExample copied to clipboard

dll x64 architecture error

Open xx674967 opened this issue 2 years ago • 7 comments

when i just click play, the console show this error : Failed to load 'Assets/Plugins/x86_64/taichi_c_api.dll', expected x64 architecture, but was Unknown architecture. You must recompile your plugin for x64 architecture. but i've checked dll inspector , which is x64 architecture. I wonder how to deal with this problem? thx

xx674967 avatar Feb 20 '23 20:02 xx674967

I wonder what's your platform? Are you using Windows?

PENGUINLIONG avatar Feb 21 '23 03:02 PENGUINLIONG

I wonder what's your platform? Are you using Windows? Yes, win10 platform, Does it not support windows?

xx674967 avatar Feb 23 '23 05:02 xx674967

It actually supports windows in the first place and it's tested by our CI server... That's an issue. Thanks for the report. Will look into this.

PENGUINLIONG avatar Feb 23 '23 07:02 PENGUINLIONG

Thanks a lot, it's very strange that my friend's windows works. I'm looking for the difference, I'll report back here if I make progress

xx674967 avatar Feb 26 '23 16:02 xx674967

@PENGUINLIONG I solved this problem, the dll of git clone can run normally, but this error will be reported when downloading the zip package. BTW,I noticed that some local binary files (edges, c2e, etc.) are loaded in the fem demo. What do these binary files represent? Why do I write it like this? If I want to port the taichi fem algorithm to my model (FBX) ,What should I do?

xx674967 avatar Feb 28 '23 13:02 xx674967

Interesting. The binaries are basically buffer contents, arrays of ints and floats. You might want to check out the examples in the main taichi repository and the tutorials in the taichi forum for further information about what actually are these.

PENGUINLIONG avatar Feb 28 '23 13:02 PENGUINLIONG

I have a same problem with Failed to load Assets/Plugins/x86_64/taichi_unity.dll, expected x64 architecture, but was Unknown architecture. You must recompile your plugin for x64 architecture. and Failed to load 'Assets/Plugins/x86_64/taichi_c_api.dll', expected x64 architecture, but was Unknown architecture. You must recompile your plugin for x64 architecture. My system is window. The version of unity is 2021.3.41. Do I need to recompile taichi_unity.dll and taichi_c_api.dll according to the error message?

Aqua12138 avatar Mar 08 '23 08:03 Aqua12138