Errors when compiling Hello World application in tutorial


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

-Alec Hussey

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