9 Replies - 3843 Views - Last Post: 07 May 2012 - 10:34 AM

#1 deduu10  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 01-May 12

problem when configure GTK with visual studio 2008

Posted 01 May 2012 - 07:11 AM

hai,

I'm interested using GTK 2.4 to create GUI. I have tried to configure it with visual studio 2008. I followed the instruction in this link http://www.etechplan...evelopment.aspx
but when I debug my code, it results error Error

fatal error C1083: Cannot open include file: 'gdk-pixbuf/gdk-pixbuf.h': No such file or directory c:\gtk\include\gtk-2.0\gdk\gdkpixbuf.h 37 mygtk001

does anyone can help me to resolve this error?

thank you..

Is This A Good Question/Topic? 0
  • +

Replies To: problem when configure GTK with visual studio 2008

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9096
  • View blog
  • Posts: 34,161
  • Joined: 12-June 08

Re: problem when configure GTK with visual studio 2008

Posted 01 May 2012 - 07:12 AM

What language are you using? Did you include all the paths?
Was This Post Helpful? 0
  • +
  • -

#3 deduu10  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 01-May 12

Re: problem when configure GTK with visual studio 2008

Posted 01 May 2012 - 07:18 AM

View Postmodi123_1, on 01 May 2012 - 07:12 AM, said:

What language are you using? Did you include all the paths?


Yes I have followed carefully all the instruction about including the path from that web. I'm wondering whether it miss some steps to do. I use C..
Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9096
  • View blog
  • Posts: 34,161
  • Joined: 12-June 08

Re: problem when configure GTK with visual studio 2008

Posted 01 May 2012 - 07:21 AM

Did you read the comment at the bottom of it?
Was This Post Helpful? 0
  • +
  • -

#5 deduu10  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 01-May 12

Re: problem when configure GTK with visual studio 2008

Posted 01 May 2012 - 07:30 AM

yes, I just read it. But I could not find where "PATH variable (in System Properties -> Advanced Tab -> Environment Variables))" can you help me to find out where I can do this?



thank you.
Was This Post Helpful? 0
  • +
  • -

#6 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9096
  • View blog
  • Posts: 34,161
  • Joined: 12-June 08

Re: problem when configure GTK with visual studio 2008

Posted 01 May 2012 - 07:59 AM

http://www.computerh...es/ch000549.htm
Was This Post Helpful? 0
  • +
  • -

#7 deduu10  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 01-May 12

Re: problem when configure GTK with visual studio 2008

Posted 01 May 2012 - 08:45 AM

thank you very much.. really appreciate it. I have tried to fix it by refering to what is being told but still results same error. the error message still did not change.

do you have any idea? thanks
Was This Post Helpful? 0
  • +
  • -

#8 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9096
  • View blog
  • Posts: 34,161
  • Joined: 12-June 08

Re: problem when configure GTK with visual studio 2008

Posted 01 May 2012 - 08:52 AM

How about you chat with the folks who out put "GTK 2.4"? They might have a better handle on how to best interpret some random tutorial on the web relating their product.
Was This Post Helpful? 0
  • +
  • -

#9 deduu10  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 13
  • Joined: 01-May 12

Re: problem when configure GTK with visual studio 2008

Posted 01 May 2012 - 09:07 AM

I download the package from www.gtk.org. they only provide contact for bussiness purposes. I also tried post to their forum, but no replied. hmm well, thanks for your time to try to help me resolve this error.. really appreciate it.
Was This Post Helpful? 0
  • +
  • -

#10 Radon_  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 07-May 12

Re: problem when configure GTK with visual studio 2008

Posted 07 May 2012 - 10:34 AM

I had a similar problem when trying to build a project that used an older version of GTK in the past.
What seemed to work for me: (at least it made that error go away... I still need to do more the make a successful build)
-- Open the project properties
-- configuration properties >> c/c++ >> general >> additional include directories
-- there add another directory: for my environment the line looked like this
 $(SolutionDir)\..\gtk-2.24.10\include\gdk-pixbuf-2.0 


... my old project had quite a few directories already there ... but that one was missing... maybe it exists only in the newer version of the GTK toolkit
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1