Linux Mint 64 compilation fails

classic Classic list List threaded Threaded
28 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Linux Mint 64 compilation fails

robert leleu
I noticed that "The nightlies will now use Qt 5.3.1."

and want to stress out that my last Linux Mint 64 compilation fails, although my Qt is 5.3, as it does since one month. I go on trying to solve.

leleu@leleu-portable:~/musescore/MuseScore/build.release/mscore > mscore -v
This application failed to start because it could not find or load the Qt platform plugin "xcb".

Reinstalling the application may fix this problem.
Abandon (core dumped)


Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

lasconic
Administrator
Let's say you have Qt installed in /Qt
Can you run

ldd -d -r /Qt/5.3.1/gcc_64/plugins/platforms/libqxcb.so

And report the output. (the path might not be exactly right...)

lasconic

2014-08-27 19:47 GMT+02:00 robert leleu <[hidden email]>:

> I noticed that "The nightlies will now use Qt 5.3.1."
>
> and want to stress out that my last Linux Mint 64 compilation fails,
> although my Qt is 5.3, as it does since one month. I go on trying to solve.
>
> leleu@leleu-portable:~/musescore/MuseScore/build.release/mscore > mscore -v
> This application failed to start because it could not find or load the Qt
> platform plugin "xcb".
>
> Reinstalling the application may fix this problem.
> Abandon (core dumped)
>
>
>
>
>
>
> --
> View this message in context: http://dev-list.musescore.org/Linux-Mint-64-compilation-fails-tp7578930.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Mscore-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

robert leleu
On 27/08/2014 20:11, Lasconic wrote:
ldd -d -r /Qt/5.3.1/gcc_64/plugins/platforms/libqxcb.so


here is the outlet. No lib is reported «not found»


leleu@leleu-portable:~ > ldd -d -r /home/leleu/Qt5/5.3/gcc_64/plugins/platforms/libqxcb.so
        linux-vdso.so.1 =>  (0x00007fffd15a4000)
        libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f11f7f9c000)
        libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f11f7d8c000)
        libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f11f7b83000)
        libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f11f7967000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f11f7763000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f11f7543000)
        libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f11f7307000)
        libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f11f7064000)
        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f11f6d5b000)
        libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f11f6b51000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f11f681c000)
        libQt5DBus.so.5 => /home/leleu/Qt5/5.3/gcc_64/plugins/platforms/../../lib/libQt5DBus.so.5 (0x00007f11f6597000)
        libQt5Gui.so.5 => /home/leleu/Qt5/5.3/gcc_64/plugins/platforms/../../lib/libQt5Gui.so.5 (0x00007f11f5e74000)
        libQt5Core.so.5 => /home/leleu/Qt5/5.3/gcc_64/plugins/platforms/../../lib/libQt5Core.so.5 (0x00007f11f5740000)
        libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007f11f54d9000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f11f52bb000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f11f4fb0000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f11f4ca9000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f11f48e3000)
        libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f11f46d1000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f11f44cb000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f11f8501000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f11f42c7000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f11f40c1000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f11f3e96000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f11f3c7d000)
        libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f11f3a57000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f11f3818000)
        libicui18n.so.52 => /home/leleu/Qt5/5.3/gcc_64/plugins/platforms/../../lib/libicui18n.so.52 (0x00007f11f33f8000)
        libicuuc.so.52 => /home/leleu/Qt5/5.3/gcc_64/plugins/platforms/../../lib/libicuuc.so.52 (0x00007f11f306f000)
        libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f11f2e6d000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f11f2c65000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f11f2a4d000)
        libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f11f2826000)
        libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f11f2623000)
        libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f11f241c000)
        libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f11f2205000)
        libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f11f2000000)
        libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f11f1dfc000)
        libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f11f1bf9000)
        libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f11f19f3000)
        libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007f11f17f0000)
        libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f11f15ea000)
        libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f11f13de000)
        libicudata.so.52 => /home/leleu/Qt5/5.3/gcc_64/plugins/platforms/../../lib/libicudata.so.52 (0x00007f11efb72000)


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
ABL
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

ABL
Dear Robert,
can you please upload somewhere one of the builds which fails during startup?
I'd like to test it in my Linux Mint 17.
My builds work for me, but I am using gcc 4.9.1 and Qt 5.3.1, here is one of the latest build (release mode):
https://drive.google.com/file/d/0BxjayMZiuupOYTl4dUxUU3VGZFE/edit?usp=sharing
Can you try and see if this works for you? Actually, I am expecting that it will not work because of the gcc 4.9.1 I used (and also the Qt 5.3.1).
ABL
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

