question

newuser-64239bf6-dc71-4327-8bd3-58b7269102a2 avatar image

error at building cxx object by this code-sudo bash setup.sh config.json [-s 1234]

[ 0%] Building CXX object AVSCommon/CMakeFiles/AVSCommon.dir/AVS/src/Attachment/InProcessAttachment.cpp.o

[ 0%] Building CXX object AVSCommon/CMakeFiles/AVSCommon.dir/AVS/src/AlexaClientSDKInit.cpp.o

/home/pi/avs-device-sdk/AVSCommon/AVS/src/AlexaClientSDKInit.cpp:16:10: fatal error: curl/curl.h: No such file or directory

#include <curl/curl.h>

^~~~~~~~~~~~~

compilation terminated.

make[3]: *** [AVSCommon/CMakeFiles/AVSCommon.dir/build.make:141: AVSCommon/CMakeFiles/AVSCommon.dir/AVS/src/AlexaClientSDKInit.cpp.o] Error 1

make[3]: *** Waiting for unfinished jobs....

make[2]: *** [CMakeFiles/Makefile2:7876: AVSCommon/CMakeFiles/AVSCommon.dir/all] Error 2

make[1]: *** [CMakeFiles/Makefile2:13874: SampleApp/src/CMakeFiles/SampleApp.dir/rule] Error 2

make: *** [Makefile:3568: SampleApp] Error 2

This is the error at last part rest all succeeds,

alexa voice servicealexa smart home
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers