Re: bug in hello world source on gtkmm.org



On Sat, 2008-10-25 at 13:04 +0200, Szymon Fiedler wrote:
> Hello,
> 
> There is a small bug in hello world source on gtkmm.org site
> (http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/sec-helloworld.html)
> In main.cpp there is:
>         #include "helloworld.h"
> Should be:
>         #include "helloworld.cc"

No, that's generally not done.

> because there is no link between main.cc and helloworld.cc and there
> are some errors during the compilation.

You should just specify all .cc files when building, not just main.cc.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]