dji-sdk / FlightRecordParsingLib

DJI Flight Record Parsing Lib
Other
39 stars 12 forks source link

Docker Build on Ubuntu FAILS! #13

Open dronematt opened 11 months ago

dronematt commented 11 months ago

Guess someone left out some stuff in the docker file!

11 1.197 CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message): 11 1.197 Could NOT find CURL (missing: CURL_INCLUDE_DIR) 11 1.197 Call Stack (most recent call first): 11 1.197 /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) 11 1.197 /usr/share/cmake-3.5/Modules/FindCURL.cmake:61 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) 11 1.197 CMakeLists.txt:14 (find_package) 11 1.197 11 1.197 11 1.197 -- Configuring incomplete, errors occurred! 11 1.197 See also "/parse_flyrecord/dji-flightrecord-kit/build/Ubuntu/FRSample/CMakeFiles/CMakeOutput.log". 11 1.200 make: *** No targets specified and no makefile found. Stop.

process "/bin/sh -c sh generate.sh" did not complete successfully: exit code: 2

roothetic commented 11 months ago

I had the same problem. The solution was to add the following packages to the Dockerfile: libcurl4-openssl-dev zlib1g-dev

RUN apt-get install -y wget git gcc g++ make cmake libcurl4-openssl-dev zlib1g-dev

dji-dev commented 11 months ago

Agent comment from xiaorong.zheng in Zendesk ticket #88697:

Hello dronematt,

I hope this message finds you well! I wanted to let you know that we have successfully reproduced the issue you reported. We have taken the necessary steps to submit it to our Research and Development team for further investigation.

Thank you for bringing this to our attention, and we appreciate your patience as we work towards resolving this matter. If you have any additional information or questions, please don't hesitate to let us know. We're here to help!

Warm regards,

°°°