I am having trouble figuring out this issue. I've been trying every search and missing package and cannot solve this. I feel like there is something simple I am overlooking, any help is much appreciated. Note: I get the same error on any linux platform.
Here is the error message:
uaps@uaps:~/DronecodeSDK$ make default
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/local/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/local/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:377 (FPHSAFAILURE_MESSAGE)
/usr/local/share/cmake-3.9/Modules/FindCURL.cmake:48 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cmake/curl.cmake:24 (find_package)
CMakeLists.txt:14 (include)
-- Configuring incomplete, errors occurred!
See also "/home/uaps/DronecodeSDK/build/default/CMakeFiles/CMakeOutput.log".
Build dir: build/default
/bin/sh: 1: cd: can't cd to build/default
Makefile:73: recipe for target 'default' failed
make: *** [default] Error 2
Seems the issue is with Curl. This is the curl version I have:
uaps@uaps:~/SDK/DronecodeSDK$ curl -V
curl 7.52.1 (x86_64-pc-linux-gnu) libcurl/7.52.1 OpenSSL/1.0.2g zlib/1.2.11 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets HTTPS-proxy PSL