A common issue is that you then need to transfer data back and forth between the VM and the host. There are two solutions:
git
and put all your project files in a
course-related repository. This is a good practice anyways! Files that
are on just one computer should be considered already deleted since any
one computer can become inoperative at any time. Type
sudo apt-get install -y git(into the Terminal prompt of the VM) to install it and then use
git clone
, git commit
, and git
push
as usual.
Another issue is that sometimes you will get an error message along the lines of "no such directory ... /lib" when you run programs or the compiler is using the wrong version. The fix:
$(WorkspacePath)
and hit the tab key.
-g;-O0;-Wall;-std=c++17
then hit the tab key.