Thread: build errors

  1. #1
    Android geek@02's Avatar
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    470

    Post build errors

    hi, i'm new 2 linux programming, and i tried just to test a program including gtk.h.
    Code:
    #include<gtk.h>
    int main()
    {
      //nothing
    
      return 0;
    }
    i'm using anjuta ide, and the prog compiles allright. but when building it gives errors similler to these:

    #no such file/dir: gtk-config, pkg-config, glib-2.0, gtk+
    #unrecognized option: -fcflags, -flibs

    how can i fix this please?
    thanx 4 any help.
    Last edited by geek@02; 10-22-2005 at 10:21 PM.
    GameJolt: https://gamejolt.com/@KasunL
    Game Development Youtube:
    https://is.gd/XyhYoP
    Amateur IT Blog: http://everything-geeky.blogspot.com/



    (and, sorry for my amateur English)

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    You probably need the gtk development packages. What they're called will depend on your dirtso but its likely something like gtk-devel

  3. #3
    Android geek@02's Avatar
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    470
    when i run gtk-config, it detects my gtk version (1.2). But anjuta wont build my gkt prog?
    GameJolt: https://gamejolt.com/@KasunL
    Game Development Youtube:
    https://is.gd/XyhYoP
    Amateur IT Blog: http://everything-geeky.blogspot.com/



    (and, sorry for my amateur English)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ten Errors
    By AverageSoftware in forum Contests Board
    Replies: 0
    Last Post: 07-20-2007, 10:50 AM
  2. Header File Errors...
    By Junior89 in forum C++ Programming
    Replies: 5
    Last Post: 07-08-2007, 12:28 AM
  3. Visual C++
    By gvector1 in forum Windows Programming
    Replies: 20
    Last Post: 03-14-2003, 11:37 AM
  4. executing errors
    By s0ul2squeeze in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2002, 01:43 PM