Can I include glib, gtk .h files in a .cc files
- From: Peter Fletcher <peter fletcher62 gmail com>
- To: gtk-list gnome org
- Subject: Can I include glib, gtk .h files in a .cc files
- Date: Thu, 4 Feb 2010 00:14:17 -0800
Hi,
Can you please tell me if I can include glib.h, gtk/gtk.h files in my .cc files?
I have the following compiling problems:
Launcher/MyController.cc:2:18: error: glib.h: No such file or directory
Launcher/MyController.cc:6:21: error: gtk/gtk.h: No such file or directory
But when I rename my .cc files to .c file, then the compiler compiles fine.
I don't explicitly call any gtk functions in MyController.cc, I just need to #include glib.h, gtk/gtk.h because some other .h needs it.
Thank you for any suggestion on how to fix this problem.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]