Author Topic: Build and run problem  (Read 6171 times)

Offline rohith

  • Multiple posting newcomer
  • *
  • Posts: 11
Build and run problem
« on: July 13, 2008, 09:01:25 am »
The following message is displayed when I try to build and run a program.
         
    "First- Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping.....
     Nothing to be done.
Can anybody help with this. Thanks in advance.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Build and run problem
« Reply #1 on: July 13, 2008, 09:14:48 am »
The following message is displayed when I try to build and run a program.
         
    "First- Debug" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping.....
     Nothing to be done.
Can anybody help with this. Thanks in advance.
Mind searching the forum before asking?

Verify your compiler setup is correct, especially the toolchain. This message indicates that C::B cannot find the compiler.
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

softdreams4u

  • Guest
Re: Build and run problem
« Reply #2 on: July 28, 2008, 11:47:35 pm »
Hi,

Me Too Facing same problem when i installed codeblock with GNU GCC latest complier in fedora 9.i386. I hope Some bug in Code Block

softdreams4u

  • Guest
Re: Build and run problem
« Reply #3 on: July 30, 2008, 08:20:33 am »
Hi,

I found out where is error while building and compiling. Let met clear your doubts.

Go to Settings->Compiler and Debugger->Choose Tool chain executable tab->

Change Compiler installation directory from /usr/lib to /usr and click ok

Now Try Ctrl + 10 to Run your source code. We can see your program working fine.

If You have any doubt ping me back at softdreams4u@hotmail.com.

Have a nice day,
Babu.S

Offline rohith

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: Build and run problem
« Reply #4 on: July 31, 2008, 02:31:15 am »
Thank you. Babu for your help.


Regards.
Rohith.