Error while compiling

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Error while compiling

salil
I was trying to compile the source code in order to try the new master but I am getting  few problems .

I followed these steps :

1) Uninstall and make clean

2) make SUFFIX="-self" LABEL="Self Build"

which gives the following error


[100%] Linking CXX executable mscore-self
/usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5.3.0: undefined reference to `QWindowSystemInterface::registerTouchDevice(QTouchDevice*)'
collect2: error: ld returned 1 exit status
make[3]: *** [mscore/mscore-self] Error 1
make[3]: Leaving directory `/home/salil/MuseScore/build.release'
make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
make[2]: Leaving directory `/home/salil/MuseScore/build.release'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/salil/MuseScore/build.release'
make: *** [release] Error 2

3) sudo make SUFFIX="-self" LABEL="Self Build" install

same message came up again

[ 52%] Linking CXX executable mscore-self
/usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5.3.0: undefined reference to `QWindowSystemInterface::registerTouchDevice(QTouchDevice*)'
collect2: error: ld returned 1 exit status
make[3]: *** [mscore/mscore-self] Error 1
make[3]: Leaving directory `/home/salil/MuseScore/build.release'
make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
make[2]: Leaving directory `/home/salil/MuseScore/build.release'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/salil/MuseScore/build.release'
make: *** [release] Error 2

I have already upgraded Qt to 5.6 and my Cmake is also 3.3.2

Does anyone has an idea what may be going wrong .















Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while compiling

jonEnquist
This post was updated on .
The reference "libQt5WebKit.so.5.3.0" looks problematic.  Were you upgrading from Qt 5.3?

I'm on Windows 10 just now.

I had to re-import my project in the new version of Qt Creator.  Perhaps this would help.

Otherwise, I would look for references to Qt 5.3 in the build environment of Qt creator.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while compiling

salil
Yes , I have upgraded it from Qt 5.3 .
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while compiling

Jojo-Schmitz
In reply to this post by salil
You need to upgrade Qt to 5.6. And that won't contain QWebkit. And do a
clean build from scratch

-----Original Message-----
From: salil [mailto:[hidden email]]
Sent: Saturday, April 16, 2016 3:26 PM
To: [hidden email]
Subject: [Mscore-developer] Error while compiling

I was trying to compile the source code in order to try the new master but I
am getting  few problems .

I followed these steps :

1) Uninstall and make clean

2) make SUFFIX="-self" LABEL="Self Build"

which gives the following error


[100%] Linking CXX executable mscore-self
/usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5.3.0: undefined reference to
`QWindowSystemInterface::registerTouchDevice(QTouchDevice*)'
collect2: error: ld returned 1 exit status
make[3]: *** [mscore/mscore-self] Error 1
make[3]: Leaving directory `/home/salil/MuseScore/build.release'
make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
make[2]: Leaving directory `/home/salil/MuseScore/build.release'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/salil/MuseScore/build.release'
make: *** [release] Error 2

3) sudo make SUFFIX="-self" LABEL="Self Build" install

same message came up again

[ 52%] Linking CXX executable mscore-self
/usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5.3.0: undefined reference to
`QWindowSystemInterface::registerTouchDevice(QTouchDevice*)'
collect2: error: ld returned 1 exit status
make[3]: *** [mscore/mscore-self] Error 1
make[3]: Leaving directory `/home/salil/MuseScore/build.release'
make[2]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
make[2]: Leaving directory `/home/salil/MuseScore/build.release'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/salil/MuseScore/build.release'
make: *** [release] Error 2

I have already upgraded Qt to 5.6 and my Cmake is also 3.3.2

Does anyone has an idea what may be going wrong .



















--
View this message in context:
http://dev-list.musescore.org/Error-while-compiling-tp7579819.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers
of your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while compiling

jguo
In reply to this post by salil
I don't know if you've already solved the problem, but I just saw this message and thought I'd put it my two cents. (I'm on an Ubuntu machine). I was actually not able to compile MuseScore with 5.6. It was awhile ago, so I don't remember all the details (I think there was something that was deprecated in 5.6) but when I downgraded to 5.5, I had no problems. Maybe try that?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while compiling

lasconic
Administrator
Hi jguo,

It was a few weeks that you tried. MuseScore master now requires Qt 5.6.


lasconic


2016-04-18 17:49 GMT+02:00 jguo <[hidden email]>:
I don't know if you've already solved the problem, but I just saw this
message and thought I'd put it my two cents. (I'm on an Ubuntu machine). I
was actually not able to compile MuseScore with 5.6. It was awhile ago, so I
don't remember all the details (I think there was something that was
deprecated in 5.6) but when I downgraded to 5.5, I had no problems. Maybe
try that?



--
View this message in context: http://dev-list.musescore.org/Error-while-compiling-tp7579819p7579832.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while compiling

