NangiDev / GDSerCommPlugin

A Godot plugin to read Arduino serial input
MIT License
79 stars 13 forks source link

ERROR: Can't open dynamic library: libserialcomm.dll. Error : Isn't a valid Win32 app #30

Closed Gotvna closed 2 weeks ago

Gotvna commented 2 weeks ago

Hello, I have this error when I want to compile my app. I've build dlls with the readme in x64 but this error is displayed when I start the app so I can't get my SerComms. I hope you will answer soon

Gotvna commented 2 weeks ago

Find the problem

NangiDev commented 2 weeks ago

Great 👍

Could you share what the problem was? Thanks!

Gotvna commented 2 weeks ago

After creating the dll with VS and build the extension + the dll for godot-cpp, I import then in my project in a "bin" folder. The dll created by the python script is a template in x86_64 but when I build the sercomm.gdextension load the template x86_32 so I replace release and debug in the extension by the template in x86_64 everywhere. image