PDA

View Full Version : Anjuta without glade?



SledgeHammer_999
October 8th, 2007, 10:10 AM
Hello I want to make a C++ GTK program in Anjuta without using glade. Is this possible in Anjuta? If yes, how to I start?

Yz85Racer
October 8th, 2007, 11:19 AM
Use SciTE.

ryno519
October 8th, 2007, 12:55 PM
Hello I want to make a C++ GTK program in Anjuta without using glade. Is this possible in Anjuta? If yes, how to I start?

Make a generic C++ project and just link to the gtkmm library.

http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch03.html

SledgeHammer_999
October 8th, 2007, 03:05 PM
Make a generic C++ project and just link to the gtkmm library.

http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch03.html

thanks. Well, I was thinking about that but I wanted to confirm it.

SledgeHammer_999
October 8th, 2007, 03:39 PM
One more question: How do I tell Anjuta where to look for the "gtkmm.h" header?

ryno519
October 8th, 2007, 04:14 PM
One more question: How do I tell Anjuta where to look for the "gtkmm.h" header?

I've always had trouble getting Anjuta to do that. I always end up editing the configuration files by hand.

SledgeHammer_999
October 9th, 2007, 02:25 AM
ok. Well I know that my "gtkmm.h" is here "/usr/include/gtkmm-2.4". Can you tell what changes should I do and in what files?(as you understand I am not a pro)

thanks you.

slavik
October 9th, 2007, 04:49 AM
change the include line for the project.

SledgeHammer_999
October 9th, 2007, 11:09 AM
well I put this in the include line "/usr/include/gtkmm-2.4" but when trying to build the project the compiler cannot find <gtkmm.h> although it is in "/usr/include/gtkmm-2.4/gtkmm.h". Is my include line right?

SledgeHammer_999
October 9th, 2007, 08:36 PM
FINALLY I FOUND A SOLUTION.
(this was hard to figure out)
I'll post a howto as soon as I can.