You are not logged in.

#1 2015-04-01 13:39:00

theo.nicolau
Member
Registered: 2015-04-01
Posts: 3

slowmovideo-git not building

Hi all,

I have an issue installing https://aur.archlinux.org/packages/slowmovideo-git/ (I've added -DUSE_QTKIT=FALSE -DENABLE_TESTS=FALSE to be able to skip some other errors)

Here is the output:

==> Starting build()...
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- 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
-- Could not find Qt5, searching for Qt4 instead...
qmake: could not exec '/usr/lib/qt/bin/qmake': No such file or directory
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake-qt4 (found version "4.8.6") 
Qt libraries found at :  /  /usr/lib64/libQtScript.so;/usr/lib64/libQtGui.so;/usr/lib64/libQtXml.so;/usr/lib64/libQtCore.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") 
-- checking for module 'libavformat'
--   found libavformat, version 56.25.101
-- checking for module 'libavcodec'
--   found libavcodec, version 56.26.100
-- checking for module 'libavutil'
--   found libavutil, version 54.20.100
-- checking for module 'libswscale'
--   found libswscale, version 3.1.101
-- checking: avformat.h
--           /usr/include/libavformat
-- checking: avcodec.h
--           /usr/include/libavcodec
-- checking: avutil.h
--           /usr/include/libavutil
-- checking: swscale.h
--           /usr/include/libswscale
-- FFMPEG libraries are at /usr/lib64/libavformat.so;/usr/lib64/libavcodec.so;/usr/lib64/libavutil.so;/usr/lib64/libswscale.so
-- slowmoInfo Bundle will be :  =>  slowmoVideo 
-- Found OpenGL: /usr/lib64/libGL.so  
-- Found GLUT: /usr/lib64/libglut.so  
-- Found JPEG: /usr/lib64/libjpeg.so  
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8") 
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.16") 
======================V3D============================
* (info) Installation prefix: /usr.
         (Can be adjusted with -DCMAKE_INSTALL_PREFIX=your_path.  Default: .)
* (info) Shaders will be included in the binary: YES
         (Can be disabled with the cmake flag -DDISABLE_INCLUDE_SOURCE)
* (ok) OpenGL found in /usr/include: /usr/lib64/libGLU.so;/usr/lib64/libGL.so
* (ok) GLUT found in /usr/include: /usr/lib64/libglut.so;/usr/lib64/libXmu.so;/usr/lib64/libXi.so
* (ok) GLEW found at /usr/include/GL
* (ok) JPEG libraries found at /usr/include: /usr/lib64/libjpeg.so
* (ok) PNG libraries found at /usr/include;/usr/include
* V3D will be built:                        ---YES---
==================slowmoVideo========================
* (info) slowmoVideo installation goes to /usr.
         (Can be adjusted with -DCMAKE_INSTALL_PREFIX=your_path. Default is .)
* (ok) ffmpeg found at 
* (ok) OpenCV 2.4.10 found at .
* slowmoVideo will be built:                ---YES---
=======================END===========================
...
...
...
Scanning dependencies of target slowmoFlowBuilder
[ 99%] Building CXX object V3D/Apps/GL/CMakeFiles/slowmoFlowBuilder.dir/flowBuilder.cpp.o
[100%] Building CXX object V3D/Apps/GL/CMakeFiles/slowmoFlowBuilder.dir/__/__/__/slowmoVideo/lib/flowField_sV.cpp.o
[100%] Building CXX object V3D/Apps/GL/CMakeFiles/slowmoFlowBuilder.dir/__/__/__/slowmoVideo/lib/flowRW_sV.cpp.o
Linking CXX executable slowmoFlowBuilder
/usr/bin/ld: CMakeFiles/slowmoFlowBuilder.dir/flowBuilder.cpp.o: undefined reference to symbol 'XCreateColormap'
/usr/lib/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
V3D/Apps/GL/CMakeFiles/slowmoFlowBuilder.dir/build.make:143: recipe for target 'V3D/Apps/GL/slowmoFlowBuilder' failed
make[2]: *** [V3D/Apps/GL/slowmoFlowBuilder] Error 1
CMakeFiles/Makefile2:778: recipe for target 'V3D/Apps/GL/CMakeFiles/slowmoFlowBuilder.dir/all' failed
make[1]: *** [V3D/Apps/GL/CMakeFiles/slowmoFlowBuilder.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2

Any ideas?

Thanks,
Theo

Last edited by theo.nicolau (2015-04-02 08:56:17)

Offline

#2 2015-04-01 15:45:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: slowmovideo-git not building

Have you tried the PKGBUILD posted in the comments? http://pastebin.com/PZTijriV


When posting configs, code or command output, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and - in case of longer listings - more convenient to scroll through.

Offline

#3 2015-04-02 08:57:48

theo.nicolau
Member
Registered: 2015-04-01
Posts: 3

Re: slowmovideo-git not building

yes, I'm using the PKGBUILD from the comments.

From what I can tell it's just adding  -DUSE_QTKIT=FALSE -DENABLE_TESTS=FALSE

Theo

Offline

#4 2015-04-02 10:07:46

theo.nicolau
Member
Registered: 2015-04-01
Posts: 3

Re: slowmovideo-git not building

Managed to compile it by adding export LDFLAGS="-lX11 ${LDFLAGS}" to pkgbuild

Here it is: pkgbuild

not sure this is the right way to fix it though...
Theo

Last edited by theo.nicolau (2015-04-02 10:40:42)

Offline

#5 2015-04-02 11:28:17

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: slowmovideo-git not building

That's a good way to patch it - but the fix would be to report the issue upstream as a bug at the github page.  That should be a trivial fix, though I don't know exactly where that goes with cmake.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB