News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Problem with glib.h

Started by condor_01, October 03, 2007, 12:11:38 PM

Previous topic - Next topic

condor_01

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

stahta01

#1
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
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

condor_01

I'm working on Linux Ubuntu
thanks

Jenna

#3
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.

ghaddab

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.

MortenMacFly

Quote from: ghaddab on June 03, 2013, 03:36:06 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]