I can’t compile c++ Helloworld.cpp in cloud 9 , why?
/ Your First C++ Program
#include
int main() {
std::cout << “Hello World!”;
return 0;
}
Started /var/lib/cloud9/: helloworld.cpp
File path: /var/lib/cloud9/BeagleBone/Black
File: /var/lib/cloud9/BeagleBone/Black/helloworld.cpp
Arguments:
File name: helloworld.cpp
File extension: cpp
File base name: helloworld
Packages: ~.c9/packages
Project path: /var/lib/cloud9/
Project name: projectname
Hostname: localhost
Hostname path: https://undefined/BeagleBone/Black/helloworld.cpp
URL: http://localhost
Port: 8080
IP: 0.0.0.0
Command: BeagleBone/Black/helloworld.cpp
Python: python3
Python path: /usr/lib/python3.7/dist-packages:/usr/local/lib/python3.7/dist-packages
/var/lib/cloud9/common/Makefile:27: MODEL=TI_AM335x_BeagleBone_Black,TARGET=helloworld,COMMON=/var/lib/cloud9/common
/var/lib/cloud9/common/Makefile:146: GEN_DIR=/tmp/cloud9-examples,CHIP=,PROC=arm,PRUN=,PRU_DIR=,EXE=.out
CXX helloworld.cpp
g++: error: /tmp/cloud9-examples/helloworld.o: No such file or directory
make: *** [/var/lib/cloud9/common/Makefile:221: /tmp/cloud9-examples/helloworld.o] Error 1
Process exited with code: 2