ABL
Another guess: did you maybe rename the Qt folder?

You could try to create and add a file named "qt.conf" inside your Qt bin folder ( /home/leleu/Qt5/5.3/gcc_64/bin)with the following content:
[Paths]
Prefix = /home/leleu/Qt5/5.3/gcc_64/bin
Plugins =  /home/leleu/Qt5/5.3/gcc_64/plugins
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

robert leleu
In reply to this post by ABL
Thanks for your help.
BTW my Mint is Kde
I refit it next week to the versions of gcc and Qt you're using

At the time your mscore fails as fojllows

leleu@leleu-portable:~ > './mscore(1)'
./mscore(1): error while loading shared libraries: libQt5XmlPatterns.so.5: cannot open shared object file: No such file or directory

and an old (2013/04/08)mscore mine, which for sure worked (Mint15 presumably) fails also, the same way as my recent compilation).

leleu@leleu-portable:~ > mscore
This application failed to start because it could not find or load the Qt platform plugin "xcb".

Reinstalling the application may fix this problem.
Abandon (core dumped)

My last compilation at  (revision.h being at 54f4fc3) is in http://1filesharing.com/mirror/1MUBRN5K/mscore.tar.gz





On 28/08/2014 10:44, ABL wrote:
Dear Robert,
can you please upload somewhere one of the builds which fails during
startup?
I'd like to test it in my Linux Mint 17.
My builds work for me, but I am using gcc 4.9.1 and Qt 5.3.1, here is one of
the latest build (release mode):
https://drive.google.com/file/d/0BxjayMZiuupOYTl4dUxUU3VGZFE/edit?usp=sharing
Can you try and see if this works for you? Actually, I am expecting that it
will not work because of the gcc 4.9.1 I used (and also the Qt 5.3.1).



--
View this message in context: http://dev-list.musescore.org/Linux-Mint-64-compilation-fails-tp7578930p7578936.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

robert leleu
In reply to this post by ABL
There was yet such a file, containing
[Paths]
Prefix=..
Examples=../../Examples/Qt-5.3
Documentation=../../Docs/Qt-5.3

I changed for

[Paths]
Prefix= 
/home/leleu/Qt5/5.3/gcc_64/bin
Plugins = /home/leleu/Qt5/5.3/gcc_64/plugins

Examples=../../Examples/Qt-5.3
Documentation=../../Docs/Qt-5.3

it did not change the results

On 28/08/2014 14:41, ABL wrote:
Another guess: did you maybe rename the Qt folder?

You could try to create and add a file named "qt.conf" inside your Qt bin
folder ( /home/leleu/Qt5/5.3/gcc_64/bin)with the following content:
[Paths]
Prefix = /home/leleu/Qt5/5.3/gcc_64/bin
Plugins =  /home/leleu/Qt5/5.3/gcc_64/plugins



--
View this message in context: http://dev-list.musescore.org/Linux-Mint-64-compilation-fails-tp7578930p7578937.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
ABL
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

ABL
Ok. Good and bad news.

The good news is that I can launch the binary build you uploaded.
Actually, when I first launched it, it was searching the libraries in /usr/lib/x86_64-linux-gnu/ and I was receiving the same error you see when you try to launch my build:
./mscore_robert_leleu: error while loading shared libraries: libQt5XmlPatterns.so.5: cannot open shared object file: No such file or directory
This was because it was finding Qt5 libraries in the system path (needed by other applications?).
Therefore, I set the LD_LIBRARY_PATH to point to my Qt installation first:

export LD_LIBRARY_PATH=/home/antonio/Qt5.3.1/5.3/gcc_64/lib:$LD_LIBRARY_PATH

et voilà, everything worked fine.

So, the good news is that the build is Ok.

The bad news is that there could be something strange in your Qt installation.
You can try to do this:
( 1- revert your qt.conf to its original state )
2- set your LD_LIBRARY_PATH before launching mscore, similarly to what I did (i.e. put your Qt5 installation path at the beginning of LD_LIBRARY_PATH

Just to be sure, here is the content of my Qt plugin/platforms folder, with the xcb platform library:
antonio@antonio-VirtualBox ~/Qt5.3.1/5.3/gcc_64/plugins/platforms $ ls
libqeglfs.so  libqlinuxfb.so  libqminimalegl.so  libqminimal.so  libqoffscreen.so  libqxcb.so


I don't think you need to update gcc to 4.9 as I did (I did it only to enable the use of undefined-behavior sanitizer libubsan). You can optionally update Qt to 5.3.1 (it is not required by mscore; you can use 5.3 libraries, and if someone has Qt 5.3.1 library installed, these are loaded instead of the 5.3 without problem).

Ciao,
ABL
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

free (Robert Leleu)
Thanks. I manage that next week-begin.
I'm in a place where I have to use an unusual mail address, so I can't
send on the list.



la 29/08/2014 10:31, ABL skribis (esperanto estas la unua internacia lingvo)

> Ok. Good and bad news.
>
> The good news is that I can launch the binary build you uploaded.
> Actually, when I first launched it, it was searching the libraries in
> /usr/lib/x86_64-linux-gnu/ and I was receiving the same error you see when
> you try to launch my build:
> ./mscore_robert_leleu: error while loading shared libraries:
> libQt5XmlPatterns.so.5: cannot open shared object file: No such file or
> directory
> This was because it was finding Qt5 libraries in the system path (needed by
> other applications?).
> Therefore, I set the LD_LIBRARY_PATH to point to my Qt installation first:
>
> export LD_LIBRARY_PATH=/home/antonio/Qt5.3.1/5.3/gcc_64/lib:$LD_LIBRARY_PATH
>
> et voilà, everything worked fine.
>
> So, the good news is that the build is Ok.
>
> The bad news is that there could be something strange in your Qt
> installation.
> You can try to do this:
> ( 1- revert your qt.conf to its original state )
> 2- set your LD_LIBRARY_PATH before launching mscore, similarly to what I did
> (i.e. put your Qt5 installation path at the beginning of LD_LIBRARY_PATH
>
> Just to be sure, here is the content of my Qt plugin/platforms folder, with
> the xcb platform library:
> antonio@antonio-VirtualBox ~/Qt5.3.1/5.3/gcc_64/plugins/platforms $ ls
> libqeglfs.so  libqlinuxfb.so  libqminimalegl.so  libqminimal.so
> libqoffscreen.so  libqxcb.so
>
>
> I don't think you need to update gcc to 4.9 as I did (I did it only to
> enable the use of undefined-behavior sanitizer libubsan). You can optionally
> update Qt to 5.3.1 (it is not required by mscore; you can use 5.3 libraries,
> and if someone has Qt 5.3.1 library installed, these are loaded instead of
> the 5.3 without problem).
>
> Ciao,
> ABL
>
>
>
>
> --
> View this message in context: http://dev-list.musescore.org/Linux-Mint-64-compilation-fails-tp7578930p7578940.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Mscore-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

robert leleu
In reply to this post by ABL
slightly better. I partially applied your proposals with

export LD_LIBRARY_PATH=/home/leleu/Qt5/5.3/gcc_64/lib/:$LD_LIBRARY_PATH    
and your compil found the same error as mine

leleu@leleu-portable:~ > ./"mscore(1)"
This application failed to start because it could not find or load the Qt platform plugin "xcb".
Reinstalling the application may fix this problem.
Abandon (core dumped)

So I investigate the last part later.


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
ABL
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

ABL
...mmmmh...
Maybe something went actually wrong during Qt installation.
I think you can try to re-install it.
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

Jojo-Schmitz
In reply to this post by robert leleu
I think on Window we fixed that with a qr.conf
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

robert leleu
In reply to this post by ABL
Thanks
back home....

I tried to create
$LD_LIBRARY_PATH  in Qt.conf, since there was no such path in my config....did not succeeded

So I decided to create a new machine (virtual) with Mint17 64 and to apply the official compile instructions.

The result is rather odd (see attachment): make wants Qt 4    this claim is, I guess, trigged by a makefile prepared by the sources downloaded by git ? However looking into the files including «Qt4» it seemed to me that they all includes «redirection devices» to Qt5....

On 29/08/2014 10:31, ABL wrote:
Ok. Good and bad news.

The good news is that I can launch the binary build you uploaded.
Actually, when I first launched it, it was searching the libraries in
/usr/lib/x86_64-linux-gnu/ and I was receiving the same error you see when
you try to launch my build:
./mscore_robert_leleu: error while loading shared libraries:
libQt5XmlPatterns.so.5: cannot open shared object file: No such file or
directory
This was because it was finding Qt5 libraries in the system path (needed by
other applications?).
Therefore, I set the LD_LIBRARY_PATH to point to my Qt installation first:

export LD_LIBRARY_PATH=/home/antonio/Qt5.3.1/5.3/gcc_64/lib:$LD_LIBRARY_PATH

et voilà, everything worked fine.

So, the good news is that the build is Ok.

The bad news is that there could be something strange in your Qt
installation.
You can try to do this:
( 1- revert your qt.conf to its original state )
2- set your LD_LIBRARY_PATH before launching mscore, similarly to what I did
(i.e. put your Qt5 installation path at the beginning of LD_LIBRARY_PATH

Just to be sure, here is the content of my Qt plugin/platforms folder, with
the xcb platform library:
antonio@antonio-VirtualBox ~/Qt5.3.1/5.3/gcc_64/plugins/platforms $ ls
libqeglfs.so  libqlinuxfb.so  libqminimalegl.so  libqminimal.so 
libqoffscreen.so  libqxcb.so


I don't think you need to update gcc to 4.9 as I did (I did it only to
enable the use of undefined-behavior sanitizer libubsan). You can optionally
update Qt to 5.3.1 (it is not required by mscore; you can use 5.3 libraries,
and if someone has Qt 5.3.1 library installed, these are loaded instead of
the 5.3 without problem).

Ciao,
ABL




--
View this message in context: http://dev-list.musescore.org/Linux-Mint-64-compilation-fails-tp7578930p7578940.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
ABL
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

ABL
It searches for Qt4 when it does not find Qt5, so the problem is that it is not finding Qt5.
Can you check the PATH?
You can also try to define QTDIR directory (for example inside the .bashrc in your home directory or whatever initialization file our shell is using, or inside the script you are using to launch the compilation) poiting to the Qt folder (e.g. in my case it is "export QTDIR=/home/antonio/Qt5.3.1/5.3/gcc_64"), beside adding Qt bin folder to the PATH.
To check if the PATH is properly set you can try to execute "qmake -query" and see if all the variables point to the correct path.

Which version of cmake are you using ("cmake --version")? I think it should be at least version 2.8.9 for the build to work properly (but I am not 100% sure about this).
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

robert leleu
my Path was wrong (I copied the host PATH !). Now corrected, seems OK (see attachment 1), all the reported paths exist

for the time I don't use a script,

make is in error (attachment 2). and I add CmakeOutput.log as attachment 3)

cmake version is  2.8.12.2

if you can «read» all these datas I'd be so grateful.




On 02/09/2014 09:27, ABL wrote:
It searches for Qt4 when it does not find Qt5, so the problem is that it is
not finding Qt5.
Can you check the PATH?
You can also try to define QTDIR directory (for example inside the .bashrc
in your home directory or whatever initialization file our shell is using,
or inside the script you are using to launch the compilation) poiting to the
Qt folder (e.g. in my case it is "export
QTDIR=/home/antonio/Qt5.3.1/5.3/gcc_64"), beside adding Qt bin folder to the
PATH.
To check if the PATH is properly set you can try to execute "qmake -query"
and see if all the variables point to the correct path.

Which version of cmake are you using ("cmake --version")? I think it should
be at least version 2.8.9 for the build to work properly (but I am not 100%
sure about this).



--
View this message in context: http://dev-list.musescore.org/Linux-Mint-64-compilation-fails-tp7578930p7578960.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

qmake -query (1K) Download Attachment
make terminal (3K) Download Attachment
CmakeOutput.log (27K) Download Attachment
ABL
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

ABL
The paths from qmake seem ok :-)

I think that "make" is failing because of missing EGL dependencies. You can try to install the following packages:
libegl1-mesa
libegl1-mesa-dev

and possibly also this one:
libegl1-mesa-drivers

Ciao,
ABL
ABL
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

ABL
Hello Robert,
I have seen that the 32bit compilation works again. Great!
What about the 64bits: do you have other compilation / runtime errors?
Did you try to install the libegl1-mesa-dev; did it solve the compilation problem?

Ciao,
ABL
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

robert leleu
Grazie, Antonio

I installed a virtual Mint17 64 ("identical" to my «hard» machine, Qt5 included). I checked that

libegl1-mesa-dev
was yet installed on my hard machine, and installed it on the virtual one.

This virtual doesn't compile. Typically (last time on sept 10th 36380df revision)

-- precompiled header generation
CMake Error at mscore/CMakeLists.txt:163 (QT5_ADD_RESOURCES):
  Unknown CMake command "QT5_ADD_RESOURCES".

-- Configuring incomplete, errors occurred!
See also "/home/leleu/musescore/MuseScore/build.release/CMakeFiles/CMakeOutput.log".
See also "/home/leleu/musescore/MuseScore/build.release/CMakeFiles/CMakeError.log".

The hard machine compiles. I just uploaded the  version http://prereleases.musescore.org/linux/nightly/mscore.64bits-2014-09-12-16-34-e2a6fbd.tar.bz2

But the binary is in error (on both my machines)

[hidden email] > ./mscore This application failed to start because it could not find or load the Qt platform plugin "xcb".Reinstalling the application may fix this problem.Abandon (core dumped)

however (on the hard machine), listing the libraries
[hidden email] > ldd mscore
...............................
        libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f7e3d714000)
        libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f7e3d50e000)
        libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f7e3d30b000)
        libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f7e3d108000)
        libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f7e3cf01000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f7e3cce2000)
 
These 6 libxcb**** files are available in /usr/lib/x86_64-linux-gnu/

and there is a libqxcb.so file in /home/leleu/Qt5/5.3/gcc_64/plugins/platforms/

and [hidden email] > echo $PATH
/home/leleu/Qt5/5.3/gcc_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games


I (re)read http://musescore.org/en/node/24774 but was not able to use it to solve.

Thanks for any help




On 12/09/2014 09:01, ABL wrote:
Hello Robert,
I have seen that the 32bit compilation works again. Great!
What about the 64bits: do you have other compilation / runtime errors?
Did you try to install the libegl1-mesa-dev; did it solve the compilation
problem?

Ciao,
ABL



--
View this message in context: http://dev-list.musescore.org/Linux-Mint-64-compilation-fails-tp7578930p7578985.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
ABL
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

ABL
For what concerns the error about QT5_ADD_RESOURCES, have you tried what previously worked for you? I mean this:
http://dev-list.musescore.org/linux-compilation-td7578398.html

I think your build is correct and it is just something missing in your system. Indeed, I can run your build without problems (provided I first set the LD_LIBRARY_PATH).
You can try to check if all the dependencies needed are installed, and with the proper version. You find a list here:
http://qt-project.org/doc/qt-5/linux-requirements.html
in the "platform plugin dependencies".
Be careful that some packages have slightly different names than the one listed in that page, for example libX11-xcb is actually libX11-xcb1.

I hope this helps, I'm starting to run out of ideas.

Ciao,
ABL
Reply | Threaded
Open this post in threaded view
|

Re: Linux Mint 64 compilation fails

robert leleu
Bingo,

export CMAKE_PREFIX_PATH=full path to/gcc_64

allows the compilation

So now my 2 Mints17 64 compile the same results....but both results don't run, complaining that
[hidden email] > ./mscore
This application failed to start because it could not find or load the Qt platform plugin "xcb".

Reinstalling the application may fix this problem.
Abandon

There is a lot on the net about xcb, for a bunch of applications, but I don't succeed to extract a fix from all these pages.

 I checked  ldd libqxcb.so
I tried with
LD_LIBRARY_PATH
I installed dev according your link

http://qt-project.org/doc/qt-5/linux-requirements.html

(some of these files were not in synaptic and I didn't install them)

Since you're able to run my compilation, how is your Qt and xcb installation ?


On 13/09/2014 11:36, ABL wrote:
For what concerns the error about QT5_ADD_RESOURCES, have you tried what
previously worked for you? I mean this:
http://dev-list.musescore.org/linux-compilation-td7578398.html

I think your build is correct and it is just something missing in your
system. Indeed, I can run your build without problems (provided I first set
the LD_LIBRARY_PATH).
You can try to check if all the dependencies needed are installed, and with
the proper version. You find a list here:
http://qt-project.org/doc/qt-5/linux-requirements.html
in the "platform plugin dependencies".
Be careful that some packages have slightly different names than the one
listed in that page, for example libX11-xcb is actually libX11-xcb1.

I hope this helps, I'm starting to run out of ideas.

Ciao,
ABL




--
View this message in context: http://dev-list.musescore.org/Linux-Mint-64-compilation-fails-tp7578930p7578989.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
12