Error while building on Ubuntu
iamsyq opened this issue · comments
Hey,
I get this Error while building.
cmake -DCMAKE_PREFIX_PATH=$HOME/Qt5.13.2/5.13.2/gcc_64/ ..
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- 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
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-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/x86_64-linux-gnu/libX11.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 Perl: /usr/bin/perl (found version "5.28.1")
Can't open perl script "/home/mo/huesta/scripts/config.pl": Datei oder Verzeichnis nicht gefunden
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:
X11_Xinerama_LIB (ADVANCED)
linked by target "screen_capture_example" in directory /home/mo/huesta/screen_capture_lite/Example
-- Configuring incomplete, errors occurred!
See also "/home/mo/huesta/huestacean/CMakeFiles/CMakeOutput.log".
See also "/home/mo/huesta/huestacean/CMakeFiles/CMakeError.log".
What is wrong ? Its the v2.6
EDIT: Found the Issue - I just copied the scripts folder out of mbedtls into the main Folder and did this:
sudo apt-get install libxinerama-dev
sudo apt-get install libxrandr-dev
sudo apt-get install libxcursor-dev
sudo apt-get install libxi-dev
sudo apt-get install libx11-dev (may not need)
and the build worked.
Here's the one liner:
sudo apt-get install libxinerama-dev libxrandr-dev libxcursor-dev libxi-dev libx11-dev
@BradyBrenot I think you can close this issue after merging #151 doc; the problem reported here is "just" a missing Qt devel lib.
The real issue when building master
on Linux seems to be #125 / #144.