Hey Olaf,
It may actually be the fact that
std::cout << "HelloApplication::greet()...";
does not actually output anything because this stream (standard out)
buffers on some platforms until a newline is written.
So you should try with:
std::cerr << "HelloApplication::greet()...";
Or
std::cout << "HelloApplication::greet()..." << std::endl;
Regards,
koen
2012/12/29 Nagaev Boris <bnag...@gmail.com>
> Hi,
>
> I tried hallo example in Wt 3.2.3 (git commit 9f9a0adf63b977e55097).
> It works fine. Can you publish this example (deployed somewhere) and
> it's source code?
>
> PS. -lwtext option is not needed for hallo example
>
> On Sat, Dec 29, 2012 at 2:10 AM, Olaf Radicke
> <briefkas...@olaf-radicke.de> wrote:
> > Hi!
> >
> > I use version Wt 3.2.2 with fedora 17 32bit. The Hello world example from
> > http://www.webtoolkit.eu/wt/src/hello is not work with
> signal/slot-functions. Is
> > this a bug in 3.2.2 and fixed in 3.2.3?
> >
> > I copy the code in a file with name "hallowelt.c". Put this line
> > "std::cout << "HelloApplication::greet()...";
> > ...in function HelloApplication::greet()
> > than:
> > g++ -lwthttp -lwt -lwtext -lboost_signals ./hallowelt.c -o hallowelt
> > ...and start the app:
> > ./hallowelt --docroot ./ --http-address 0.0.0.0 --http-port 9096
> > ...if i click now on the button "Greet me." than do nothing and no output
> > "HelloApplication::greet()...".
> >
> > thank you & best greetings
> >
> > Olaf
> >
> >
> ------------------------------------------------------------------------------
> > Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
> > much more. Get web development skills now with LearnDevNow -
> > 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> > SALE $99.99 this month only -- learn more at:
> > http://p.sf.net/sfu/learnmore_122812
> > _______________________________________________
> > witty-interest mailing list
> > witty-interest@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
> ------------------------------------------------------------------------------
> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
> much more. Get web development skills now with LearnDevNow -
> 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122812
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest