環境: RP3 (Debian 9)
[ 95%] Built target DefaultClient
[ 95%] Building CXX object SampleApp/src/CMakeFiles/LibSampleApp.dir/UIManager.cpp.o
[ 95%] Building CXX object SampleApp/src/CMakeFiles/LibSampleApp.dir/InteractionManager.cpp.o
c++: internal compiler error: 已砍掉 (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
SampleApp/src/CMakeFiles/LibSampleApp.dir/build.make:206: recipe for target 'SampleApp/src/CMakeFiles/LibSampleApp.dir/InteractionManager.cpp.o' failed
make[3]: *** [SampleApp/src/CMakeFiles/LibSampleApp.dir/InteractionManager.cpp.o] Error 4
make[3]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:13220: recipe for target 'SampleApp/src/CMakeFiles/LibSampleApp.dir/all' failed
make[2]: *** [SampleApp/src/CMakeFiles/LibSampleApp.dir/all] Error 2
CMakeFiles/Makefile2:13317: recipe for target 'SampleApp/src/CMakeFiles/SampleApp.dir/rule' failed
make[1]: *** [SampleApp/src/CMakeFiles/SampleApp.dir/rule] Error 2
Makefile:3254: recipe for target 'SampleApp' failed
make: *** [SampleApp] Error 2
找資料說,把swap提升就行了...
$sudo vim /etc/dphys-swapfile
CONF_SWAPSIZE=100 -> CONF_SWAPSIZE=1024 (1G)
$ sudo systemctl restart dphys-swapfile
RP3的聲音不能從audio jack出來
後來拿audio dongle + pulseaudio(需root) 解決 (重開機幾次後抓到audio dongle@@)
沒有留言:
張貼留言