Kai Sasaki
Kai Sasaki

Reputation: 687

CMake File API "no reply dir found"

I have trouble using toolchains in Docker from CLION. My Docker container is based on ubuntu 18.04 and CMake 3.17 is installed. The image definition is based on this reference implementation.

When I reload the CMake project with CLion, the following error is shown.

-- Build files have been written to: /tmp/tmp.vmmD6opEtD/cmake-build-debug-local-docker
CMake File API: /path/to/glow/cmake-build-debug-local-docker: no reply dir found

When I configure the CMake project in the Docker container directly, it succeeded. I believe there is nothing wrong with the CMake project itself.

What does "no reply dir found" mean? There is no clue for this error message even with googling.

Upvotes: 6

Views: 3496

Answers (4)

Saber Archer
Saber Archer

Reputation: 11

I get the same error when build on remote host ToolChains with clion. For me, I change the Generator to "Use default" under the Build, Execution, Deployment -> CMake. Then reload the CMakelist the error info faded.

Upvotes: 1

antekone
antekone

Reputation: 2125

I have this error sometimes when CLion is using rsync to sync files. Disabling rsync gets rid of this error:

enter image description here

The problem is that the file sync is slower, but slow is better than non-functional :)

Upvotes: 2

Asafha
Asafha

Reputation: 1

Just had the same problem. Your build dir in clion cmake project settings is other than the one appear in the cmake options specified there.

Upvotes: 0

Shenoda Guirguis
Shenoda Guirguis

Reputation: 1

I had the exact same error, in my case setting up SSH to avoid asking for passphrase, that is on a terminal run ssh-add then try to reload the CMake project

Upvotes: 0

Related Questions