mvasilchuk / yasem

GNU General Public License v2.0
77 stars 52 forks source link

./yasem: symbol lookup error on Linux #2

Closed shoshins closed 10 years ago

shoshins commented 10 years ago

Hello! It is the second day when i can't run yasem) Now (after many tries on Windows) i install Ubuntu on my Virtual Box machine. After all unsuccessfull tries to build app from sources, i downloaded "automated debug build for Linux". But when i try run ./yasem - it not works:

./yasem: symbol lookup error: ./yasem: undefinded symbol: _ZN7QString18toLocal8Bit_helperEPK5QChari

mvasilchuk commented 10 years ago

Hi,

Can you attach build log on Windows or Ubuntu?

mvasilchuk commented 10 years ago

Try to download last automated build. And, if it still crashes, run (in ubuntu): ldd ./bin/yasem and copy/paste result here.

shoshins commented 10 years ago

ldd result:

dreamer2057@DreamLinuxVM:~/yasem$ ldd ./bin/yasem linux-vdso.so.1 => (0x00007fff90dfe000) libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f336aca0000) libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f336a95c000) libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f336a2b5000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f336a097000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3369d93000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3369b7c000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f33697b6000) libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f3369169000) libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f3368f17000) libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f3368c0f000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f33688da000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f33685d3000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f33683ba000) libicui18n.so.52 => /usr/lib/x86_64-linux-gnu/libicui18n.so.52 (0x00007f3367fb2000) libicuuc.so.52 => /usr/lib/x86_64-linux-gnu/libicuuc.so.52 (0x00007f3367c38000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3367a34000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f336782c000) /lib64/ld-linux-x86-64.so.2 (0x00007f336b4e4000) libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f3367605000) libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f33673b0000) libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007f336714a000) libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f3366f41000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f3366d03000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f3366ae4000) libicudata.so.52 => /usr/lib/x86_64-linux-gnu/libicudata.so.52 (0x00007f3365276000) libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f3364fd3000) libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f3364db6000) libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f3364b8f000) libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f336497d000) libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f3364779000) libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f3364573000) libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f3364371000) libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f3364159000) libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f3363f54000) libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f3363d51000) libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f3363b4d000) libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f3363947000) libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007f3363745000) libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f336353e000) libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f3363332000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f336312d000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f3362f27000) dreamer2057@DreamLinuxVM:~/yasem$

And the result of the run after my build:

dreamer2057@DreamLinuxVM:~/yasem/bin$ ./yasem [DEBUG] Library paths: ("/usr/lib/x86_64-linux-gnu/qt5/plugins", ".", "./libs", "./libs/plugins", "/home/dreamer2057/yasem/bin") [DEBUG] Settings directory "/home/dreamer2057/.config/yasem" [DEBUG] "disk: [/dev/sda1, /, 7608792, 6662692, 536552, 0]" [DEBUG] "disk: [/dev/sr0, /media/dreamer2057/VBOXADDITIONS_4.2.16_869922, 58236, 58236, 0, 0]" [DEBUG] Starting application... [DEBUG] Looking for plugins... [DEBUG] pluginsToLoad: ("desktop-gui", "dunehd-plugin", "ini-ds", "mag-api") [DEBUG] PluginManager::listPlugins() [DEBUG] Blacklisted plugins: ("vlc-mediaplayer", "qt-mediaplayer") [DEBUG] Searching for plugins in "/home/dreamer2057/yasem/bin/plugins" [DEBUG] Found file: "libyasem-desktop-gui.so.0.1.0" [DEBUG] Plugin loaded: "Desktop GUI plugin" [DEBUG] Found STB plugin "Desktop GUI plugin" [DEBUG] Registered "config" as profile class ID [DEBUG] "Desktop GUI plugin" is not a STB plugin [DEBUG] Found file: "libyasem-dunehd-api.so.0.1.0" [DEBUG] Plugin loaded: "DuneHD JS API implementation" [DEBUG] Found STB plugin "DuneHD JS API implementation" [DEBUG] Registered "dunehd" as profile class ID [DEBUG] "DuneHD JS API implementation" is not a STB plugin [DEBUG] Found file: "libyasem-ini-datasource.so.0.1.0" [DEBUG] Plugin loaded: "INI datasource provider" [DEBUG] Found file: "libyasem-mag-api.so.0.1.0" [DEBUG] Plugin loaded: "MAG API implementation" [DEBUG] Found STB plugin "MAG API implementation" [DEBUG] Registered "mag" as profile class ID [DEBUG] "MAG API implementation" is not a STB plugin [DEBUG] initPlugins() [DEBUG] Plugin "desktop-gui" initialization... [DEBUG] Loading dependencies for "desktop-gui" ... [DEBUG] Trying to load dependency 6 for "Desktop GUI plugin" WARN : Dependency 6 for "desktop-gui" not found! WARN : Plugin "desktop-gui" won't be loaded because of missing dependencies! [DEBUG] Plugin "dunehd-plugin" initialization... [DEBUG] Loading dependencies for "dunehd-plugin" ... [DEBUG] Trying to load dependency 6 for "DuneHD JS API implementation" WARN : Dependency 6 for "dunehd-plugin" not found! WARN : Plugin "dunehd-plugin" won't be loaded because of missing dependencies! [DEBUG] Plugin "ini-ds" initialization... [DEBUG] Loading dependencies for "ini-ds" ... [DEBUG] No dependencies for "ini-ds" have been found [DEBUG] Plugin "ini-ds" initialized [DEBUG] Plugin "mag-api" initialization... [DEBUG] Loading dependencies for "mag-api" ... [DEBUG] Trying to load dependency 7 for "MAG API implementation" [DEBUG] Dependency 7 initialized [DEBUG] Trying to load dependency 6 for "MAG API implementation" WARN : Dependency 6 for "mag-api" not found! WARN : Plugin "mag-api" won't be loaded because of missing dependencies! [DEBUG] Initialization finished ^CSIGINT [DEBUG] Closing application... code: 0 [STUB ] virtual yasem::CoreImpl::~CoreImpl():
[STUB ] virtual yasem::NetworkImpl::~NetworkImpl():
dreamer2057@DreamLinuxVM:~/yasem/bin$

mvasilchuk commented 10 years ago

Looks like you didn't install qt webkit library (libqt5webkit5 and libqt5webkit5-dev , if you're using ppa:ubuntu-sdk-team/ppa).

shoshins commented 10 years ago

After install both of them:

dreamer2057@DreamLinuxVM:~/yasem/bin$ ./yasem [DEBUG] Library paths: ("/usr/lib/x86_64-linux-gnu/qt5/plugins", ".", "./libs", "./libs/plugins", "/home/dreamer2057/yasem/bin") [DEBUG] Settings directory "/home/dreamer2057/.config/yasem" [DEBUG] "disk: [/dev/sda1, /, 7608792, 6695332, 503912, 0]" [DEBUG] "disk: [/dev/sr0, /media/dreamer2057/VBOXADDITIONS_4.2.16_869922, 58236, 58236, 0, 0]" [DEBUG] Starting application... [DEBUG] Looking for plugins... [DEBUG] pluginsToLoad: ("desktop-gui", "dunehd-plugin", "ini-ds", "mag-api") [DEBUG] PluginManager::listPlugins() [DEBUG] Blacklisted plugins: ("vlc-mediaplayer", "qt-mediaplayer") [DEBUG] Searching for plugins in "/home/dreamer2057/yasem/bin/plugins" [DEBUG] Found file: "libyasem-desktop-gui.so.0.1.0" [DEBUG] Plugin loaded: "Desktop GUI plugin" [DEBUG] Found STB plugin "Desktop GUI plugin" [DEBUG] Registered "config" as profile class ID [DEBUG] "Desktop GUI plugin" is not a STB plugin [DEBUG] Found file: "libyasem-dunehd-api.so.0.1.0" [DEBUG] Plugin loaded: "DuneHD JS API implementation" [DEBUG] Found STB plugin "DuneHD JS API implementation" [DEBUG] Registered "dunehd" as profile class ID [DEBUG] "DuneHD JS API implementation" is not a STB plugin [DEBUG] Found file: "libyasem-ini-datasource.so.0.1.0" [DEBUG] Plugin loaded: "INI datasource provider" [DEBUG] Found file: "libyasem-mag-api.so.0.1.0" [DEBUG] Plugin loaded: "MAG API implementation" [DEBUG] Found STB plugin "MAG API implementation" [DEBUG] Registered "mag" as profile class ID [DEBUG] "MAG API implementation" is not a STB plugin [DEBUG] initPlugins() [DEBUG] Plugin "desktop-gui" initialization... [DEBUG] Loading dependencies for "desktop-gui" ... [DEBUG] Trying to load dependency 6 for "Desktop GUI plugin" WARN : Dependency 6 for "desktop-gui" not found! WARN : Plugin "desktop-gui" won't be loaded because of missing dependencies! [DEBUG] Plugin "dunehd-plugin" initialization... [DEBUG] Loading dependencies for "dunehd-plugin" ... [DEBUG] Trying to load dependency 6 for "DuneHD JS API implementation" WARN : Dependency 6 for "dunehd-plugin" not found! WARN : Plugin "dunehd-plugin" won't be loaded because of missing dependencies! [DEBUG] Plugin "ini-ds" initialization... [DEBUG] Loading dependencies for "ini-ds" ... [DEBUG] No dependencies for "ini-ds" have been found [DEBUG] Plugin "ini-ds" initialized [DEBUG] Plugin "mag-api" initialization... [DEBUG] Loading dependencies for "mag-api" ... [DEBUG] Trying to load dependency 7 for "MAG API implementation" [DEBUG] Dependency 7 initialized [DEBUG] Trying to load dependency 6 for "MAG API implementation" WARN : Dependency 6 for "mag-api" not found! WARN : Plugin "mag-api" won't be loaded because of missing dependencies! [DEBUG] Initialization finished ^CSIGINT [DEBUG] Closing application... code: 0 [STUB ] virtual yasem::CoreImpl::~CoreImpl():
[STUB ] virtual yasem::NetworkImpl::~NetworkImpl():
dreamer2057@DreamLinuxVM:~/yasem/bin$

and

dreamer2057@DreamLinuxVM:~/yasem/bin$ ldd ./yasem linux-vdso.so.1 => (0x00007fff3313f000) libQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f47e427c000) libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f47e3f38000) libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f47e3891000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f47e3673000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f47e336f000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f47e3158000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f47e2d92000) libQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f47e2745000) libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f47e24f3000) libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f47e21eb000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f47e1eb6000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f47e1baf000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f47e1996000) libicui18n.so.52 => /usr/lib/x86_64-linux-gnu/libicui18n.so.52 (0x00007f47e158e000) libicuuc.so.52 => /usr/lib/x86_64-linux-gnu/libicuuc.so.52 (0x00007f47e1214000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f47e1010000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f47e0e08000) /lib64/ld-linux-x86-64.so.2 (0x00007f47e4ac1000) libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f47e0be1000) libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f47e098c000) libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007f47e0726000) libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f47e051d000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f47e02df000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f47e00c0000) libicudata.so.52 => /usr/lib/x86_64-linux-gnu/libicudata.so.52 (0x00007f47de852000) libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f47de5af000) libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f47de392000) libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f47de16b000) libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f47ddf59000) libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f47ddd55000) libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f47ddb4f000) libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f47dd94d000) libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f47dd735000) libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f47dd530000) libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f47dd32d000) libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f47dd129000) libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f47dcf23000) libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007f47dcd21000) libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f47dcb1a000) libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f47dc90e000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f47dc709000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f47dc503000) dreamer2057@DreamLinuxVM:~/yasem/bin$

shoshins commented 10 years ago

Nothing to changed i think :)

mvasilchuk commented 10 years ago

Copy you build log here (after make command)

shoshins commented 10 years ago

dreamer2057@DreamLinuxVM:~/yasem$ make cd yasem-core/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/dreamer2057/yasem/yasem-core/yasem-core.pro -o Makefile ) && make -f Makefile make[1]: Entering directory /home/dreamer2057/yasem/yasem-core' make[1]: Nothing to be done forfirst'. make[1]: Leaving directory /home/dreamer2057/yasem/yasem-core' cd plugins/yasem-desktop-gui/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/dreamer2057/yasem/plugins/yasem-desktop-gui/yasem-desktop-gui.pro -o Makefile ) && make -f Makefile make[1]: Entering directory/home/dreamer2057/yasem/plugins/yasem-desktop-gui' make[1]: Nothing to be done for first'. make[1]: Leaving directory/home/dreamer2057/yasem/plugins/yasem-desktop-gui' cd plugins/yasem-dunehd-api/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/dreamer2057/yasem/plugins/yasem-dunehd-api/yasem-dunehd-api.pro -o Makefile ) && make -f Makefile make[1]: Entering directory /home/dreamer2057/yasem/plugins/yasem-dunehd-api' make[1]: Nothing to be done forfirst'. make[1]: Leaving directory /home/dreamer2057/yasem/plugins/yasem-dunehd-api' cd plugins/yasem-ini-datasource/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/dreamer2057/yasem/plugins/yasem-ini-datasource/yasem-ini-datasource.pro -o Makefile ) && make -f Makefile make[1]: Entering directory/home/dreamer2057/yasem/plugins/yasem-ini-datasource' make[1]: Nothing to be done for first'. make[1]: Leaving directory/home/dreamer2057/yasem/plugins/yasem-ini-datasource' cd plugins/yasem-mag-api/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/dreamer2057/yasem/plugins/yasem-mag-api/yasem-mag-api.pro -o Makefile ) && make -f Makefile make[1]: Entering directory /home/dreamer2057/yasem/plugins/yasem-mag-api' make[1]: Nothing to be done forfirst'. make[1]: Leaving directory /home/dreamer2057/yasem/plugins/yasem-mag-api' cd plugins/yasem-qtav-mediaplayer/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/dreamer2057/yasem/plugins/yasem-qtav-mediaplayer/yasem-qtav-mediaplayer.pro -o Makefile ) && make -f Makefile make[1]: Entering directory/home/dreamer2057/yasem/plugins/yasem-qtav-mediaplayer' cd QtAV/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/dreamer2057/yasem/plugins/yasem-qtav-mediaplayer/QtAV/QtAV.pro -o Makefile ) && make -f Makefile Project MESSAGE: BUILD_DIR=/home/dreamer2057/yasem/plugins/yasem-qtav-mediaplayer/QtAV Project MESSAGE: To disable config tests, you can use 1 of the following methods Project MESSAGE: 1. create '.qmake.conf' in the root source dir, add 'CONFIG += no_config_tests'(Qt5) Project MESSAGE: 2. pass 'CONFIG += no_config_tests' or '-config no_config_tests' to qmake Project MESSAGE: 3. add 'CONFIG += no_config_tests' in /home/dreamer2057/yasem/plugins/yasem-qtav-mediaplayer/QtAV/user.conf Project MESSAGE: To manually set a config test result to true, disable config tests and enable config_name like above Checking for avutil... no Project ERROR: avutil is required, but compiler can not find it make[1]: * [sub-QtAV-make_first-ordered] Error 3 make[1]: Leaving directory `/home/dreamer2057/yasem/plugins/yasem-qtav-mediaplayer' make: * [sub-plugins-yasem-qtav-mediaplayer-make_first] Error 2

mvasilchuk commented 10 years ago

You have to install libav (or ffmpeg) development libraries. See QtAV requirements https://github.com/wang-bin/QtAV#requirements .

mvasilchuk commented 10 years ago

Here the list of packages you have to install (not sure if it is full): libavutil-dev, libavformat-dev, libavcodec-dev, libswscale-dev, portaudio19-dev, libopenal-dev

shoshins commented 10 years ago

1) I successfully install ffmpeg from this http://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu. 2) Install all packages from your previous message.

Error again.

Make result now:

dreamer2057@DreamLinuxVM:/media/dreamer2057/Data/yasem$ make cd yasem-core/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/dreamer2057/yasem/yasem-core/yasem-core.pro -o Makefile ) && make -f Makefile make[1]: Entering directory /media/dreamer2057/Data/yasem/yasem-core' make[1]: Nothing to be done forfirst'. make[1]: Leaving directory /media/dreamer2057/Data/yasem/yasem-core' cd plugins/yasem-desktop-gui/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/dreamer2057/yasem/plugins/yasem-desktop-gui/yasem-desktop-gui.pro -o Makefile ) && make -f Makefile make[1]: Entering directory/media/dreamer2057/Data/yasem/plugins/yasem-desktop-gui' make[1]: Nothing to be done for first'. make[1]: Leaving directory/media/dreamer2057/Data/yasem/plugins/yasem-desktop-gui' cd plugins/yasem-dunehd-api/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/dreamer2057/yasem/plugins/yasem-dunehd-api/yasem-dunehd-api.pro -o Makefile ) && make -f Makefile make[1]: Entering directory /media/dreamer2057/Data/yasem/plugins/yasem-dunehd-api' make[1]: Nothing to be done forfirst'. make[1]: Leaving directory /media/dreamer2057/Data/yasem/plugins/yasem-dunehd-api' cd plugins/yasem-ini-datasource/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/dreamer2057/yasem/plugins/yasem-ini-datasource/yasem-ini-datasource.pro -o Makefile ) && make -f Makefile make[1]: Entering directory/media/dreamer2057/Data/yasem/plugins/yasem-ini-datasource' make[1]: Nothing to be done for first'. make[1]: Leaving directory/media/dreamer2057/Data/yasem/plugins/yasem-ini-datasource' cd plugins/yasem-mag-api/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/dreamer2057/yasem/plugins/yasem-mag-api/yasem-mag-api.pro -o Makefile ) && make -f Makefile make[1]: Entering directory /media/dreamer2057/Data/yasem/plugins/yasem-mag-api' make[1]: Nothing to be done forfirst'. make[1]: Leaving directory /media/dreamer2057/Data/yasem/plugins/yasem-mag-api' cd plugins/yasem-qtav-mediaplayer/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/dreamer2057/yasem/plugins/yasem-qtav-mediaplayer/yasem-qtav-mediaplayer.pro -o Makefile ) && make -f Makefile make[1]: Entering directory/media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer' cd QtAV/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/dreamer2057/yasem/plugins/yasem-qtav-mediaplayer/QtAV/QtAV.pro -o Makefile ) && make -f Makefile Cannot find file: /home/dreamer2057/yasem/plugins/yasem-qtav-mediaplayer/QtAV/QtAV.pro. make[1]: * [sub-QtAV-make_first-ordered] Error 2 make[1]: Leaving directory `/media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer' make: * [sub-plugins-yasem-qtav-mediaplayer-make_first] Error 2

mvasilchuk commented 10 years ago

Looks like QtAV is not downloaded from repository. Run "git submodule foreach git merge origin master" from sources folder. If doen't help remove sources and run https://github.com/mvasilchuk/yasem#how-to-compile again

shoshins commented 10 years ago

Folder yasem was removed, after what i again steps by https://github.com/mvasilchuk/yasem#how-to-compile

Now this error shows (sorry for too bothersome) :

...

Project MESSAGE: To recheck the dependencies, delete '.qmake.cache' in the root of build dir, run qmake with argument 'CONFIG+=recheck' or '-config recheck' Project ERROR: libavresample or libswresample is required. Setup your environment correctly then delete /media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer/QtAV/.qmake.conf and run qmake again make[1]: * [sub-QtAV-make_first-ordered] Error 3 make[1]: Leaving directory `/media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer' make: * [sub-plugins-yasem-qtav-mediaplayer-make_first] Error 2

QTAV need to be reinstalled?

mvasilchuk commented 10 years ago

You have to install libavresample-dev from universe/libdevel group.

shoshins commented 10 years ago

Running sudo get-apt install libavresample-dev not help, the same story.

shoshins commented 10 years ago

dreamer2057@DreamLinuxVM:/media/dreamer2057/Data/yasem$ make cd yasem-core/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /media/dreamer2057/Data/yasem/yasem-core/yasem-core.pro -o Makefile ) && make -f Makefile make[1]: Entering directory /media/dreamer2057/Data/yasem/yasem-core' make[1]: Nothing to be done forfirst'. make[1]: Leaving directory /media/dreamer2057/Data/yasem/yasem-core' cd plugins/yasem-desktop-gui/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /media/dreamer2057/Data/yasem/plugins/yasem-desktop-gui/yasem-desktop-gui.pro -o Makefile ) && make -f Makefile make[1]: Entering directory/media/dreamer2057/Data/yasem/plugins/yasem-desktop-gui' make[1]: Nothing to be done for first'. make[1]: Leaving directory/media/dreamer2057/Data/yasem/plugins/yasem-desktop-gui' cd plugins/yasem-dunehd-api/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /media/dreamer2057/Data/yasem/plugins/yasem-dunehd-api/yasem-dunehd-api.pro -o Makefile ) && make -f Makefile make[1]: Entering directory /media/dreamer2057/Data/yasem/plugins/yasem-dunehd-api' make[1]: Nothing to be done forfirst'. make[1]: Leaving directory /media/dreamer2057/Data/yasem/plugins/yasem-dunehd-api' cd plugins/yasem-ini-datasource/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /media/dreamer2057/Data/yasem/plugins/yasem-ini-datasource/yasem-ini-datasource.pro -o Makefile ) && make -f Makefile make[1]: Entering directory/media/dreamer2057/Data/yasem/plugins/yasem-ini-datasource' make[1]: Nothing to be done for first'. make[1]: Leaving directory/media/dreamer2057/Data/yasem/plugins/yasem-ini-datasource' cd plugins/yasem-mag-api/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /media/dreamer2057/Data/yasem/plugins/yasem-mag-api/yasem-mag-api.pro -o Makefile ) && make -f Makefile make[1]: Entering directory /media/dreamer2057/Data/yasem/plugins/yasem-mag-api' make[1]: Nothing to be done forfirst'. make[1]: Leaving directory /media/dreamer2057/Data/yasem/plugins/yasem-mag-api' cd plugins/yasem-qtav-mediaplayer/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer/yasem-qtav-mediaplayer.pro -o Makefile ) && make -f Makefile make[1]: Entering directory/media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer' cd QtAV/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer/QtAV/QtAV.pro -o Makefile ) && make -f Makefile Project MESSAGE: BUILD_DIR=/media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer/QtAV Project MESSAGE: To disable config tests, you can use 1 of the following methods Project MESSAGE: 1. create '.qmake.conf' in the root source dir, add 'CONFIG += no_config_tests'(Qt5) Project MESSAGE: 2. pass 'CONFIG += no_config_tests' or '-config no_config_tests' to qmake Project MESSAGE: 3. add 'CONFIG += no_config_tests' in /media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer/QtAV/user.conf Project MESSAGE: To manually set a config test result to true, disable config tests and enable config_name like above Project MESSAGE: checking for optional features... Project MESSAGE: To recheck the dependencies, delete '.qmake.cache' in the root of build dir, run qmake with argument 'CONFIG+=recheck' or '-config recheck' Project ERROR: libavresample or libswresample is required. Setup your environment correctly then delete /media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer/QtAV/.qmake.conf and run qmake again make[1]: * [sub-QtAV-make_first-ordered] Error 3 make[1]: Leaving directory `/media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer' make: * [sub-plugins-yasem-qtav-mediaplayer-make_first] Error 2

mvasilchuk commented 10 years ago

Remove plugins/yasem-qtav-mediaplayer/QtAV/.qmake.cache and try again

shoshins commented 10 years ago

I haven't qmake.cache file (not in one dir under yasem). And also i tried qmake again, and with config recheck too..

mvasilchuk commented 10 years ago

It is hidden. Just run "rm .qmake.cache" from QtAV folder

shoshins commented 10 years ago

Oh, yes, it is. But restart make after qmake return next errors :( :

...

-I/usr/lib/x8664-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I../../yasem-core -I/usr/include/qt5 -I/usr/include/qt5/QtWebKitWidgets -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtOpenGL -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtLocation -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtWebKit -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtPositioning -I/usr/include/qt5/QtSensors -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -o webview.o webview.cpp webview.cpp: In member function ‘void yasem::WebView::onUrlChanged(const QUrl&)’: webview.cpp:241:38: error: no matching function for call to ‘QWebSecurityOrigin::QWebSecurityOrigin(const QUrl&)’ QWebSecurityOrigin origin(url); ^ webview.cpp:241:38: note: candidates are: In file included from /usr/include/qt5/QtWebKit/QWebSecurityOrigin:1:0, from webview.cpp:7: /usr/include/qt5/QtWebKit/qwebsecurityorigin.h:64:5: note: QWebSecurityOrigin::QWebSecurityOrigin(QWebSecurityOriginPrivate) QWebSecurityOrigin(QWebSecurityOriginPrivate priv); ^ /usr/include/qt5/QtWebKit/qwebsecurityorigin.h:64:5: note: no known conversion for argument 1 from ‘const QUrl’ to ‘QWebSecurityOriginPrivate’ /usr/include/qt5/QtWebKit/qwebsecurityorigin.h:58:5: note: QWebSecurityOrigin::QWebSecurityOrigin(const QWebSecurityOrigin&) QWebSecurityOrigin(const QWebSecurityOrigin& other); ^ /usr/include/qt5/QtWebKit/qwebsecurityorigin.h:58:5: note: no known conversion for argument 1 from ‘const QUrl’ to ‘const QWebSecurityOrigin&’ webview.cpp:242:16: error: ‘class QWebSecurityOrigin’ has no member named ‘addAccessWhitelistEntry’ origin.addAccessWhitelistEntry("http", "", QWebSecurityOrigin::AllowSubdomains); ^ webview.cpp:242:52: error: ‘AllowSubdomains’ is not a member of ‘QWebSecurityOrigin’ origin.addAccessWhitelistEntry("http", "", QWebSecurityOrigin::AllowSubdomains); ^ webview.cpp:243:16: error: ‘class QWebSecurityOrigin’ has no member named ‘addAccessWhitelistEntry’ origin.addAccessWhitelistEntry("qrc", "", QWebSecurityOrigin::AllowSubdomains); ^ webview.cpp:243:51: error: ‘AllowSubdomains’ is not a member of ‘QWebSecurityOrigin’ origin.addAccessWhitelistEntry("qrc", "", QWebSecurityOrigin::AllowSubdomains); ^ webview.cpp:244:16: error: ‘class QWebSecurityOrigin’ has no member named ‘addAccessWhitelistEntry’ origin.addAccessWhitelistEntry("http", "www.youtube.com", QWebSecurityOrigin::AllowSubdomains); ^ webview.cpp:244:67: error: ‘AllowSubdomains’ is not a member of ‘QWebSecurityOrigin’ origin.addAccessWhitelistEntry("http", "www.youtube.com", QWebSecurityOrigin::AllowSubdomains); ^ make[1]: _\ [webview.o] Error 1 make[1]: Leaving directory `/media/dreamer2057/Data/yasem/plugins/yasem-web-browser' make: *\ [sub-plugins-yasem-web-browser-make_first] Error 2

mvasilchuk commented 10 years ago

Are you using Qt 5.2+? Run qmake --version

shoshins commented 10 years ago

dreamer2057@DreamLinuxVM:/media/dreamer2057/Data/yasem$ qmake --version QMake version 3.0 Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu

mvasilchuk commented 10 years ago

That's strange. Can you install qtcreator and try to compile the project from it? Maybe make command uses another qt version.

shoshins commented 10 years ago

Ok, install in progress. In the result of make-action should be folder like in archive 'automated debug build for Linux'?

mvasilchuk commented 10 years ago

After you install qtcreator open yasem.pro file in it (File->Open File or Project) and then set Qt version (you'll be asked). When project is opened press green button (Build) at the bottom of a left panel. Then folder like build-yasem-Qt_5_3-Debug should be created in yasem folder parent and app will start from it.

shoshins commented 10 years ago

Yes, i do this. 7 errors and some-amount warnings.

Errors like in terminal: /media/dreamer2057/Data/yasem/plugins/yasem-web-browser/webview.cpp:242: error: 'class QWebSecurityOrigin' has no member named 'addAccessWhitelistEntry' origin.addAccessWhitelistEntry("http", "", QWebSecurityOrigin::AllowSubdomains); ^ /media/dreamer2057/Data/yasem/plugins/yasem-web-browser/webview.cpp:241: error: no matching function for call to 'QWebSecurityOrigin::QWebSecurityOrigin(const QUrl&)' QWebSecurityOrigin origin(url); ^ etc the same.

Errors on 241-244 lines in webview.cpp, here: if QT_VERSION >= QT_VERSION_CHECK(5, 2, 0) QWebSecurityOrigin origin(url); origin.addAccessWhitelistEntry("http", "", QWebSecurityOrigin::AllowSubdomains); origin.addAccessWhitelistEntry("qrc", "", QWebSecurityOrigin::AllowSubdomains); origin.addAccessWhitelistEntry("http", "www.youtube.com", QWebSecurityOrigin::AllowSubdomains); this->page()->mainFrame()->securityOrigin().allOrigins().append(origin);

else

    WARN(QString("Cross-origin resource sharing (CORS) is only available since Qt 5.2. CORS will be disabled!"));
#endif
shoshins commented 10 years ago

Warnings: 1) /media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer/QtAV/src/Makefile.libQtAV:8706: warning: overriding commands for target "install_target" 2) /media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer/QtAV/src/Makefile.libQtAV:8594: warning: ignoring old commands for target "install_target" 3) /media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer/QtAV/src/Makefile.libQtAV:8716: warning: overriding commands for target "uninstall_target" 4) /media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer/QtAV/src/Makefile.libQtAV:8604: warning: ignoring old commands for target "uninstall_target" 5) /media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer/QtAV/qml/Makefile.libQmlAV:1345: warning: overriding commands for target "install_target" 6) /media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer/QtAV/qml/Makefile.libQmlAV:1322: warning: ignoring old commands for target "install_target" 7) /media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer/QtAV/qml/Makefile.libQmlAV:1350: warning: overriding commands for target "uninstall_target" 8) /media/dreamer2057/Data/yasem/plugins/yasem-qtav-mediaplayer/QtAV/qml/Makefile.libQmlAV:1327: warning: ignoring old commands for target "uninstall_target" 9) etc.

mvasilchuk commented 10 years ago

remove the bock started from

if QT_VERSION >= QT_VERSION_CHECK(5, 2, 0)

to

endif

from webview.cpp and try again.

shoshins commented 10 years ago

Is it works? I can't believe it! :) screenshot from 2014-08-07 16 09 27

mvasilchuk commented 10 years ago

Yes, but now only MAG (in the middle) works good. Select it and then configure profile (portal URL and other options). And there are a lot of bugs yet :)

shoshins commented 10 years ago

Very good! Thanks! And where i can take test free iptv portal url?

mvasilchuk commented 10 years ago

You may try to use my test server http://stalker.stbemu.com/stalker_portal/c/index.html , but there is not channels on it. BTW, some services may not work, because you removed a code that allows them to work. But some of them (like YouTube) should work anyways.

mvasilchuk commented 10 years ago

You also can try to run something from a list http://wiki.stbemu.com/index.php/%D0%9D%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B8:%D0%9F%D1%80%D0%BE%D0%B2%D0%B0%D0%B9%D0%B4%D0%B5%D1%80%D1%8B_IPTV

That list is in Russian, and most of portals are in Ukrainian/Russian too. But anyways you'll check if the emulator works.

shoshins commented 10 years ago

Super. Many thanks! :) You make a great help.