CMake error building under Kubuntu 14.04.05 LTS

366 views
Skip to first unread message

Dave

unread,
Oct 12, 2016, 10:35:18 AM10/12/16
to speedcrunch
Hi all,

I'm getting the following error trying to build under Kubuntu 14.04.05 LTS:

git clone https://bitbucket.org/heldercorreia/speedcrunch.git
mkdir build
cd build/
cmake ../src

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:16 (message):
Failed to find "GL" in "/usr/X11R6/lib64" with
CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu".
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:51 (_qt5gui_find_extra_libs)
/usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:155 (include)
/usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:100 (find_package)
CMakeLists.txt:12 (find_package)


-- Configuring incomplete, errors occurred!

So far I have tried installing:

libqt5opengl5
libqt5opengl5-dev

How can I get this to work please? Further details below.

Many thanks for your time (and the great software!).



gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
cmake version 2.8.12.2
3.13.0-96-generic

Git repository version:
commit 93f65724d8bff33fa71681cc7ed411f1deb787e9
Author: Pol Welter <REMOVED>
Date: Sat Sep 24 21:35:28 2016 +0200

Fixes compilation under OSX

Felix Krull

unread,
Oct 12, 2016, 2:02:00 PM10/12/16
to speed...@googlegroups.com
I can't look into this more closely right now (due to lack of internet at home) but it should just work if you install the dependencies ("git build-essential cmake qtbase5-dev qttools5-dev" IIRC). Alternatively, you can get binaries of the master branch at:
https://launchpad.net/~fkrull/+archive/ubuntu/speedcrunch-daily

-Felix

--
You received this message because you are subscribed to the Google Groups "speedcrunch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to speedcrunch...@googlegroups.com.
To post to this group, send email to speed...@googlegroups.com.
Visit this group at https://groups.google.com/group/speedcrunch.
For more options, visit https://groups.google.com/d/optout.

Dave

unread,
Oct 13, 2016, 5:19:58 AM10/13/16
to speedcrunch
Many thanks for your quick response.  I made sure that all of those dependencies are installed but I still get:

-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- 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
-- 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
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:16 (message):
  Failed to find "GL" in "/usr/X11R6/lib64" with
  CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu".
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:51 (_qt5gui_find_extra_libs)
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Gui/Qt5GuiConfig.cmake:155 (include)
  /usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:100 (find_package)
  CMakeLists.txt:12 (find_package)

Thanks for your help!

Helder Correia

unread,
Oct 14, 2016, 7:11:35 AM10/14/16
to speed...@googlegroups.com
Hi, Dave. Please see if this helps: https://github.com/ValveSoftware/vogl/issues/196


13. Oct 2016 10:19 by speed...@googlegroups.com:

Reply all
Reply to author
Forward
0 new messages