Can I include glib, gtk .h files in a .cc files

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

 



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.





_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux