Failed to build Veyon form source code (Could NOT find LibVNCClient)
-
My operating system is Linux Mint 19.3 32 bit. I try to build veyon from source code, following by guide on veyon's github:
https://github.com/veyon/veyonBut unsuccessfully, cmake shows this output:
-- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "2.17.1") -- Found QCA: /usr/lib/i386-linux-gnu/libqca-qt5.so (2.1.3) -- Found OpenSSL: /usr/lib/i386-linux-gnu/libcrypto.so (found version "1.1.1") -- Could NOT find LibVNCClient: Found unsuitable version "0.9.11", but required is at least "0.9.13" (found /usr/include) CMake Warning at CMakeLists.txt:182 (message): Performing internal build of LibVNCClient which requires additional development packages -- Found ZLIB: /usr/lib/i386-linux-gnu/libz.so (found version "1.2.11") -- Found PNG: /usr/lib/i386-linux-gnu/libpng.so (found version "1.6.34") -- Found JPEG: /usr/lib/i386-linux-gnu/libjpeg.so -- Found LZO: /usr/lib/i386-linux-gnu/liblzo2.so -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found Qt translations: /usr/share/qt5/translations -- Found Ldap: /usr/lib/i386-linux-gnu/libldap.so;/usr/lib/i386-linux-gnu/liblber.so (found version "2.4.45") -- Checking for module 'libsasl2' -- Found libsasl2, version 2.1.27 -- Found Sasl2: /usr/lib/i386-linux-gnu/libsasl2.so (found version "2.1.27") -- Looking for ldap_start_tls_s -- Looking for ldap_start_tls_s - found -- Looking for ldap_initialize -- Looking for ldap_initialize - found -- Looking for ber_memfree -- Looking for ber_memfree - found -- Looking for ldap_unbind_ext -- Looking for ldap_unbind_ext - found -- Looking for ldap_extended_operation -- Looking for ldap_extended_operation - found -- Looking for ldap_extended_operation_s -- Looking for ldap_extended_operation_s - found -- Looking for ldap_extended_operation -- Looking for ldap_extended_operation - found -- Looking for ldap_extended_operation_s -- Looking for ldap_extended_operation_s - found -- Looking for include file ldap.h -- Looking for include file ldap.h - found CMake Error: File /home/teacher/veyon/3rdparty/kldap/src/core/../kldap_config.h.cmake does not exist. CMake Error at plugins/ldap/kldap/CMakeLists.txt:21 (configure_file): configure_file Problem configuring file -- Performing Test PAM_MESSAGE_CONST -- Performing Test PAM_MESSAGE_CONST - Success -- Found PAM: /usr/lib/i386-linux-gnu/libpam.so;/usr/lib/i386-linux-gnu/libdl.so -- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/i386-linux-gnu/libX11.so -- Checking for module 'libprocps' -- Found libprocps, version 3.3.12 -- Checking for module 'libfakekey' -- Found libfakekey, version 0.1 -- Found LibVNCServer: /usr/include (found suitable version "0.9.11", minimum required is "0.9.8") -- Looking for getpwnam -- Looking for getpwnam - found -- Looking for getspnam -- Looking for getspnam - found -- Looking for getuid -- Looking for getuid - found -- Looking for grantpt -- Looking for grantpt - found -- Looking for initgroups -- Looking for initgroups - found -- Looking for seteuid -- Looking for seteuid - found -- Looking for setegid -- Looking for setegid - found -- Looking for setgid -- Looking for setgid - found -- Looking for setsid -- Looking for setsid - found -- Looking for setuid -- Looking for setuid - found -- Looking for shmat -- Looking for shmat - found -- Looking for waitpid -- Looking for waitpid - found -- Performing Test HAVE_TLS -- Performing Test HAVE_TLS - Success -- Looking for include file linux/fb.h -- Looking for include file linux/fb.h - found -- Looking for include file linux/input.h -- Looking for include file linux/input.h - found -- Looking for include file linux/uinput.h -- Looking for include file linux/uinput.h - found -- Looking for include file linux/videodev.h -- Looking for include file linux/videodev.h - not found -- Looking for include file netdb.h -- Looking for include file netdb.h - found -- Looking for include file netinet/in.h -- Looking for include file netinet/in.h - found -- Looking for include file pwd.h -- Looking for include file pwd.h - found -- Looking for include file sys/ioctl.h -- Looking for include file sys/ioctl.h - found -- Looking for include file sys/stropts.h -- Looking for include file sys/stropts.h - found -- Looking for include file sys/wait.h -- Looking for include file sys/wait.h - found -- Looking for include file termios.h -- Looking for include file termios.h - found -- Looking for include file utmpx.h -- Looking for include file utmpx.h - found -- Looking for XReadScreen -- Looking for XReadScreen - not found -- Looking for FBPMForceLevel -- Looking for FBPMForceLevel - not found -- Looking for DPMSForceLevel -- Looking for DPMSForceLevel - found -- Looking for XTestGrabControl -- Looking for XTestGrabControl - found -- Looking for XRecordEnableContextAsync -- Looking for XRecordEnableContextAsync - found -- Looking for include file X11/extensions/readdisplay.h -- Looking for include file X11/extensions/readdisplay.h - not found -- Looking for include file X11/XKBlib.h -- Looking for include file X11/XKBlib.h - found -- Looking for XkbSelectEvents -- Looking for XkbSelectEvents - found -- Looking for X509_print_ex_fp -- Looking for X509_print_ex_fp - found CMake Warning at plugins/webapi/CMakeLists.txt:1 (find_package): By not providing "FindQt5HttpServer.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5HttpServer", but CMake did not find one. Could not find a package configuration file provided by "Qt5HttpServer" with any of the following names: Qt5HttpServerConfig.cmake qt5httpserver-config.cmake Add the installation prefix of "Qt5HttpServer" to CMAKE_PREFIX_PATH or set "Qt5HttpServer_DIR" to a directory containing one of the above files. If "Qt5HttpServer" provides a separate development package or SDK, be sure it has been installed. CMake Warning at plugins/webapi/CMakeLists.txt:37 (message): Neither Qt5HttpServer nor Qt >= 5.12 with private headers found - omitting WebAPI plugin from build -- Found Qt translations: /usr/share/qt5/translations Veyon build summary -------------------- * Version : 4.99.0.909 (4.99.0-909-g379060df) * Install prefix : /usr/local * Library directory : /usr/local/lib/veyon * Plugin directory : /usr/local/lib/veyon * Build type : relwithdebinfo * Build platform : i686 * Compile flags : -Wall -fstack-protector-strong (CXX: -Wall -fno-exceptions -std=c++11 -fstack-protector-strong ) * Use precompiled headers : OFF * Use unity build : OFF -- Configuring incomplete, errors occurred! See also "/home/teacher/veyon/build/CMakeFiles/CMakeOutput.log". See also "/home/teacher/veyon/build/CMakeFiles/CMakeError.log".
Anyone can help me? I'm not an experienced user of Linux.
-
I recommend downloading one of the official source code archives since they include the full source code including 3rdparty libraries. If you want to build Veyon from Git repo, make sure to initialize and checkout all submodules by running
git submodule update --init
inside the source tree. Consider switching to the4.5
branch before if you want to build the latest stable version. -
@tobydox
I have the same issue as the thread starter.I cloned the repo and changed into
veyon
source directory. Then I checked out v4.5.3:git checkout v4.5.3
Then I updated all submodules
git submodule update --init --recursive
and then followed the installation instruction in the README.md:
mkdir build cd build/ cmake ..
And at this point cmake fails with the log pasted at the end of this post.
Why v4.5.3? Because it is the latest package on Raspberry Pi OS and on my Laptop I want to use the same version.
I already tried with latest master (9e648b18e973f33b547c6e3d19b5d15b43381656). I could compile and install this version successfully on my laptop. And I could connect successfully with my other laptop running the same version. But I could not connect to the Raspberry Pi running version 4.5.3. So that is why I want to install this older version on my laptop.
And I also tried as you suggested to download the source tarball and build that, but the result is the same.
This is cmake's output:
-- The C compiler identification is GNU 11.3.1 -- The CXX compiler identification is GNU 11.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "2.38.2") -- Found QCA: /usr/lib64/libqca-qt5.so (2.3.5) -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.1.1s") -- Found LibVNCClient: /usr/include (found suitable version "0.9.13", minimum required is "0.9.13") -- Performing Test LIBVNCCLIENT_SUPPORTS_TIMEOUTS -- Performing Test LIBVNCCLIENT_SUPPORTS_TIMEOUTS - Success -- Found Qt translations: /usr/share/qt5/translations -- Found Ldap: /usr/lib64/libldap.so;/usr/lib64/liblber.so (found version "2.4.58") -- Checking for module 'libsasl2' -- Found libsasl2, version 2.1.28 -- Found Sasl2: /usr/lib64/libsasl2.so (found version "2.1.28") -- Looking for ldap_start_tls_s -- Looking for ldap_start_tls_s - found -- Looking for ldap_initialize -- Looking for ldap_initialize - found -- Looking for ber_memfree -- Looking for ber_memfree - found -- Looking for ldap_unbind_ext -- Looking for ldap_unbind_ext - found -- Looking for ldap_extended_operation -- Looking for ldap_extended_operation - found -- Looking for ldap_extended_operation_s -- Looking for ldap_extended_operation_s - found -- Looking for ldap_extended_operation -- Looking for ldap_extended_operation - found -- Looking for ldap_extended_operation_s -- Looking for ldap_extended_operation_s - found -- Looking for include file ldap.h -- Looking for include file ldap.h - found -- Performing Test PAM_MESSAGE_CONST -- Performing Test PAM_MESSAGE_CONST - Success -- Found PAM: /usr/lib64/libpam.so;/usr/lib64/libdl.a -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Checking for module 'libprocps' -- Found libprocps, version 3.3.17 -- Checking for module 'libfakekey' -- Package 'libfakekey', required by 'virtual:world', not found -- Found LibVNCServer: /usr/include (found suitable version "0.9.13", minimum required is "0.9.8") -- Looking for getpwnam -- Looking for getpwnam - found -- Looking for getspnam -- Looking for getspnam - found -- Looking for getuid -- Looking for getuid - found -- Looking for grantpt -- Looking for grantpt - found -- Looking for initgroups -- Looking for initgroups - found -- Looking for seteuid -- Looking for seteuid - found -- Looking for setegid -- Looking for setegid - found -- Looking for setgid -- Looking for setgid - found -- Looking for setsid -- Looking for setsid - found -- Looking for setuid -- Looking for setuid - found -- Looking for shmat -- Looking for shmat - found -- Looking for waitpid -- Looking for waitpid - found -- Performing Test HAVE_TLS -- Performing Test HAVE_TLS - Success -- Looking for include file linux/fb.h -- Looking for include file linux/fb.h - found -- Looking for include file linux/input.h -- Looking for include file linux/input.h - found -- Looking for include file linux/uinput.h -- Looking for include file linux/uinput.h - found -- Looking for include file linux/videodev.h -- Looking for include file linux/videodev.h - not found -- Looking for include file netdb.h -- Looking for include file netdb.h - found -- Looking for include file netinet/in.h -- Looking for include file netinet/in.h - found -- Looking for include file pwd.h -- Looking for include file pwd.h - found -- Looking for include file sys/ioctl.h -- Looking for include file sys/ioctl.h - found -- Looking for include file sys/stropts.h -- Looking for include file sys/stropts.h - not found -- Looking for include file sys/wait.h -- Looking for include file sys/wait.h - found -- Looking for include file termios.h -- Looking for include file termios.h - found -- Looking for include file utmpx.h -- Looking for include file utmpx.h - found -- Looking for XReadScreen -- Looking for XReadScreen - not found -- Looking for FBPMForceLevel -- Looking for FBPMForceLevel - not found -- Looking for DPMSForceLevel -- Looking for DPMSForceLevel - found -- Looking for XTestGrabControl -- Looking for XTestGrabControl - found -- Looking for XRecordEnableContextAsync -- Looking for XRecordEnableContextAsync - found -- Looking for include file X11/extensions/readdisplay.h -- Looking for include file X11/extensions/readdisplay.h - not found -- Looking for include file X11/XKBlib.h -- Looking for include file X11/XKBlib.h - found -- Looking for XkbSelectEvents -- Looking for XkbSelectEvents - found -- Looking for X509_print_ex_fp -- Looking for X509_print_ex_fp - found CMake Warning at plugins/webapi/CMakeLists.txt:1 (find_package): By not providing "FindQt5HttpServer.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5HttpServer", but CMake did not find one. Could not find a package configuration file provided by "Qt5HttpServer" with any of the following names: Qt5HttpServerConfig.cmake qt5httpserver-config.cmake Add the installation prefix of "Qt5HttpServer" to CMAKE_PREFIX_PATH or set "Qt5HttpServer_DIR" to a directory containing one of the above files. If "Qt5HttpServer" provides a separate development package or SDK, be sure it has been installed. -- Found Qt translations: /usr/share/qt5/translations Veyon build summary -------------------- * Version : 4.5.3.0 (4.5.3) * Install prefix : /usr/local * Library directory : /usr/local/lib64/veyon * Plugin directory : /usr/local/lib64/veyon * Build type : relwithdebinfo * Build platform : x86_64 * Compile flags : -Wall -fstack-protector-strong (CXX: -Wall -fno-exceptions -std=c++11 -fstack-protector-strong ) * Use precompiled headers : ON * Use unity build : ON -- Configuring done CMake Error in server/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target veyon-server, although its path is supposed to be known! CMake Error in service/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target veyon-service, although its path is supposed to be known! CMake Error in configurator/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target veyon-configurator, although its path is supposed to be known! CMake Error in cli/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target veyon-cli, although its path is supposed to be known! CMake Error in worker/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target veyon-worker, although its path is supposed to be known! CMake Error in plugins/authkeys/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target authkeys, although its path is supposed to be known! CMake Error in plugins/builtindirectory/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target builtindirectory, although its path is supposed to be known! CMake Error in plugins/config/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target config, although its path is supposed to be known! CMake Error in plugins/demo/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target demo, although its path is supposed to be known! CMake Error in plugins/desktopservices/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target desktopservices, although its path is supposed to be known! CMake Error in plugins/filetransfer/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target filetransfer, although its path is supposed to be known! CMake Error in plugins/ldap/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target ldap, although its path is supposed to be known! CMake Error in plugins/platform/linux/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target linux-platform, although its path is supposed to be known! CMake Error in plugins/powercontrol/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target powercontrol, although its path is supposed to be known! CMake Error in plugins/remoteaccess/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target remoteaccess, although its path is supposed to be known! CMake Error in plugins/screenlock/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target screenlock, although its path is supposed to be known! CMake Error in plugins/screenshot/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target screenshot, although its path is supposed to be known! CMake Error in plugins/servicecontrol/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target servicecontrol, although its path is supposed to be known! CMake Error in plugins/shell/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target shell, although its path is supposed to be known! CMake Error in plugins/systemusergroups/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target systemusergroups, although its path is supposed to be known! CMake Error in plugins/textmessage/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target textmessage, although its path is supposed to be known! CMake Error in plugins/usersessioncontrol/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target usersessioncontrol, although its path is supposed to be known! CMake Error in plugins/vncserver/external/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target external-vnc-server, although its path is supposed to be known! CMake Error in plugins/vncserver/headless/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target headless-vnc-server, although its path is supposed to be known! CMake Error in plugins/webapi/CMakeLists.txt: Unable to resolve full path of PCH-header '/home/lars/projects/3rdparty/veyon/build/core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx' assigned to target webapi, although its path is supposed to be known! -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly.
-
I would like to add:
If I run
cmake ..
a second time the output changes:-- Found QCA: /usr/lib64/libqca-qt5.so (2.3.5) -- Checking for module 'libfakekey' -- Package 'libfakekey', required by 'virtual:world', not found CMake Warning at plugins/webapi/CMakeLists.txt:1 (find_package): By not providing "FindQt5HttpServer.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5HttpServer", but CMake did not find one. Could not find a package configuration file provided by "Qt5HttpServer" with any of the following names: Qt5HttpServerConfig.cmake qt5httpserver-config.cmake Add the installation prefix of "Qt5HttpServer" to CMAKE_PREFIX_PATH or set "Qt5HttpServer_DIR" to a directory containing one of the above files. If "Qt5HttpServer" provides a separate development package or SDK, be sure it has been installed. Veyon build summary -------------------- * Version : 4.5.3.0 (4.5.3) * Install prefix : /usr/local * Library directory : /usr/local/lib64/veyon * Plugin directory : /usr/local/lib64/veyon * Build type : relwithdebinfo * Build platform : x86_64 * Compile flags : -Wall -fstack-protector-strong (CXX: -Wall -fno-exceptions -std=c++11 -fstack-protector-strong ) * Use precompiled headers : ON * Use unity build : ON -- Configuring done -- Generating done -- Build files have been written to: /home/lars/projects/3rdparty/veyon/build
Despite the warning about a missing cmake find module, cmake completes successfully.
But building fails:
make [ 1%] Automatic MOC and UIC for target veyon-core [ 1%] Built target veyon-core_autogen [ 1%] Automatic RCC for builddata.qrc [ 1%] Automatic RCC for resources/core.qrc [ 1%] Building CXX object core/CMakeFiles/veyon-core.dir/cmake_pch.hxx.gch [ 2%] Building CXX object core/CMakeFiles/veyon-core.dir/veyon-core_autogen/mocs_compilation.cpp.o [ 3%] Building C object core/CMakeFiles/veyon-core.dir/cmake_pch.h.gch [ 3%] Building CXX object core/CMakeFiles/veyon-core.dir/Unity/unity_7_cxx.cxx.o [ 3%] Building CXX object core/CMakeFiles/veyon-core.dir/Unity/unity_6_cxx.cxx.o [ 4%] Building CXX object core/CMakeFiles/veyon-core.dir/Unity/unity_5_cxx.cxx.o [ 4%] Building CXX object core/CMakeFiles/veyon-core.dir/Unity/unity_4_cxx.cxx.o [ 5%] Building CXX object core/CMakeFiles/veyon-core.dir/Unity/unity_3_cxx.cxx.o [ 5%] Building CXX object core/CMakeFiles/veyon-core.dir/Unity/unity_2_cxx.cxx.o [ 5%] Building CXX object core/CMakeFiles/veyon-core.dir/Unity/unity_1_cxx.cxx.o [ 6%] Building CXX object core/CMakeFiles/veyon-core.dir/Unity/unity_0_cxx.cxx.o [ 6%] Building C object core/CMakeFiles/veyon-core.dir/Unity/unity_0_c.c.o [ 6%] Building CXX object core/CMakeFiles/veyon-core.dir/veyon-core_autogen/3YJK5W5UP7/qrc_core.cpp.o [ 7%] Building CXX object core/CMakeFiles/veyon-core.dir/veyon-core_autogen/EJRQKI7XPS/qrc_builddata.cpp.o [ 7%] Linking CXX shared library libveyon-core.so [ 7%] Built target veyon-core [ 8%] Automatic MOC and UIC for target veyon-pch [ 8%] Built target veyon-pch_autogen make[2]: *** No rule to make target 'core/CMakeFiles/veyon-pch.dir/cmake_pch.hxx.gch', needed by 'core/CMakeFiles/veyon-pch.dir/veyon-pch_autogen/mocs_compilation.cpp.o'. Stop. make[1]: *** [CMakeFiles/Makefile2:796: core/CMakeFiles/veyon-pch.dir/all] Error 2 make: *** [Makefile:156: all] Error 2
-
FYI:
I could successfully build and install the current master on Raspberry Pi OS. And now with the same version on both machines (Raspberry Pi as Student, Laptop as Teacher), I successfully connected to the student's machine.
The drawback is that I cannot make use of Raspberry Pi OS's package management. Instead I will have to compile on all student machines or find another way to quickly install the binaries on the other Raspberry Pis.
-
@lmoellendorf Can you try passing
-DWITH_PCH=OFF
to CMake? Which version of CMake are you using?