Marc Sabatella
FWIW, I had the same problem - undefined reference to QWindowSystemInterface::registerTouchDevice(QTouchDevice*) from libQtWebKit, version 5.3.  There is no libQtWebKit in version 5.6, so the build shouldn't have been trying to use it.  In my case, the problem was that for some reason, I still had an old version of CMakeLists.txt in my source folder even though I had, in theory, updated to the latest master.  Might have had something to do with the way QtCreator manages that file specially (it is the main "project" file), might have been operator error on my part.  But anyhow, pulling the lateast sources again fixed it and I was able to compile.  There is still a line in CMakeLists.txt that appears to use this library, but the line seems harmless.  I get no errors whether I delete that line or not.

Marc

On Mon, Apr 18, 2016 at 9:54 AM Lasconic <[hidden email]> wrote:
Hi jguo,

It was a few weeks that you tried. MuseScore master now requires Qt 5.6.


lasconic


2016-04-18 17:49 GMT+02:00 jguo <[hidden email]>:
I don't know if you've already solved the problem, but I just saw this
message and thought I'd put it my two cents. (I'm on an Ubuntu machine). I
was actually not able to compile MuseScore with 5.6. It was awhile ago, so I
don't remember all the details (I think there was something that was
deprecated in 5.6) but when I downgraded to 5.5, I had no problems. Maybe
try that?



--
View this message in context: http://dev-list.musescore.org/Error-while-compiling-tp7579819p7579832.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while compiling

jguo
In reply to this post by lasconic

Hi Lasconic,

Oh man, I'm clearly very behind then. Sorry about the un-helpful answer. That also means I need to update my local repo, thanks for letting me know! Fingers crossed my code will work with the new master...

Thanks!

On Apr 18, 2016 11:54 AM, "Lasconic" <[hidden email]> wrote:
Hi jguo,

It was a few weeks that you tried. MuseScore master now requires Qt 5.6.


lasconic


2016-04-18 17:49 GMT+02:00 jguo <[hidden email]>:
I don't know if you've already solved the problem, but I just saw this
message and thought I'd put it my two cents. (I'm on an Ubuntu machine). I
was actually not able to compile MuseScore with 5.6. It was awhile ago, so I
don't remember all the details (I think there was something that was
deprecated in 5.6) but when I downgraded to 5.5, I had no problems. Maybe
try that?



--
View this message in context: http://dev-list.musescore.org/Error-while-compiling-tp7579819p7579832.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while compiling

lasconic
Administrator
In reply to this post by Marc Sabatella
I'm in the process of cleaning the CMakeLists.txt a bit.
There is a lot we could do, but I will focus first on removing the remaining of Qt4.

lasconic

2016-04-18 18:04 GMT+02:00 Marc Sabatella <[hidden email]>:
FWIW, I had the same problem - undefined reference to QWindowSystemInterface::registerTouchDevice(QTouchDevice*) from libQtWebKit, version 5.3.  There is no libQtWebKit in version 5.6, so the build shouldn't have been trying to use it.  In my case, the problem was that for some reason, I still had an old version of CMakeLists.txt in my source folder even though I had, in theory, updated to the latest master.  Might have had something to do with the way QtCreator manages that file specially (it is the main "project" file), might have been operator error on my part.  But anyhow, pulling the lateast sources again fixed it and I was able to compile.  There is still a line in CMakeLists.txt that appears to use this library, but the line seems harmless.  I get no errors whether I delete that line or not.

Marc

On Mon, Apr 18, 2016 at 9:54 AM Lasconic <[hidden email]> wrote:
Hi jguo,

It was a few weeks that you tried. MuseScore master now requires Qt 5.6.


lasconic


2016-04-18 17:49 GMT+02:00 jguo <[hidden email]>:
I don't know if you've already solved the problem, but I just saw this
message and thought I'd put it my two cents. (I'm on an Ubuntu machine). I
was actually not able to compile MuseScore with 5.6. It was awhile ago, so I
don't remember all the details (I think there was something that was
deprecated in 5.6) but when I downgraded to 5.5, I had no problems. Maybe
try that?



--
View this message in context: http://dev-list.musescore.org/Error-while-compiling-tp7579819p7579832.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer



------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while compiling

lasconic
Administrator
In reply to this post by jguo
If it's anything large, you will probably need to rebase.
Please join IRC if you need help with that.

lasconic

2016-04-18 18:08 GMT+02:00 Janet Guo <[hidden email]>:

Hi Lasconic,

Oh man, I'm clearly very behind then. Sorry about the un-helpful answer. That also means I need to update my local repo, thanks for letting me know! Fingers crossed my code will work with the new master...

Thanks!

On Apr 18, 2016 11:54 AM, "Lasconic" <[hidden email]> wrote:
Hi jguo,

It was a few weeks that you tried. MuseScore master now requires Qt 5.6.


lasconic


2016-04-18 17:49 GMT+02:00 jguo <[hidden email]>:
I don't know if you've already solved the problem, but I just saw this
message and thought I'd put it my two cents. (I'm on an Ubuntu machine). I
was actually not able to compile MuseScore with 5.6. It was awhile ago, so I
don't remember all the details (I think there was something that was
deprecated in 5.6) but when I downgraded to 5.5, I had no problems. Maybe
try that?



--
View this message in context: http://dev-list.musescore.org/Error-while-compiling-tp7579819p7579832.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer



------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while compiling

Maurizio M. Gavioli
Sorry to revive this thread, but this is happening again to me. Background: having just had an HD failure, I had to re-install and re-configure everything. Looking ahead I installed the latest Qt, 5.8, which compiles ver. 3.0 (aka master) perfectly. So far, so good.

Having to deal with 2.1 too, parallel to Qt 5.8, I also installed Qt 5.4 via Qt own maintenance tool. It does compile everything, but it has problems when linking the executable.

First of all, it seems unable to find some of its own libraries (libicui18n.so.53 and libicuuc.so.53), which I solved via a suitable LD_LIBRARY_LOAD environment variable.

Then, it complains about:

"libQt5WebKit.so.5.4.2: undefined reference to `QWindowSystemInterface::registerTouchDevice(QTouchDevice*)'"

I have installed everything about 5.4 (except Android and source code). Note that the class QWindowSystemInterface seems unknown to Qt own help system.

Just for info, my system is Linux Mint 17.3 with Mate desktop. Any advise is welcome...
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while compiling

lasconic
Administrator
Maybe you have another Qt installed by your system?

lasconic

2017-02-21 21:25 GMT+01:00 Maurizio M. Gavioli <[hidden email]>:
Sorry to revive this thread, but this is happening again to me. Background:
having just had an HD failure, I had to re-install and re-configure
everything. Looking ahead I installed the latest Qt, 5.8, which compiles
ver. 3.0 (aka master) perfectly. So far, so good.

Having to deal with 2.1 too, parallel to Qt 5.8, I also installed Qt 5.4 via
Qt own maintenance tool. It does compile everything, but it has problems
when linking the executable.

First of all, it seems unable to find some of its own libraries
(libicui18n.so.53 and libicuuc.so.53), which I solved via a suitable
LD_LIBRARY_LOAD environment variable.

Then, it complains about:

"libQt5WebKit.so.5.4.2: undefined reference to
`QWindowSystemInterface::registerTouchDevice(QTouchDevice*)'"

I have installed everything about 5.4 (except Android and source code). Note
that the class QWindowSystemInterface seems unknown to Qt own help system.

Just for info, my system is Linux Mint 17.3 with Mate desktop. Any advise is
welcome...



--
View this message in context: http://dev-list.musescore.org/Error-while-compiling-tp7579819p7580145.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while compiling

Maurizio M. Gavioli
Thanks for the reply, lasconic.

lasconic wrote
Maybe you have another Qt installed by your system?
Sure I have: the Mint 17.3 distro comes with Qt 5.3. However it should not matter, as Qt 5.4 and 5.8 are installed in my home and, for instance, while using Qt 5.8, it finds everything it needs from its own code base.

Dealing with master AND 2.1 practically requires to have three Qt versions: the one which ships with the distro, 5.4 for 2.1 and 5.6+ for master. What am I supposed to do? Keeping the sources of master on one PC and the sources of 2.1 on another?

Anyway, where this damn QWindowSystemInterface is supposed to be found? It is not described anywhere in the Qt docs...
I did find this post, but it seems related with Gentoo specifics; it basically says: "Don't mix Qt versions", and we already know we shouldn't, but in some cases we are forced to do it anyway.

I'll try with some more spells and runes...
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while compiling

lasconic
Administrator
I understand it's inconvenient but it's the only way to get both versions compiled. It should be no problem to have 2 or more versions of Qt installed at the same time if there is a single qmake in the PATH. It works perfectly on both Mac and Windows.

QWindowSystemInterface is not documented in Qt because it's not a public API class. It's part of the code https://github.com/qt/qtbase/blob/5.3/src/gui/kernel/qwindowsysteminterface.h since at least Qt 5.3.


lasconic

2017-02-22 13:08 GMT+01:00 Maurizio M. Gavioli <[hidden email]>:
Thanks for the reply, lasconic.


lasconic wrote
> Maybe you have another Qt installed by your system?

Sure I have: the Mint 17.3 distro comes with Qt 5.3. However it should not
matter, as Qt 5.4 and 5.8 are installed in my home and, for instance, while
using Qt 5.8, it finds everything it needs from its own code base.

Dealing with master AND 2.1 practically requires to have three Qt versions:
the one which ships with the distro, 5.4 for 2.1 and 5.6+ for master. What
am I supposed to do? Keeping the sources of master on one PC and the sources
of 2.1 on another?

Anyway, where this damn QWindowSystemInterface is supposed to be found? It
is not described anywhere in the Qt docs...

> See https://forums.gentoo.org/viewtopic-p-7864110.html

I did find this post, but it seems related with Gentoo specifics; it
basically says: "Don't mix Qt versions", and we already know we shouldn't,
but in some cases we are forced to do it anyway.

I'll try with some more spells and runes...



--
View this message in context: http://dev-list.musescore.org/Error-while-compiling-tp7579819p7580152.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while compiling

Maurizio M. Gavioli
Oh well, MY FAULT!

Cleaning more accurately before switching between versions of the MuseScore sources DOES WORK!

(After almost a year of working only in Java, it is surprising how one looses familiarity with details and how much hodgy-podgy C++ dev would seem...)
____________________

Incidentally about cleaning, I followed the Qt Creator Method 2 described here in the developer handbook and the "make uninstalldebug" clean step results in the following error(s):

Starting: "/usr/bin/make" uninstalldebug
cd build.debug \
        && xargs rm < install_manifest.txt \
        && if [ "TRUE" = "TRUE" ]; then \
             update-mime-database ""/usr/local"/share/mime"; \
             gtk-update-icon-cache -f -t ""/usr/local"/share/icons/hicolor"; \
           fi \
        && xargs ../build/rm-empty-dirs < install_manifest.txt \
        && rm install_manifest.txt
Directory '/usr/local/share/mime/packages' does not exist!
gtk-update-icon-cache: Failed to open file /usr/local/share/icons/hicolor/.icon-theme.cache : No such file or directory
make: *** [uninstalldebug] Error 1

I resorted to disabling this clean step and using "make clean" only.
____________________

Lastly, which is the make argument to turn off PulseAudio support?

Simply using "BUILD_PULSEAUDIO=OFF" does not go through. I tried "-DBUILD_PULSEAUDIO=OFF" and, of course, it raises an error ("/usr/bin/make: invalid option -- 'D'").

Short of editing CMakeLists.txt, which would be detected by git, I am resorting to manually modifying the build-debug/CMakeCache.txt file created after the first compilation attempt fails (and, no, no way I turn back on that PulseAudio evil on my machine...).
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while compiling

lasconic
Administrator
I believe the only way is to edit the main Makefile if you use it.
 If not, and you invoke Cmake with QtCreator, you can pass -DBUILD_PULSEAUDIO=OFF to CMake when prompted to add Cmake arguments.

lasconic

2017-02-22 16:45 GMT+01:00 Maurizio M. Gavioli <[hidden email]>:
Oh well, MY FAULT!

Cleaning more accurately before switching between versions of the MuseScore
sources DOES WORK!

(After almost a year of working only in Java, it is surprising how one
looses familiarity with details and how much hodgy-podgy C++ dev would
seem...)
____________________

Incidentally about cleaning, I followed the Qt Creator Method 2 described
here in the developer handbook
<https://musescore.org/en/developers-handbook/compilation/compile-instructions-linux-bsd-git#Qt-Creator-IDE---method-2>
and the "make uninstalldebug" clean step results in the following error(s):

Starting: "/usr/bin/make" uninstalldebug
cd build.debug \
        && xargs rm < install_manifest.txt \
        && if [ "TRUE" = "TRUE" ]; then \
             update-mime-database ""/usr/local"/share/mime"; \
             gtk-update-icon-cache -f -t ""/usr/local"/share/icons/hicolor"; \
           fi \
        && xargs ../build/rm-empty-dirs < install_manifest.txt \
        && rm install_manifest.txt
Directory '/usr/local/share/mime/packages' does not exist!
gtk-update-icon-cache: Failed to open file
/usr/local/share/icons/hicolor/.icon-theme.cache : No such file or directory
make: *** [uninstalldebug] Error 1

I resorted to disabling this clean step and using "make clean" only.
____________________

Lastly, which is the make argument to turn off PulseAudio support?

Simply using "BUILD_PULSEAUDIO=OFF" does not go through. I tried
"-DBUILD_PULSEAUDIO=OFF" and, of course, it raises an error ("/usr/bin/make:
invalid option -- 'D'").

Short of editing CMakeLists.txt, which would be detected by git, I am
resorting to manually modifying the build-debug/CMakeCache.txt file created
after the first compilation attempt fails (and, no, no way I turn back on
that PulseAudio evil on my machine...).




--
View this message in context: http://dev-list.musescore.org/Error-while-compiling-tp7579819p7580154.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Loading...