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

unable to connect to compiler!!

Started by cracknut, January 28, 2012, 02:27:10 PM

Previous topic - Next topic

cracknut

guys!!,
i have recently switched over to code::blocks for programming in c,
and i am really pissed off to unable to identify where the problem is.

problem:
i have installed the code blocks along with the mingw compiler and edited the settings in settings>compiler and debugger>toolchain executables.. but even then i am unable to run even my "hello world"!!!!
:( :( :(

i am attaching the snapshot of the debugging tab!!! please someone help me out.
thanks in advance.

error:
Compiling: main.c
mingw32-gcc.exe: pkg-config: No such file or directory
mingw32-gcc.exe: –cflags: No such file or directory
mingw32-gcc.exe: gtk+-2.0: No such file or directory
mingw32-gcc.exe: gmodule-export-2.0: No such file or directory
mingw32-gcc.exe: pkg-config: No such file or directory
mingw32-gcc.exe: –cflags: No such file or directory
mingw32-gcc.exe: libglade-2.0: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

??? ??? ???

[attachment deleted by admin]

ptDev

It isn't Code::Blocks who's complaining, it's GCC.

What are your project settings?
I'm confused as to why would GCC attempt to execute a pkg-config script, unless you are trying to compile a project intended for Linux or cygwin.

oBFusCATed

cracknut: Take a look at this page: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29

I guess you need to install pkg-config, but I'm not sure it works on windows.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

The messages look, like you do not use backticks ( "`" aka grave accent ) around the pkg-config statements.