Build failed on Windows

0

Hi,

I'm trying to install the sdk on Windows 10 using steps mentioned in "https://github.com/aws/aws-iot-device-sdk-cpp/blob/master/Platform.md". When I created the build folder outside my sdk source directory, I got an error saying,
"$ "C:/Program Files/CMake/bin/cmake" -G "Borland Makefiles" ../.
CMake Error: The source directory "C:/Users/madhushiR" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI."

Then, I created the build folder inside my source directory and got the following errors.

MadhushiR@AT9072 MINGW64 ~/aws-iot-device-sdk-cpp (master)
$ cd build

MadhushiR@AT9072 MINGW64 ~/aws-iot-device-sdk-cpp/build (master)
$ "C:/Program Files/CMake/bin/cmake" -G "Borland Makefiles" ../.
-- The CXX compiler identification is Borland 5.60
-- Check for working CXX compiler: C:/Program Files (x86)/Borland/CBuilder6/Bin/bcc32.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Borland/CBuilder6/Bin/bcc32.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/madhushiR/aws-iot-device-sdk-cpp/build/third_party/rapidjson/download
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
�[35m�[1mScanning dependencies of target rapidjson�[0m
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
[ 11%] �[34m�[1mCreating directories for 'rapidjson'�[0m
[ 22%] �[34m�[1mPerforming download step for 'rapidjson'�[0m
Cloning into '.'...
fatal: unable to access 'https://github.com/Tencent/rapidjson.git/': error setting certificate verify locations:
CAfile: C:/Users/madhushiR/AppData/Local/Programs/Git/mingw64/ssl/certs/ca-bundle.crt
CApath: none

** error 128 ** deleting rapidjson-prefix\src\rapidjson-stamp\rapidjson-download

** error 1 ** deleting CMakeFiles\rapidjson.dir\all

** error 1 ** deleting all
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - not found
-- Found Threads: TRUE
-- Found OpenSSL: C:/OpenSSL-Win64/lib/libeay32.lib (found version "1.0.2t")
CMake Error at C:/Program Files/CMake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find CURL (missing: CURL_LIBRARY) (found version "7.67.0")
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.16/Modules/FindCURL.cmake:143 (find_package_handle_standard_args)
tests/unit/CMakeLists.txt:59 (find_package)

-- Configuring incomplete, errors occurred!
See also "C:/Users/madhushiR/aws-iot-device-sdk-cpp/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/madhushiR/aws-iot-device-sdk-cpp/build/CMakeFiles/CMakeError.log".

*Can someone please help me to solve this issue?

Thanks*

Mashi
gefragt vor 4 Jahren241 Aufrufe
1 Antwort
0

All good. I figured out the way to solve this issue. If anyone is having the same issue, let me know. I'm more than happy to help.

Mashi
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen