After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 140419 - Wrong tutorials
Wrong tutorials
Status: RESOLVED INVALID
Product: gtkmm
Classification: Bindings
Component: reference documentation
2.2
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2004-04-18 16:09 UTC by Dario Mèndez
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Dario Mèndez 2004-04-18 16:09:36 UTC
In almost every tutorial there's a problem in every main.cc example; the
file included is "*.h" instead of "*.cc", for example, in the Hello
World tutorial, the file included in main.cc is "buttons.h", it should
be "buttons.cc".
This obviously leads to unferenced Class errors when trying to compile
main.cc
Comment 1 Murray Cumming 2004-04-19 07:35:21 UTC
Nonsense. You should not be #including .cc files. Just compile and link all .cc
files instead of just compiling main.cc. All the examples are in the examples
directory in the tarball, with Makefiles.
Comment 2 Dario Mèndez 2004-04-19 12:41:35 UTC
Sorry then, it's my fault, the tutorial didn't mention any linking and compiling
the single cc leads to unreferenced main.