comoc / TelloForUnity

Ryze Tech/DJI Tello application development resources for Unity
The Unlicense
41 stars 19 forks source link

DLLs for UWP, x86 #9

Open chrisstyll opened 3 years ago

chrisstyll commented 3 years ago

Hello, I'm new to Unity and I'm trying to build for UWP, release, x86. I get a lot of errors that the dlls are x64 and it tells me that I need to recompile to x86 in order to work. How can i get the x86 dlls? Thank you in advance!

comoc commented 3 years ago

Hi, I've never created the DLLs for UWP, so I don't know if it will work, but to generate the DLLs you want, open TelloForUnity/TelloVideoDecoder/TelloVideoDecoder.sln in Visual Studio and try to build it. Also, I think you need to generate the x86 version of the FFmpeg DLLs. Please see the FFmpeg's web site for more information.

chrisstyll commented 3 years ago

I'm trying but I get a lot of errors. Can you give me some guidance on how to do that, please? I'm new to these kind of programming and I'm really lost. Anyhow, your comment was really helpful, thanks a lot!

Edit: This is one of the errors that i get, I imagine this has to do with the ffmpeg libraries "telloforunity\tellovideodecoder\tellovideodecoder\tellovideodecoder.cpp(18): fatal error C1083: Cannot open include file: 'libavformat/avio.h': No such file or directory"

PepperXu commented 1 year ago

I'm trying but I get a lot of errors. Can you give me some guidance on how to do that, please? I'm new to these kind of programming and I'm really lost. Anyhow, your comment was really helpful, thanks a lot!

Edit: This is one of the errors that i get, I imagine this has to do with the ffmpeg libraries "telloforunity\tellovideodecoder\tellovideodecoder\tellovideodecoder.cpp(18): fatal error C1083: Cannot open include file: 'libavformat/avio.h': No such file or directory"

sorry for bringing up this old issue. I am experiencing the exact same issue here. May I know if there is any existing solutions? many thanks!