News:

--

Main Menu

build failure in GUI_qtGlRender.cpp

Started by ajschult, November 28, 2015, 06:05:31 AM

Previous topic - Next topic

ajschult

My build is failing with git checkout 0a5f1c10:


/home/andrew/build/avidemux/avidemux2/avidemux/qt4/common/ADM_render/GUI_qtGlRender.cpp: In member function ââ,¬Ëœvirtual bool QtGlRender::init(GUI_WindowInfo*, uint32_t, uint32_t, renderZoom)ââ,¬â,,¢:
/home/andrew/build/avidemux/avidemux2/avidemux/qt4/common/ADM_render/GUI_qtGlRender.cpp:362:38: error: passing ââ,¬Ëœconst QGLContextââ,¬â,,¢ as ââ,¬Ëœthisââ,¬â,,¢ argument discards qualifiers [-fpermissive]
     glWidget->context()->makeCurrent();
                                      ^
In file included from /usr/include/QtOpenGL/QGLWidget:1:0,
                 from /home/andrew/build/avidemux/avidemux2/avidemux/qt4/common/ADM_render/GUI_qtGlRender.h:16,
                 from /home/andrew/build/avidemux/avidemux2/avidemux/qt4/common/ADM_render/GUI_qtGlRender.cpp:35:
/usr/include/QtOpenGL/qgl.h:330:18: note:   in call to ââ,¬Ëœvirtual void QGLContext::makeCurrent()ââ,¬â,,¢
     virtual void makeCurrent();
                  ^

mean


Jan Gruuthuse

#2
Yes, plenty of warnings too.

Quote** Failed at make, result in /tmp/logbuildQt4**

-- Build files have been written to: /home/jan/avidemux2/buildQt4
** Failed at make, result in /tmp/logbuildQt4**


/home/jan/avidemux2/avidemux/qt4/common/ADM_render/GUI_qtGlRender.cpp:362:38: error: passing ââ,¬Ëœconst QGLContextââ,¬â,,¢ as ââ,¬Ëœthisââ,¬â,,¢ argument of ââ,¬Ëœvirtual void QGLContext::makeCurrent()ââ,¬â,,¢ discards qualifiers [-fpermissive]
     glWidget->context()->makeCurrent();
                                      ^
make[2]: *** [commonQt4/ADM_render/CMakeFiles/ADM_render6_QT4.dir/GUI_qtGlRender.cpp.o] Error 1
make[2]: Leaving directory `/home/jan/avidemux2/buildQt4'
make[1]: *** [commonQt4/ADM_render/CMakeFiles/ADM_render6_QT4.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

_____________________________________________
Avidemux v2.6.10 (0a5f1c1)
_____________________________________________
Compiler: GCC 4.8.4
cmake: 2.8.12.2
Build Target: Linux (x86-64)
User Interface: Qt (4.8.6)
_____________________________________________
Kernel: Linux 3.19.0-31-generic (x86_64) (linux-image-3.19.0-31-generic   3.19.0-31.36~14.04.1)
Distribution: Linux Ubuntu 14.04.3 LTS (Trusty)

Intel Core i7-3770K @ 3.50GHz (4 Cores/8 Threads) with 32 GB ram

Desktop: Unity 7.2.5
Display Server: X Server 1.15.1
Display Driver: NVIDIA 352.63
OpenGL: 4.3.0
Compiler: GCC 4.8.4 + CUDA 7.5


OpenGL Vendor: NVIDIA Corporation
OpenGL Renderer: GeForce GTX 960/PCIe/SSE2 2048MB (1227/3600MHz)
OpenGL: 4.5.0 NVIDIA  352.63


- vdpauinfo:API version: 1   NVIDIA VDPAU Driver Shared Library  352.55
- x264 0.148.2638 7599210
- x265 [info]: HEVC encoder version 1.5+1-32d72a0285e0
_____________________________________________


mean


ajschult

Yes, e0eb895 has built successfully for me
Thanks

Jan Gruuthuse

** ALL DONE **
** The installable packages are in the debs folder **


thanks again ;)