dji-sdk / Windows-SDK

DJI Windows SDK: http://developer.dji.com/windows-sdk/
Other
177 stars 117 forks source link

Error Compiling Code #63

Closed Asendo316 closed 4 years ago

Asendo316 commented 4 years ago

Severity Code Description Project File Line Suppression State Error C1083 Cannot open include file: 'pthread.h': No such file or directory (compiling source file videoparser.cpp) DJIVideoParser D:\User\RAW\Windows-SDK-master\Windows-SDK-master\Sample Code\DJIVideoParser\Queue.h 5

Severity Code Description Project File Line Suppression State Error C1083 Cannot open include file: 'pthread.h': No such file or directory (compiling source file videoparsermgr.cpp) DJIVideoParser D:\User\RAW\Windows-SDK-master\Windows-SDK-master\Sample Code\DJIVideoParser\Queue.h 5

Severity Code Description Project File Line Suppression State Error C1083 Cannot open include file: 'pthread.h': No such file or directory (compiling source file VideoWrapper.cpp)
DJIVideoParser D:\User\RAW\Windows-SDK-master\Windows-SDK-master\Sample Code\DJIVideoParser\Queue.h 5

dji-dev commented 4 years ago

Agent comment from William Wong in Zendesk ticket #40966:

Dear Client Thank you for contacting DJI.

Make sure you mee the requirement.

  1. Windows 10 (version 1803 or higher)
  2. Visual Studio 2017 with Windows 10 SDK 16299 and 17134.
  3. Use debug-x86 mode to compile and run in Visual Studio 2017.

Hopefully our solution can help you. Kindly Regards, DJI Developer Support

Asendo316 commented 4 years ago

Hello,

My environment meets the requirement.

It appears the pthread and all the other major ffmpeg libraries are missing from solution

Severity Code Description Project File Line Suppression State Error C1083 Cannot open include file: 'libavcodec/avcodec.h': No such file or directory (compiling source file Parser.cpp) D:\User\RAW\Windows-SDK-master\Windows-SDK-master\Sample Code\DJIVideoParser\Queue.h

What to do?

dji-dev commented 4 years ago

Agent comment from William Wong in Zendesk ticket #40966:

Dear Client Thank you for contacting DJI.

That seems weird because I can comple and run the project and we haven't update the project for a long time. Maybe try this step? It seems like the 3rd party library hasn't been included.

Hopefully our solution can help you. Kindly Regards, DJI Developer Support

Asendo316 commented 4 years ago

Hello Thanks for your prompt response.

I cant find the libcrypto-1_1.dll library anywhere in the cloned project please.

dji-dev commented 4 years ago

Agent comment from William Wong in Zendesk ticket #40966:

Dear Client Thank you for contacting DJI.

This is the default settings I have downloaded from github, maybe look at the right hand side to see if and dll is missing from your side. Maybe redownload the project again.

Hopefully our solution can help you. Kindly Regards, DJI Developer Support


inline-959032929.png
inline1871848265.png

Asendo316 commented 4 years ago

I have been able to run the code after a fresh pull from he repository thanks