Skip to content

compiled failed #9

@hfan0216

Description

@hfan0216

after execute cmd:
sh chatbot-20220408/scripts/install.sh

the out errror is:
-- The C++ compiler ID is: GNU
-- The C++ compiler version is: 10.2.1
-- Build type: Release
-- Install libraries
-- alibabacloud_endpoint_util : Project will be installed to /usr/local
-- Installing LIB components to /usr/local/lib64
-- Installing BIN components to /usr/local/bin
-- Installing INCLUDE components to /usr/local/include
-- Installing CMAKE components to /usr/local/share/cmake/darabonba_util
-- darabonba_core could not be located, Building darabonba_core instead.
-- alibabacloud_chatbot_20220408 : Project will be installed to /usr/local
-- Installing LIB components to /usr/local/lib64
-- Installing BIN components to /usr/local/bin
-- Installing INCLUDE components to /usr/local/include
-- Installing CMAKE components to /usr/local/share/cmake/darabonba_util
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CPPREST_LIB
linked by target "alibabacloud_chatbot_20220408" in directory /home/alibabacloud-cpp-sdk/chatbot-20220408
linked by target "darabonba_util" in directory /home/alibabacloud-cpp-sdk/chatbot-20220408/cmake_build/_deps/_darabonba_util-src
linked by target "darabonba_core" in directory /home/alibabacloud-cpp-sdk/chatbot-20220408/cmake_build/_deps/_darabonba_core-src
linked by target "alibabacloud_open_api" in directory /home/alibabacloud-cpp-sdk/chatbot-20220408/cmake_build/_deps/_alibabacloud_open_api-src
linked by target "alibabacloud_credential" in directory /home/alibabacloud-cpp-sdk/chatbot-20220408/cmake_build/_deps/_alibabacloud_credential-src
linked by target "alibabacloud_open_api_util" in directory /home/alibabacloud-cpp-sdk/chatbot-20220408/cmake_build/_deps/_alibabacloud_open_api_util-src

-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.

Error: Failed to cmake.

i compile the sdk follow the steps in link:
https://github.com/alibabacloud-sdk-cpp/chatbot-20220408/?spm=api-workbench.SDK%20Document.0.0.31151d204a0lj5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions