FlightRecordParsingLib icon indicating copy to clipboard operation
FlightRecordParsingLib copied to clipboard

Docker Build on Ubuntu FAILS!

Open dronematt opened this issue 2 years ago • 2 comments

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

dronematt avatar Aug 09 '23 02:08 dronematt

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

roothetic avatar Aug 10 '23 10:08 roothetic

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,

°°°

dji-dev avatar Aug 11 '23 09:08 dji-dev