Re: Errors when compiling Hello World application in tutorial



On Mon, 2006-11-13 at 20:15 -0500, maddog39 wrote:
> Hello,
> 
> I noticed that when you try to compile the Hello World application in
> the tutorial on your documentation it returns errors. Such as
> HelloWorld::HelloWorld() and HelloWorld::~HelloWorld() are undefined.
> The only way I found to fix this was to either take all the functions
> from helloworld.cpp and put them in helloworld.h or to include
> helloworld.cpp in main.cpp. Both are fixes to the problem. Just letting
> you know incase you didnt realize it yet.
> 
> My Specs:
> Ubuntu Linux 6.10
> GNU C++ Compiler v4.1.2
> GTK+ v2.8.x
> GTKMM v2.4.x
> GNOME 2.10
> 
> Thanks!
> -Alec Hussey

You are obviously not specifying all the .cpp files to the compiler.

-- 
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]