How to build Linux client from source code

Hello Guys,

I am trying to compile the player from source code under the Ubuntu 18.04.
I created a build subdirectory in the root of the xibo-linux-develop. I started cmake from this directory by providing the source code folder as …
All libraries checks are passed correctlyu but I get a configuration error as follows:

$ cmake …
– The C compiler identification is GNU 7.4.0
– The CXX compiler identification is GNU 7.4.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 PkgConfig: /usr/bin/pkg-config (found version “0.29.1”)
– Looking for pthread.h
– Looking for pthread.h - found
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
– 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 Boost: /usr/local/include (found suitable exact version “1.70.0”) found components: filesystem system date_time thread chrono atomic
– Checking for modules ‘gstreamer-pbutils-1.0;gstreamer-video-1.0>=1.14.0;gstreamer-plugins-base-1.0>=1.14.0’
– Found gstreamer-pbutils-1.0, version 1.14.5
– Found gstreamer-video-1.0, version 1.14.5
– Found gstreamer-plugins-base-1.0, version 1.14.5
– Checking for module ‘webkitgtk-3.0>=2.4.10’
– Found webkitgtk-3.0, version 2.4.11
– Checking for module ‘gtkmm-3.0>=3.22.0’
– Found gtkmm-3.0, version 3.22.2
– Checking for module ‘glibmm-2.4>=2.56.0’
– Found glibmm-2.4, version 2.56.0
– Checking for module ‘spdlog>=1.4.1’
– Found spdlog, version 1.4.2
– Found GTest: /usr/lib/libgtest.so
– Checking for module ‘libzmq>=4.3.0’
– Found libzmq, version 4.3.2
objdump: ‘a.out’: No such file
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GMOCK
linked by target “schedule_tests” in directory /home/liatoss/Downloads/Xibo/xibo-linux-develop/player/schedule/tests
linked by target “common_tests” in directory /home/liatoss/Downloads/Xibo/xibo-linux-develop/player/common/tests

– Configuring incomplete, errors occurred!
See also “/home/liatoss/Downloads/Xibo/xibo-linux-develop/CMakeFiles/CMakeOutput.log”.
See also “/home/liatoss/Downloads/Xibo/xibo-linux-develop/CMakeFiles/CMakeError.log”.

Do you have any idea how to fix the problem?

Thank you in advance, Vlad.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.