Quantcast

undefined reference to `QString:: ...

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

undefined reference to `QString:: ...

oberon
Hi. Here I am again with a failing build with the current git snapshot ;)
The error output is:

[ 81%] Linking CXX executable mscore-git
../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
`rtf2html(QString const&)':
/home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547: undefined
reference to `QString::arg(double, int, char, int, QChar const&) const'
/home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547: undefined
reference to `QString::arg(double, int, char, int, QChar const&) const'
/home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547: undefined
reference to `QString::arg(QString const&, int, QChar const&) const'
/home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547: undefined
reference to `QString::arg(QString const&, int, QChar const&) const'
../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
`QString::QString()':
/home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:868:
undefined reference to `QString::shared_null'
../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
`QString::~QString()':
/home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:869:
undefined reference to `QString::free(QString::Data*)'
../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
`QString::toStdString() const':
/home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1034:
undefined reference to `QString::toAscii() const'
../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
`QString::fromStdString(std::string const&)':
/home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1037:
undefined reference to `QString::fromAscii(char const*, int)'
collect2: error: ld returned 1 exit status
mscore/CMakeFiles/mscore.dir/build.make:5825: recipe for target
'mscore/mscore-git' failed
make[2]: *** [mscore/mscore-git] Error 1
CMakeFiles/Makefile2:293: recipe for target
'mscore/CMakeFiles/mscore.dir/all' failed
make[1]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
     Aborting...

Thanks for your help.
greetings
Bernhard Landauer


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
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: undefined reference to `QString:: ...

Jojo-Schmitz
Hi Bernhard

"/home/ws..." ? That more looks like Werner Schweer's home, not yours?
"/home/ws/qt4/include/QtCore..." ? "qt4" seems to indicate an outdated Qt
version, we're on 5.6 nowadays.

Bye, Jojo

-----Original Message-----
From: Bernhard Landauer [mailto:[hidden email]]
Sent: Wednesday, May 18, 2016 5:09 PM
To: [hidden email]
Subject: [Mscore-developer] undefined reference to `QString:: ...

Hi. Here I am again with a failing build with the current git snapshot ;)
The error output is:

[ 81%] Linking CXX executable mscore-git
../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
`rtf2html(QString const&)':
/home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547: undefined
reference to `QString::arg(double, int, char, int, QChar const&) const'
/home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547: undefined
reference to `QString::arg(double, int, char, int, QChar const&) const'
/home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547: undefined
reference to `QString::arg(QString const&, int, QChar const&) const'
/home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547: undefined
reference to `QString::arg(QString const&, int, QChar const&) const'
../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
`QString::QString()':
/home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:868:
undefined reference to `QString::shared_null'
../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
`QString::~QString()':
/home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:869:
undefined reference to `QString::free(QString::Data*)'
../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
`QString::toStdString() const':
/home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1034:
undefined reference to `QString::toAscii() const'
../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
`QString::fromStdString(std::string const&)':
/home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1037:
undefined reference to `QString::fromAscii(char const*, int)'
collect2: error: ld returned 1 exit status
mscore/CMakeFiles/mscore.dir/build.make:5825: recipe for target
'mscore/mscore-git' failed
make[2]: *** [mscore/mscore-git] Error 1
CMakeFiles/Makefile2:293: recipe for target
'mscore/CMakeFiles/mscore.dir/all' failed
make[1]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
     Aborting...

Thanks for your help.
greetings
Bernhard Landauer


----------------------------------------------------------------------------
--
Mobile security can be enabling, not merely restricting. Employees who bring
their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the apps
on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
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: undefined reference to `QString:: ...

oberon
In reply to this post by oberon
Thanks Jojo!
Interesting! :D
Well something seems to be not right with the sources, then, I assume ;)

I'm using:
depends=('qt5-svg'
        'qt5-tools'
        'qt5-webengine'
        'shared-mime-info')

And on Manjaro Linux I am indeed running qt5 5.6.0, too :)
greetings
Bernhard

> Hi Bernhard
>
> "/home/ws..." ? That more looks like Werner Schweer's home, not yours?
> "/home/ws/qt4/include/QtCore..." ? "qt4" seems to indicate an outdated Qt
> version, we're on 5.6 nowadays.
>
> Bye, Jojo


On 18/05/16 17:08, Bernhard Landauer wrote:

> Hi. Here I am again with a failing build with the current git snapshot ;)
> The error output is:
>
> [ 81%] Linking CXX executable mscore-git
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `rtf2html(QString const&)':
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(double, int, char, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(double, int, char, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(QString const&, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(QString const&, int, QChar
> const&) const'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::QString()':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:868:
> undefined reference to `QString::shared_null'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::~QString()':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:869:
> undefined reference to `QString::free(QString::Data*)'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::toStdString() const':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1034:
> undefined reference to `QString::toAscii() const'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::fromStdString(std::string const&)':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1037:
> undefined reference to `QString::fromAscii(char const*, int)'
> collect2: error: ld returned 1 exit status
> mscore/CMakeFiles/mscore.dir/build.make:5825: recipe for target
> 'mscore/mscore-git' failed
> make[2]: *** [mscore/mscore-git] Error 1
> CMakeFiles/Makefile2:293: recipe for target
> 'mscore/CMakeFiles/mscore.dir/all' failed
> make[1]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
> Makefile:149: recipe for target 'all' failed
> make: *** [all] Error 2
> ==> ERROR: A failure occurred in build().
>     Aborting...
>
> Thanks for your help.
> greetings
> Bernhard Landauer
>


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
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: undefined reference to `QString:: ...

Jojo-Schmitz

More likely something wrong with your setup



---- Bernhard Landauer schrieb ----

Thanks Jojo!
Interesting! :D
Well something seems to be not right with the sources, then, I assume ;)

I'm using:
depends=('qt5-svg'
'qt5-tools'
'qt5-webengine'
'shared-mime-info')

And on Manjaro Linux I am indeed running qt5 5.6.0, too :)
greetings
Bernhard

> Hi Bernhard
>
> "/home/ws..." ? That more looks like Werner Schweer's home, not yours?
> "/home/ws/qt4/include/QtCore..." ? "qt4" seems to indicate an outdated Qt
> version, we're on 5.6 nowadays.
>
> Bye, Jojo


On 18/05/16 17:08, Bernhard Landauer wrote:

> Hi. Here I am again with a failing build with the current git snapshot ;)
> The error output is:
>
> [ 81%] Linking CXX executable mscore-git
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `rtf2html(QString const&)':
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(double, int, char, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(double, int, char, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(QString const&, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(QString const&, int, QChar
> const&) const'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::QString()':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:868:
> undefined reference to `QString::shared_null'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::~QString()':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:869:
> undefined reference to `QString::free(QString::Data*)'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::toStdString() const':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1034:
> undefined reference to `QString::toAscii() const'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::fromStdString(std::string const&)':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1037:
> undefined reference to `QString::fromAscii(char const*, int)'
> collect2: error: ld returned 1 exit status
> mscore/CMakeFiles/mscore.dir/build.make:5825: recipe for target
> 'mscore/mscore-git' failed
> make[2]: *** [mscore/mscore-git] Error 1
> CMakeFiles/Makefile2:293: recipe for target
> 'mscore/CMakeFiles/mscore.dir/all' failed
> make[1]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
> Makefile:149: recipe for target 'all' failed
> make: *** [all] Error 2
> ==> ERROR: A failure occurred in build().
>     Aborting...
>
> Thanks for your help.
> greetings
> Bernhard Landauer
>


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
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: undefined reference to `QString:: ...

Bernhard Landauer

I don't think so, Jojo - what would that be, possibly?

I am building in a clean chroot and older commits like for example cb65146 build without problem for me.

'/home/ws' is certainly not my $HOME - so where would it come from on my system? ;)


On 18/05/16 23:11, Joachim Schmitz wrote:

More likely something wrong with your setup



---- Bernhard Landauer schrieb ----

Thanks Jojo!
Interesting! :D
Well something seems to be not right with the sources, then, I assume ;)

I'm using:
depends=('qt5-svg'
'qt5-tools'
'qt5-webengine'
'shared-mime-info')

And on Manjaro Linux I am indeed running qt5 5.6.0, too :)
greetings
Bernhard

> Hi Bernhard
>
> "/home/ws..." ? That more looks like Werner Schweer's home, not yours?
> "/home/ws/qt4/include/QtCore..." ? "qt4" seems to indicate an outdated Qt
> version, we're on 5.6 nowadays.
>
> Bye, Jojo


On 18/05/16 17:08, Bernhard Landauer wrote:
> Hi. Here I am again with a failing build with the current git snapshot ;)
> The error output is:
>
> [ 81%] Linking CXX executable mscore-git
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `rtf2html(QString const&)':
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(double, int, char, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(double, int, char, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(QString const&, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(QString const&, int, QChar
> const&) const'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::QString()':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:868:
> undefined reference to `QString::shared_null'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::~QString()':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:869:
> undefined reference to `QString::free(QString::Data*)'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::toStdString() const':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1034:
> undefined reference to `QString::toAscii() const'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::fromStdString(std::string const&)':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1037:
> undefined reference to `QString::fromAscii(char const*, int)'
> collect2: error: ld returned 1 exit status
> mscore/CMakeFiles/mscore.dir/build.make:5825: recipe for target
> 'mscore/mscore-git' failed
> make[2]: *** [mscore/mscore-git] Error 1
> CMakeFiles/Makefile2:293: recipe for target
> 'mscore/CMakeFiles/mscore.dir/all' failed
> make[1]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
> Makefile:149: recipe for target 'all' failed
> make: *** [all] Error 2
> ==> ERROR: A failure occurred in build().
>     Aborting...
>
> Thanks for your help.
> greetings
> Bernhard Landauer
>


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j


_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
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: undefined reference to `QString:: ...

Bernhard Landauer
In reply to this post by Jojo-Schmitz

$ grep -re "/home/ws" .
./MuseScore/mscore/CMakeLists.txt:      COMMAND ${QT_WINE_EXECUTABLE} /home/ws/.wine/drive_c/MingW/bin/windres.exe ${PROJECT_BINARY_DIR}/mscore.res -o ${PROJECT_BINARY_DIR}/resfile.o
./MuseScore/mscore/data/darkgreendot.svg:   sodipodi:docbase="/home/ws/projects/muse/muse/trunk/muse/muse/xpm"
./MuseScore/mscore/data/greendot.svg:   sodipodi:docbase="/home/ws/projects/muse/muse/trunk/muse/muse/xpm"
./MuseScore/mscore/data/recordOn.svg:   sodipodi:docbase="/home/ws/projects/muse/muse/trunk/muse/muse/xpm"
./MuseScore/mscore/data/recordOff.svg:   sodipodi:docbase="/home/ws/projects/muse/muse/trunk/muse/muse/xpm"
./MuseScore/mscore/data/icons/sbeam.svg:   sodipodi:docbase="/home/ws/mscore/mscore/trunk/mscore/mscore/data">
./MuseScore/mscore/data/icons/beam32.svg:   sodipodi:docbase="/home/ws/mscore/mscore/trunk/mscore/mscore/data">
./MuseScore/mscore/data/icons/mbeam.svg:   sodipodi:docbase="/home/ws/mscore/mscore/trunk/mscore/mscore/data">
./MuseScore/mscore/fotomode.cpp://      QString fn = "/home/ws/mops.eps";
Binary file ./MuseScore/mscore/CMakeFiles/mscore.dir/qrc_musescore.cpp.o matches
Binary file ./MuseScore/mscore/mscore-git matches
./MuseScore/libmscore/instrtemplate.cpp:      // saveInstrumentTemplates1("/home/ws/mops.xml");
./MuseScore/mtest/libmscore/splitstaff/splitstaff04.mscx:        <val id="0">/home/ws/ws/zerberus/instruments/salamander48/SalamanderGrandPiano.sfz</val>
./MuseScore/mtest/libmscore/splitstaff/splitstaff05.mscx:        <val id="0">/home/ws/ws/zerberus/instruments/salamander48/SalamanderGrandPiano.sfz</val>
./MuseScore/build/mingw32.cmake:set (CROSS /home/ws/mingw)
Binary file ./MuseScore/.git/objects/pack/pack-f8c99298f6a4f7333e9696197c03dbd12f019648.pack matches
./MuseScore/test/slur1.mscx:      <s name="soundfont" val="/home/ws/sfont/FluidR3.SF2"/>
./MuseScore/test/crossbeams.mscx:      <s name="soundfont" val="/home/ws/sfont/FluidR3.SF2"/>
./MuseScore/test/ntest/MuseScore_Tests.album:      <path>/home/ws/mscore/mscore/trunk/mscore/test/ntest/stem-1.mscx</path>
./MuseScore/test/ntest/MuseScore_Tests.album:      <path>/home/ws/mscore/mscore/trunk/mscore/test/ntest/tie.mscx</path>
./MuseScore/test/ntest/MuseScore_Tests.album:      <path>/home/ws/mscore/mscore/trunk/mscore/test/ntest/slur.mscx</path>
Binary file ./MuseScore/thirdparty/rtf2html/librtf2html.a matches


On 18/05/16 23:11, Joachim Schmitz wrote:

More likely something wrong with your setup



---- Bernhard Landauer schrieb ----

Thanks Jojo!
Interesting! :D
Well something seems to be not right with the sources, then, I assume ;)

I'm using:
depends=('qt5-svg'
'qt5-tools'
'qt5-webengine'
'shared-mime-info')

And on Manjaro Linux I am indeed running qt5 5.6.0, too :)
greetings
Bernhard

> Hi Bernhard
>
> "/home/ws..." ? That more looks like Werner Schweer's home, not yours?
> "/home/ws/qt4/include/QtCore..." ? "qt4" seems to indicate an outdated Qt
> version, we're on 5.6 nowadays.
>
> Bye, Jojo


On 18/05/16 17:08, Bernhard Landauer wrote:
> Hi. Here I am again with a failing build with the current git snapshot ;)
> The error output is:
>
> [ 81%] Linking CXX executable mscore-git
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `rtf2html(QString const&)':
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(double, int, char, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(double, int, char, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(QString const&, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(QString const&, int, QChar
> const&) const'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::QString()':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:868:
> undefined reference to `QString::shared_null'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::~QString()':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:869:
> undefined reference to `QString::free(QString::Data*)'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::toStdString() const':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1034:
> undefined reference to `QString::toAscii() const'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::fromStdString(std::string const&)':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1037:
> undefined reference to `QString::fromAscii(char const*, int)'
> collect2: error: ld returned 1 exit status
> mscore/CMakeFiles/mscore.dir/build.make:5825: recipe for target
> 'mscore/mscore-git' failed
> make[2]: *** [mscore/mscore-git] Error 1
> CMakeFiles/Makefile2:293: recipe for target
> 'mscore/CMakeFiles/mscore.dir/all' failed
> make[1]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
> Makefile:149: recipe for target 'all' failed
> make: *** [all] Error 2
> ==> ERROR: A failure occurred in build().
>     Aborting...
>
> Thanks for your help.
> greetings
> Bernhard Landauer
>


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j


_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
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: undefined reference to `QString:: ...

Bernhard Landauer

I see that commit fb677fc was merged May 17 but in fact pushed already Nov 15 2015. It contains some old QT4 stuff in thirdparty/poppler/fofi/Makefile.in which got included in CMakeLists.txt by the same commit.
I suspect this might be your bad commit.

I can meanwhile tell you that also f1e2d6f compiles fine for me. I will attempt 56c6b3a now, which immediately precedes the one in question. ;)

regards
Bernhard

On 19/05/16 00:23, Bernhard Landauer wrote:

$ grep -re "/home/ws" .
./MuseScore/mscore/CMakeLists.txt:      COMMAND ${QT_WINE_EXECUTABLE} /home/ws/.wine/drive_c/MingW/bin/windres.exe ${PROJECT_BINARY_DIR}/mscore.res -o ${PROJECT_BINARY_DIR}/resfile.o
./MuseScore/mscore/data/darkgreendot.svg:   sodipodi:docbase="/home/ws/projects/muse/muse/trunk/muse/muse/xpm"
./MuseScore/mscore/data/greendot.svg:   sodipodi:docbase="/home/ws/projects/muse/muse/trunk/muse/muse/xpm"
./MuseScore/mscore/data/recordOn.svg:   sodipodi:docbase="/home/ws/projects/muse/muse/trunk/muse/muse/xpm"
./MuseScore/mscore/data/recordOff.svg:   sodipodi:docbase="/home/ws/projects/muse/muse/trunk/muse/muse/xpm"
./MuseScore/mscore/data/icons/sbeam.svg:   sodipodi:docbase="/home/ws/mscore/mscore/trunk/mscore/mscore/data">
./MuseScore/mscore/data/icons/beam32.svg:   sodipodi:docbase="/home/ws/mscore/mscore/trunk/mscore/mscore/data">
./MuseScore/mscore/data/icons/mbeam.svg:   sodipodi:docbase="/home/ws/mscore/mscore/trunk/mscore/mscore/data">
./MuseScore/mscore/fotomode.cpp://      QString fn = "/home/ws/mops.eps";
Binary file ./MuseScore/mscore/CMakeFiles/mscore.dir/qrc_musescore.cpp.o matches
Binary file ./MuseScore/mscore/mscore-git matches
./MuseScore/libmscore/instrtemplate.cpp:      // saveInstrumentTemplates1("/home/ws/mops.xml");
./MuseScore/mtest/libmscore/splitstaff/splitstaff04.mscx:        <val id="0">/home/ws/ws/zerberus/instruments/salamander48/SalamanderGrandPiano.sfz</val>
./MuseScore/mtest/libmscore/splitstaff/splitstaff05.mscx:        <val id="0">/home/ws/ws/zerberus/instruments/salamander48/SalamanderGrandPiano.sfz</val>
./MuseScore/build/mingw32.cmake:set (CROSS /home/ws/mingw)
Binary file ./MuseScore/.git/objects/pack/pack-f8c99298f6a4f7333e9696197c03dbd12f019648.pack matches
./MuseScore/test/slur1.mscx:      <s name="soundfont" val="/home/ws/sfont/FluidR3.SF2"/>
./MuseScore/test/crossbeams.mscx:      <s name="soundfont" val="/home/ws/sfont/FluidR3.SF2"/>
./MuseScore/test/ntest/MuseScore_Tests.album:      <path>/home/ws/mscore/mscore/trunk/mscore/test/ntest/stem-1.mscx</path>
./MuseScore/test/ntest/MuseScore_Tests.album:      <path>/home/ws/mscore/mscore/trunk/mscore/test/ntest/tie.mscx</path>
./MuseScore/test/ntest/MuseScore_Tests.album:      <path>/home/ws/mscore/mscore/trunk/mscore/test/ntest/slur.mscx</path>
Binary file ./MuseScore/thirdparty/rtf2html/librtf2html.a matches


On 18/05/16 23:11, Joachim Schmitz wrote:

More likely something wrong with your setup



---- Bernhard Landauer schrieb ----

Thanks Jojo!
Interesting! :D
Well something seems to be not right with the sources, then, I assume ;)

I'm using:
depends=('qt5-svg'
'qt5-tools'
'qt5-webengine'
'shared-mime-info')

And on Manjaro Linux I am indeed running qt5 5.6.0, too :)
greetings
Bernhard

> Hi Bernhard
>
> "/home/ws..." ? That more looks like Werner Schweer's home, not yours?
> "/home/ws/qt4/include/QtCore..." ? "qt4" seems to indicate an outdated Qt
> version, we're on 5.6 nowadays.
>
> Bye, Jojo


On 18/05/16 17:08, Bernhard Landauer wrote:
> Hi. Here I am again with a failing build with the current git snapshot ;)
> The error output is:
>
> [ 81%] Linking CXX executable mscore-git
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `rtf2html(QString const&)':
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(double, int, char, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(double, int, char, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(QString const&, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(QString const&, int, QChar
> const&) const'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::QString()':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:868:
> undefined reference to `QString::shared_null'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::~QString()':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:869:
> undefined reference to `QString::free(QString::Data*)'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::toStdString() const':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1034:
> undefined reference to `QString::toAscii() const'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::fromStdString(std::string const&)':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1037:
> undefined reference to `QString::fromAscii(char const*, int)'
> collect2: error: ld returned 1 exit status
> mscore/CMakeFiles/mscore.dir/build.make:5825: recipe for target
> 'mscore/mscore-git' failed
> make[2]: *** [mscore/mscore-git] Error 1
> CMakeFiles/Makefile2:293: recipe for target
> 'mscore/CMakeFiles/mscore.dir/all' failed
> make[1]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
> Makefile:149: recipe for target 'all' failed
> make: *** [all] Error 2
> ==> ERROR: A failure occurred in build().
>     Aborting...
>
> Thanks for your help.
> greetings
> Bernhard Landauer
>


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j


_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer



------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j


_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
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: undefined reference to `QString:: ...

Bernhard Landauer
In reply to this post by Bernhard Landauer

Thomas, that's really bad manners to hijack a thread for your matter!
Even though I think this list is not the right place for whatever advertisement at all, in any case you will at least open your own thread please!

On 19/05/16 04:41, Tom Ng wrote:
Hi All,
Please visit my site at http://www.3jcn.com
Thank you for your time.
Thomas


To: [hidden email]
From: [hidden email]
Date: Thu, 19 May 2016 00:04:23 +0200
Subject: Re: [Mscore-developer] undefined reference to `QString:: ...

I don't think so, Jojo - what would that be, possibly?
I am building in a clean chroot and older commits like for example cb65146 build without problem for me.
'/home/ws' is certainly not my $HOME - so where would it come from on my system? ;)


On 18/05/16 23:11, Joachim Schmitz wrote:

More likely something wrong with your setup



---- Bernhard Landauer schrieb ----

Thanks Jojo!
Interesting! :D
Well something seems to be not right with the sources, then, I assume ;)

I'm using:
depends=('qt5-svg'
'qt5-tools'
'qt5-webengine'
'shared-mime-info')

And on Manjaro Linux I am indeed running qt5 5.6.0, too :)
greetings
Bernhard

> Hi Bernhard
>
> "/home/ws..." ? That more looks like Werner Schweer's home, not yours?
> "/home/ws/qt4/include/QtCore..." ? "qt4" seems to indicate an outdated Qt
> version, we're on 5.6 nowadays.
>
> Bye, Jojo


On 18/05/16 17:08, Bernhard Landauer wrote:
> Hi. Here I am again with a failing build with the current git snapshot ;)
> The error output is:
>
> [ 81%] Linking CXX executable mscore-git
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `rtf2html(QString const&)':
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(double, int, char, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(double, int, char, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(QString const&, int, QChar
> const&) const'
> /home/ws/mscore/mscore/trunk/mscore/rtf2html/rtf2html.cpp:547:
> undefined reference to `QString::arg(QString const&, int, QChar
> const&) const'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::QString()':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:868:
> undefined reference to `QString::shared_null'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::~QString()':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:869:
> undefined reference to `QString::free(QString::Data*)'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::toStdString() const':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1034:
> undefined reference to `QString::toAscii() const'
> ../thirdparty/rtf2html/librtf2html.a(rtf2html.cpp.o): In function
> `QString::fromStdString(std::string const&)':
> /home/ws/qt4/include/QtCore/../../src/corelib/tools/qstring.h:1037:
> undefined reference to `QString::fromAscii(char const*, int)'
> collect2: error: ld returned 1 exit status
> mscore/CMakeFiles/mscore.dir/build.make:5825: recipe for target
> 'mscore/mscore-git' failed
> make[2]: *** [mscore/mscore-git] Error 1
> CMakeFiles/Makefile2:293: recipe for target
> 'mscore/CMakeFiles/mscore.dir/all' failed
> make[1]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2
> Makefile:149: recipe for target 'all' failed
> make: *** [all] Error 2
> ==> ERROR: A failure occurred in build().
>     Aborting...
>
> Thanks for your help.
> greetings
> Bernhard Landauer
>


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j


_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j


_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Loading...