BradyBrenot / huestacean

Philips Hue control app for desktop with screen syncing. C++ with Qt Quick GUI.
http://huestacean.com
Apache License 2.0
564 stars 54 forks source link

Trying to build on linux mint 20.3 Una #160

Open Ulroxiel opened 2 years ago

Ulroxiel commented 2 years ago

I read up on many of the various build issues people have had here on linux. Tries various solutions, ranging from trying to set the version of the project to 2.6 and downloading a lot of various packages required to build the program.

Here is my error message with cmake -- The C compiler identification is GNU 9.4.0 -- The CXX compiler identification is Clang 10.0.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 X11: /usr/include
-- 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 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 Perl: /usr/bin/perl (found version "5.30.0") No such file: /home/ulrox/Philips Hue/Huestacean/huestacean/include/mbedtls/config.h CMake Error at mbedtls/tests/CMakeLists.txt:126 (message): Could not create symbolic link for: /home/ulrox/Philips\ Hue/Huestacean/huestacean/mbedtls/tests/data_files --> ln: failed to create symbolic link '/home/ulrox/Philips\ Hue/Huestacean/huestacean/build/mbedtls/tests/data_files': No such file or directory

-- Configuring incomplete, errors occurred! See also "/home/ulrox/Philips Hue/Huestacean/huestacean/build/CMakeFiles/CMakeOutput.log". See also "/home/ulrox/Philips Hue/Huestacean/huestacean/build/CMakeFiles/CMakeError.log".

I'm pretty stuck at the moment, not sure what to do now.

yunginnanet commented 1 year ago

git pull --recurse-submodules

alternatively if that doesn't work:

git submodule init
git submodule update --init --recursive