Remote development from Mac to Ubuntu VM not working.

Completed

C++ Project builds and runs on MacOS using the standard Apple toolchain. I setup a remote toolchain using an Ubuntu VM (Multipass). After setting the default toolchain to the remote and setting the root path of the deployment to my Ubuntu home directory, the files are copied to the remote and CMake generates the Makefile on Ubuntu. However, the build does not complete because CLion reports the following:

-- Configuring done
-- Generating done
-- Build files have been written to: /home/build/develop/coding/educative/hci
Cannot resolve path: /Users/andrew/develop/coding/educative/hci/cmake-build-debug
Cannot resolve compiler path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++'
Cannot resolve compiler path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++'
Cannot resolve compiler path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++'
Cannot resolve compiler path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++'
Cannot resolve compiler path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++'
Cannot resolve compiler path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++'

/home/build/develop/coding/educative/hci is the remote file location and /Users/andrew/develop/coding/educative/hci/cmake-build-debug is the local location.

Has anyone else experienced something similar?

 

0
1 comment

Resolved via the support ticket. The problem was in https://youtrack.jetbrains.com/issue/CPP-23652.

0

Please sign in to leave a comment.