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

dll x64 architecture error #22

Open
xx674967 opened this issue Feb 20, 2023 · 7 comments
Open

dll x64 architecture error #22

xx674967 opened this issue Feb 20, 2023 · 7 comments

Comments

@xx674967
Copy link

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

@PENGUINLIONG
Copy link
Member

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

@xx674967
Copy link
Author

xx674967 commented Feb 23, 2023

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

@PENGUINLIONG
Copy link
Member

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.

@xx674967
Copy link
Author

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
Copy link
Author

@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?

@PENGUINLIONG
Copy link
Member

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.

@Aqua12138
Copy link

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?

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

3 participants