Author Topic: Problem with glib.h  (Read 10300 times)

condor_01

  • Guest
Problem with glib.h
« on: October 03, 2007, 12:11:38 pm »
Hello,
I installed Code::Blocks for the first time and i'm trying to run a developed project with C.
But the compiler don't recognize glib.h
I'm novice at developing and i need your help.
Please if you can tell me how to do step by step.
Thanks

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7787
    • My Best Post
Re: Problem with glib.h
« Reply #1 on: October 03, 2007, 01:03:20 pm »
Windows or Linux?

I am a Windows User, so I will get some Linux things wrong.
And using GTK under Windows is not easy, but I might be able to help you.

Time for Classes, so I am off to College.

Tim S
« Last Edit: October 03, 2007, 01:26:24 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

condor_01

  • Guest
Re: Problem with glib.h
« Reply #2 on: October 03, 2007, 01:29:33 pm »
I'm working on Linux Ubuntu
thanks

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Problem with glib.h
« Reply #3 on: October 03, 2007, 02:19:12 pm »
glib.h is in libglib2.0-dev . At least on debian, but on Ubuntu it should be something like this.
If you include .h-files you have to install the appropriate packages.
« Last Edit: October 03, 2007, 02:53:48 pm by jens »

ghaddab

  • Guest
Re: Problem with glib.h
« Reply #4 on: June 03, 2013, 03:36:06 pm »
Hello,
I have the same problem: fatal error: glib.h: No such file or directory.
Please if you can tell me how to fix it on Windows.
thanks.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Problem with glib.h
« Reply #5 on: June 03, 2013, 08:25:07 pm »
I have the same problem: fatal error: glib.h: No such file or directory.
Please if you can tell me how to fix it on Windows.
Search with google for a version that works on windows and includes the dev-packages.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