Page 1 of 1
Problem when building vlc 3.0
Posted: 30 Nov 2018 23:43
by Scorpion2185
I need to build vlc so I can add a flag when using ./configure. Do you need all the output? This is when I get an error when using make.
Code: Select all
[...]
access/bluray.c: In function ‘blurayTitleIsRepeating’:
access/bluray.c:1976:43: error: ‘BLURAY_CLIP_INFO {aka struct bd_clip}’ has no member named ‘clip_id’
memcmp(title_info->clips[i].clip_id, prev->clip_id, 6) ||
^
access/bluray.c:1976:57: error: ‘BLURAY_CLIP_INFO {aka const struct bd_clip}’ has no member named ‘clip_id’
memcmp(title_info->clips[i].clip_id, prev->clip_id, 6) ||
^~
access/bluray.c: In function ‘streamFlush’:
access/bluray.c:2517:9: warning: case value ‘36’ not in enumerated type ‘bd_stream_type_e {aka enum <anonymous>}’ [-Wswitch]
case BD_STREAM_TYPE_VIDEO_HEVC:
^~~~
Makefile:20983: recipe for target 'access/liblibbluray_plugin_la-bluray.lo' failed
make[4]: *** [access/liblibbluray_plugin_la-bluray.lo] Error 1
make[4]: Leaving directory '/path/vlc-3.0/modules'
Makefile:26221: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/path/vlc-3.0/modules'
Makefile:11294: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/path/vlc-3.0/modules'
Makefile:1531: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/path/vlc-3.0'
Makefile:1416: recipe for target 'all' failed
make: *** [all] Error 2
I tried to build libblueray
https://www.videolan.org/developers/libbluray.html (I cannot install it) but:
Code: Select all
[...]
ant -f ./src/libbluray/bdj/build.xml \
-Dbuild='/path/libbluray/src/libbluray/bdj/build' \
-Ddist='/path/libbluray/.libs' \
-Dsrc_awt=:java-j2se \
-Dbootclasspath="" \
-Dversion='j2se-1.0.2'
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar
Buildfile: /path/libbluray/src/libbluray/bdj/build.xml
init:
[mkdir] Created dir: /path/libbluray/src/libbluray/bdj/build
compile:
[javac] /path/libbluray/src/libbluray/bdj/build.xml:24: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
BUILD FAILED
/path/libbluray/src/libbluray/bdj/build.xml:24: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-8-openjdk-amd64/jre"
Total time: 0 seconds
Makefile:2608: recipe for target 'all-local' failed
make[1]: *** [all-local] Error 1
make[1]: Leaving directory '/path/libbluray'
Makefile:944: recipe for target 'all' failed
make: *** [all] Error 2
(This is when using make).
Before I used `git submodule update --init` to fix this (previous) error:
Code: Select all
configure: error: "libudfread source tree not found"
Re: Problem when building vlc 3.0
Posted: 01 Dec 2018 00:13
by Scorpion2185
I built libblueray installing `default-jdk`.
Make (vlc 3.0) succeeded. I had to start over.
Re: Problem when building vlc 3.0
Posted: 01 Dec 2018 11:15
by Scorpion2185
I also used make install successfully but the interface doesn 't start.
Now `vlc` or (`vlc -I qt`) get:
Code: Select all
vlc
[...]
QPainter::setOpacity: Painter not active
QPainter::drawPath: Painter not active
QPainter::setPen: Painter not active
QPainter::setOpacity: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawPath: Painter not active
QPainter::setBrush: Painter not active
QPainter::setOpacity: Painter not active
QPainter::setBrush: Painter not active
QPainter::setPen: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::end: Painter not active, aborted
QWidget::setMinimumSize: (/QStatusBar) The largest allowed size is (16777215,16777215)
QWidget::setMaximumSize: (/QStatusBar) The largest allowed size is (16777215,16777215)
QWidget::setMinimumSize: (/MainInterface) The largest allowed size is (16777215,16777215)
QWidget::setMinimumSize: (/MainInterface) The largest allowed size is (16777215,16777215)
[0000560153078430] main playlist: playlist is empty
QWidget::setMinimumSize: (/FirstRun) Negative sizes (-491607381,-491607381) are not possible
QXcbConnection: XCB error: 2 (BadValue), sequence: 420, resource id: 0, major code: 1 (CreateWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 421, resource id: 41943045, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 422, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 423, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 424, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 426, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 427, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 428, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 432, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 436, resource id: 41943045, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 437, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 440, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 441, resource id: 41943045, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 445, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 446, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 449, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 450, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 2 (BadValue), sequence: 452, resource id: 0, major code: 1 (CreateWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 453, resource id: 41943049, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 454, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 455, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 456, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 458, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 459, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 460, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 461, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 465, resource id: 41943049, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 466, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 469, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 470, resource id: 41943049, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 474, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 475, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 476, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 479, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 482, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 483, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 500, resource id: 41943049, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 501, resource id: 41943049, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 502, resource id: 41943049, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 503, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 504, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 505, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 506, resource id: 41943049, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 507, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 508, resource id: 41943049, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 509, resource id: 41943049, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 510, resource id: 41943049, major code: 8 (MapWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 512, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 513, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 2 (BadValue), sequence: 522, resource id: 0, major code: 1 (CreateWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 523, resource id: 41943056, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 524, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 525, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 526, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 528, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 529, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 530, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 531, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 535, resource id: 41943056, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 536, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 539, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 540, resource id: 41943056, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 544, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 545, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 548, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 549, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 551, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 552, resource id: 41943056, major code: 12 (ConfigureWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 553, resource id: 41943056, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 554, resource id: 41943056, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 555, resource id: 41943056, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 556, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 557, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 558, resource id: 41943056, major code: 19 (DeleteProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 559, resource id: 41943056, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 560, resource id: 41943056, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 561, resource id: 41943056, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 562, resource id: 41943056, major code: 19 (DeleteProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 563, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 564, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 565, resource id: 41943045, major code: 12 (ConfigureWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 566, resource id: 41943045, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 567, resource id: 41943045, major code: 2 (ChangeWindowAttributes), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 568, resource id: 41943045, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 569, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 570, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 571, resource id: 41943045, major code: 19 (DeleteProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 572, resource id: 41943045, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 573, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 574, resource id: 41943045, major code: 20 (GetProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 575, resource id: 41943045, major code: 19 (DeleteProperty), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 576, resource id: 41943045, major code: 8 (MapWindow), minor code: 0
QXcbConnection: XCB error: 3 (BadWindow), sequence: 578, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QWidget::setMinimumSize: (/MainInterface) The largest allowed size is (16777215,16777215)
QXcbConnection: XCB error: 3 (BadWindow), sequence: 579, resource id: 41943045, major code: 18 (ChangeProperty), minor code: 0
QWidget::setMinimumSize: (/MainInterface) The largest allowed size is (16777215,16777215)
QWidget::setMinimumSize: (/FirstRun) Negative sizes (-491607381,-491607381) are not possible
QWidget::setMinimumSize: (/MainInterface) The largest allowed size is (16777215,16777215)
What is the problem? The interface doesn' t start.
Re: Problem when building vlc 3.0
Posted: 01 Dec 2018 13:56
by fred44nl
I also used make install successfully but the interface doesn 't start.
how about
Code: Select all
env QT_AUTO_SCREEN_SCALE_FACTOR=0 vlc
Re: Problem when building vlc 3.0
Posted: 01 Dec 2018 14:04
by Scorpion2185
That worked! But Is there a way to don' t have to use that code every time? For obvious reasons...
Re: Problem when building vlc 3.0
Posted: 01 Dec 2018 14:21
by fred44nl
you can put it in a bash-script:
Code: Select all
#!/bin/bash
env QT_AUTO_SCREEN_SCALE_FACTOR=0 vlc /home/<your user name>/Video/vlcplay.m3u
read
don't forget to make it executable
Re: Problem when building vlc 3.0
Posted: 01 Dec 2018 14:35
by Scorpion2185
Yes I can also create an alias that change vlc to that cmd but if I launch it from the applications or If I use open with vlc, it won' t start.
Re: Problem when building vlc 3.0
Posted: 01 Dec 2018 14:53
by fred44nl
if I launch it from the applications or If I use open with vlc, it won' t start.
correct, I have the same issue.
and we're not alone.
apparently this seems to be normal.
Re: Problem when building vlc 3.0
Posted: 01 Dec 2018 14:59
by Scorpion2185
Is possible to set the default interface I can use skins2 instead of qt.
If qt needs that cmd.
I did not see all the interfaces what is the best alternative to qt?
Re: Problem when building vlc 3.0 [SOLVED]
Posted: 02 Dec 2018 12:19
by Scorpion2185
Add QT_AUTO_SCREEN_SCALE_FACTOR=0 to the file /etc/environment if it exists, if not create it and reboot!