nocc icon indicating copy to clipboard operation
nocc copied to clipboard

Failed to build test/cmake1 with remove build server

Open QianYizhou opened this issue 2 years ago • 0 comments

Hi,

Thanks a lot for your project, really powerful!

I tested "nocc/tests/dt/cmake1" in master branch (commit: 73b26e5fcb0dd3f08fbf1a63318deedec5cc6cee) with a remote build server.

CMake version: 3.18.6 OS (local and remote): Ubuntu 20.04

In the nocc/tests/dt/cmake1/build.sh, I adjust NOCC_SERVERS to the remote build server IP, and I encoutered the error below:

In file included from <command-line>:
/home/test_nocc/nocc/tests/dt/cmake1/build/CMakeFiles/example.dir/cmake_pch.hxx:5:10: fatal error: /home/test_nocc/nocc/tests/dt/cmake1/src/all-headers.h: No such file or directory
    5 | #include "/home/test_nocc/nocc/tests/dt/cmake1/src/all-headers.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Do I need to do some preparations for the PCH headers? Currently I have to copy the header to the remote to fix the issue.

Thanks again for your power tool!

QianYizhou avatar Aug 31 '23 05:08 QianYizhou