where have all my error messages gone?

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

where have all my error messages gone?

olavgun
Hi,

Now, no error messages and feedback  shows in the console window.
Neither printf("the value of len is now %d\n", len);   nor  cout << "the value of len is" << len << "\n";

Earlier printf wrote in the console immediately but cout only at program termination, according to my books they should behave identically, printf there described as the obsolete version of cout <<  ??

Now, nothing.

?????

Olav Gundersen
(amateur hobby programmer)
Reply | Threaded
Open this post in threaded view
|

Re: where have all my error messages gone?

lasconic
Administrator
Not sure it's the reason but do you execute musescore with -d ?

Lasconic

2009/3/10 olavgun <[hidden email]>

Hi,

Now, no error messages and feedback  shows in the console window.
Neither printf("the value of len is now %d\n", len);   nor  cout << "the
value of len is" << len << "\n";

Earlier printf wrote in the console immediately but cout only at program
termination, according to my books they should behave identically, printf
there described as the obsolete version of cout <<  ??

Now, nothing.

?????

Olav Gundersen
(amateur hobby programmer)

--
View this message in context: http://n2.nabble.com/where-have-all-my-error-messages-gone--tp2454106p2454106.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.


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


------------------------------------------------------------------------------

_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: where have all my error messages gone?

wschweer
Administrator
In reply to this post by olavgun
A quick test with "mscore -d" shows plenty of printf output. Output with
"cout" should also work.
Output must be terminated with "\n" to appear on the screen ("\n" flushes the
io-buffers).
For windows things are different. You see only output when linked with
"-mconsole".

/Werner
On Tuesday 10 March 2009 10:19:30 olavgun wrote:

> Hi,
>
> Now, no error messages and feedback  shows in the console window.
> Neither printf("the value of len is now %d\n", len);   nor  cout << "the
> value of len is" << len << "\n";
>
> Earlier printf wrote in the console immediately but cout only at program
> termination, according to my books they should behave identically, printf
> there described as the obsolete version of cout <<  ??
>
> Now, nothing.
>
> ?????
>
> Olav Gundersen
> (amateur hobby programmer)


------------------------------------------------------------------------------
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: where have all my error messages gone?

olavgun
Hi,
the problem is that many of the object-files are not linked in.
There is a message during make:

c++: -rpath: linker input file unused because linking not done
c++: /usr/lib: linker input file unused because linking not done

This started when I upgraded to qt-4.5.0.

Olav

wschweer wrote
A quick test with "mscore -d" shows plenty of printf output. Output with
"cout" should also work.
Output must be terminated with "\n" to appear on the screen ("\n" flushes the
io-buffers).
For windows things are different. You see only output when linked with
"-mconsole".

/Werner