Work in progress... :-)

Just discussing this with lasconic on #musescore:
Looks like the problem is that the link command contains an empty -L switch:

build/mscore/CMakeFiles/mscore.dir/link.txt:
/usr/bin/c++   -std=gnu++0x -fPIC -fPIE -g  
-Wl,-rpath=/home/joern/Qt5.1.0/5.1.0/gcc/lib -L 
CMakeFiles/mscore.dir/qrc_musescore.cpp.o

(so qrc_musescore.cpp.o is not linked in, causing the problems.)

lasconic pointed me to the file mscore/CmakeLists.txt
line 217, containing a hack for this (known) problem.

As for me: No solution found yet.

Am Dienstag, 16. Juli 2013, 02:32:08 schrieb Maurizio M. Gavioli:
> Exactly same behaviour (compile succeeds, run fails on loading .qrc
> resources) here in a slightly different the system:
> 
> Mint 14 64bit
> Qt 5.1.0 64bit installed from offline installer
> cmake 2.8.9 (default in distro)
> gcc 4.7.2 (default in distro)
> 
> Commit c4e95c776 (yesterday evening) compiled through Qt Creator. I have
> tried 'messing' a little with the definitions in musescore.qrc and with the
> loading code but without any result.
> 
> A question for heuchi: do you still have Qt 4.8.x installed in your system?
> I do and I'm checking for possible conflicts.
> 
> Thanks,
> Maurizio
> 
> 
> heuchi wrote
> 
> > I can compile but it doesn't run:
> > cannot open shortcuts
> > Mscore: fatal error: cannot load internal font <:/fonts/mscore-20.ttf>
> > 
> > Somehow all the resources defined in musescore.qrc are not available to
> > the application. When called with -d switch it omplains about not beeing
> > able to load any of the fonts, and a short test showed it can't even load
> > the revision number.
> > 
> > My system is running:
> > ubuntu 12.04
> > gcc 4.8.1
> > QMake version 3.0 using Qt version 5.1.0
> > cmake 2.8.11.2
> 
> --
> View this message in context:
> http://dev-list.musescore.org/Problems-building-on-32bit-linux-tp7578222p75
> 78229.html Sent from the MuseScore Developer mailing list archive at
> Nabble.com.
> 
> ----------------------------------------------------------------------------
> -- See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Mscore-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to