Prashanna-Raj-Pandit / AlexaPI

Building Alexa Voice Service device SDK on Raspberry Pi for Home Automation
0 stars 1 forks source link

device freezes #2

Open rito opened 2 years ago

rito commented 2 years ago

in this command: sudo bash setup.sh config.json [-s 1234]

the device freezes in 95% [95%] Building CXX object SampleApp/src/CmakeFiles/LibSampleApp.dir/UIManager.cpp.o

I've been trying for 3 days and I can't get out of this stage. The screen freezes after about 30 sec. I've tried waiting for 12 hours, I've tried turning it off and on several times and I can't get out of this step. Before that, the raspberry froze a few times, but after restarting it continued where it left off. But at this stage I can't proceed in any way.

rito commented 2 years ago

I don't know how long this will take. But I managed to get past this point that was wrong. Now I'm frozen in: [100%] Building CXX object application/acsdkPreviewAlexaClient/src/CMakeFiles/LibPreviewAlexaClient.dir/PreviewAlexaClientComponent.cpp.o

Ihe secret is not when the Raspberry freezes, unplugs the power cord and starts over. It is necessary to let the process run even with the Raspberry frozen, and only restart the process after showing an error in this process, such as a timed out that sometimes occurs. So after a real failure happened, the process must be restarted. After long hours the process seems to be moving forward. Since the last error I mentioned so far, more than 24 hours have passed and it continues to run.

rito commented 2 years ago

I can t pass to this point now:

[ 95%] Built target acsdkDefaultDeviceSettingsManager [ 95%] Built target acsdkLibcurlAlexaCommunications [ 95%] Built target DefaultClient [100%] Built target LibSampleApp [100%] Building CXX object applications/acsdkPreviewAlexaClient/src/CMakeFiles/LibPreviewAlexaClient.dir/PreviewAlexaClientComponent.cpp.o c++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[3]: [applications/acsdkPreviewAlexaClient/src/CMakeFiles/LibPreviewAlexaClient.dir/build.make:76: applications/acsdkPreviewAlexaClient/src/CMakeFiles/LibPreviewAlexaClient.dir/PreviewAlexaClientComponent.cpp.o] Error 1 make[2]: [CMakeFiles/Makefile2:9178: applications/acsdkPreviewAlexaClient/src/CMakeFiles/LibPreviewAlexaClient.dir/all] Error 2 make[1]: [CMakeFiles/Makefile2:9087: applications/acsdkPreviewAlexaClient/src/CMakeFiles/PreviewAlexaClient.dir/rule] Error 2 make: [Makefile:1254: PreviewAlexaClient] Error 2

Prashanna-Raj-Pandit commented 2 years ago

Sorry brother, I don't think I can help you because I did this project three years ago and i didnt get such problems when I did this project. i will recommend you to watch and follow the youtube videos of Caroline Dunn. and make sure your microphone and speakers are connected properly.

Thank you

On Thu, Jul 21, 2022 at 4:34 AM Jean Martins Rito @.***> wrote:

I can t pass to this point now:

[ 95%] Built target acsdkDefaultDeviceSettingsManager [ 95%] Built target acsdkLibcurlAlexaCommunications [ 95%] Built target DefaultClient [100%] Built target LibSampleApp [100%] Building CXX object applications/acsdkPreviewAlexaClient/src/CMakeFiles/LibPreviewAlexaClient.dir/PreviewAlexaClientComponent.cpp.o c++: fatal error: Killed signal terminated program cc1plus compilation terminated. make[3]: [applications/acsdkPreviewAlexaClient/src/CMakeFiles/LibPreviewAlexaClient.dir/build.make:76: applications/acsdkPreviewAlexaClient/src/CMakeFiles/LibPreviewAlexaClient.dir/PreviewAlexaClientComponent.cpp.o] Error 1 make[2]: [CMakeFiles/Makefile2:9178: applications/acsdkPreviewAlexaClient/src/CMakeFiles/LibPreviewAlexaClient.dir/all] Error 2 make[1]: [CMakeFiles/Makefile2:9087: applications/acsdkPreviewAlexaClient/src/CMakeFiles/PreviewAlexaClient.dir/rule] Error 2 make: [Makefile:1254: PreviewAlexaClient] Error 2

— Reply to this email directly, view it on GitHub https://github.com/Prashanna-Raj-Pandit/AlexaPI/issues/2#issuecomment-1190843752, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZ27RBCAHXAA6MSFEJZ4WETVVB653ANCNFSM536YB3PA . You are receiving this because you are subscribed to this thread.Message ID: @.***>