-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiled failed #9
Comments
Hello, I have the same problem as you. It seems that cpprestsdk is not installed properly. If you solve this problem, I hope you can give me a reply. Thank you. The environment I'm using is Windows 11, MinGW(gcc, g++), IDE is CLion, dependency libraries installed using vcpkg Error message:
|
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
The text was updated successfully, but these errors were encountered: