Trouble getting remote development to work

I am trying to get remote development to work in Clion from a Windows 10 client to an Ubuntu 16.04 remote device. I have the latest version of CLion at the moment:

CLion 2019.3.1
Build #CL-193.5233.144, built on December 6, 2019

I have created the remote host toolchain, and that seemed to work ok. Then I created the CMake profile using the remote host toolchain and that seems to work ok also. I made them both the defaults by moving them to the top of their respective lists.

Under Deployment the config looks ok and 'test connection' works fine. I have created a mapping which also seems to work. From the main menu, under Tools -> Deployment -> Upload to... I can upload a file from Windows the the Ubuntu remote. However, in the configuration selector drop down on the main tool bar, it says "my app | Nothing to run on". All the menu selections under "Build" on the main menu are grayed out. It almost seems like the project is not using the proper CMake profile and remote host toolchain.

One thing to note is that the Ubuntu machine architecture is ARM, while the windows host is AMD, I didn't think that would make a difference tho.

Is there something I am missing here?

0
1 comment

Hello!

Is your CMake project loaded properly? Do you see any errors in the CMake tool window (View | Tool Windows | CMake)?

0

Please sign in to leave a comment.