Yesterday I posted the steps I had followed to get Eclipse C++ up and running on Ubuntu under VirtualBox on the Mac, to build and deploy ARM Assembly executables to the Raspberry Pi.
While following another post trying to get remote debugging setup, I noticed that the paths to the executable in the config dialog didn’t look like what I had used, so I took a closer look.
When setting up the remote connection for run and debug looks like this:
If either the ‘remote absolute path’ or ‘commands to execute’ values are pointing to invalid paths, it seems that you get the ‘Error during file upload’ error.
The ‘Remote absolute path’ value should be the absolute path to the executable including the executable file name too.
If you need to chmod the file after uploading, that also needs a full path to the executable file.
Once this is sorted, success!