Author Topic: unable to connect to compiler!!  (Read 4822 times)

cracknut

  • Guest
unable to connect to compiler!!
« on: January 28, 2012, 02:27:10 pm »
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]

Offline ptDev

  • Almost regular
  • **
  • Posts: 222
Re: unable to connect to compiler!!
« Reply #1 on: January 28, 2012, 02:38:06 pm »
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: unable to connect to compiler!!
« Reply #2 on: January 28, 2012, 07:12:35 pm »
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!]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: unable to connect to compiler!!
« Reply #3 on: January 28, 2012, 07:56:07 pm »
The messages look, like you do not use backticks ( "`" aka grave accent ) around the pkg-config statements.