Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: parisa_k on December 29, 2008, 05:52:21 am

Title: using glade in a gtk+ project
Post by: parisa_k on December 29, 2008, 05:52:21 am
Hi,
I`m trying to use glade form builder in a project that uses GTk+
I have downloaded and compiled glade ...but there is an error in the line that I`ve included glade
#include<glade/glade.h>

it seems that some path should be added to build option .......which path should be added and where

what should I do
thanks
Title: Re: using glade in a gtk+ project
Post by: stahta01 on December 29, 2008, 06:13:04 am
Add the path that contains glade/glade.h.

The location to add the path is an C::B questions that is OK.

Project -> Build Options
Tab "search directories"
Tab "compiler"
add path to the box.

Tim S


Title: Re: using glade in a gtk+ project
Post by: parisa_k on December 29, 2008, 06:48:16 am
thanks for your help