Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while building on Ubuntu #140

Open
iamsyq opened this issue Nov 27, 2019 · 2 comments
Open

Error while building on Ubuntu #140

iamsyq opened this issue Nov 27, 2019 · 2 comments

Comments

@iamsyq
Copy link

iamsyq commented Nov 27, 2019

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.

@eracle
Copy link

eracle commented Nov 25, 2020

Here's the one liner:
sudo apt-get install libxinerama-dev libxrandr-dev libxcursor-dev libxi-dev libx11-dev

@vorburger
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants