Skip to content

Not able to build #5

Closed
Closed
@ravichandhraRean

Description

@ravichandhraRean

Hi,

I am not able to build by following this given procedure in README.md

git clone --branch v0.1.1 https://github.com/awslabs/aws-crt-cpp.git
git clone https://github.com/awslabs/aws-iot-device-sdk-cpp-v2.git
mkdir aws-crt-cpp-build
cd aws-crt-cpp-build
cmake -DCMAKE_INSTALL_PREFIX="<path to where you install>" -DCMAKE_PREFIX_PATH="<path to where you install>" -DBUILD_SHARED_LIBS=ON -DBUILD_DEPS=ON ../aws-crt-cpp
<invoke build command make, msbuild, ninja etc....> install
cd ..
mkdir aws-iot-device-sdk-cpp-v2
cd aws-iot-device-sdk-cpp-v2
cmake -DCMAKE_INSTALL_PREFIX="<path to where you install>" -DCMAKE_PREFIX_PATH="<path to where you install>" -DBUILD_SHARED_LIBS=ON ../aws-iot-device-sdk-cpp-v2
<invoke build command make, msbuild, ninja etc....> install

There are two mistakes exists in the given procedure,
1. (there is no v0.1.1 branch existed)
git clone --branch v0.1.1 https://github.com/awslabs/aws-crt-cpp.git

2. (I think it should be aws-iot-device-sdk-cpp-v2-build)

 mkdir aws-iot-device-sdk-cpp-v2
 cd aws-iot-device-sdk-cpp-v2

I modified those two mistakes but not able build it successfully.

I couldn't understand what are these two CMAKE_PREFIX_PATH , CMAKE_INSTALL_PREFIX . It will be really helpful if you provide the description of those variables.

I tried to build it on Linux

Thank you.

Regards,
Ravichandhra Palla

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions