Code::Blocks
March 21, 2010, 05:34:10 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: We are preparing a new release! Check the Announcements forum for details.
 
   Home   Help Search Login Register  :: WebsiteWiki  
Pages: [1]
  Send this topic  |  Print  
Author Topic: Need Help, compiler doesnt work!  (Read 806 times)
juano
Newcomer
*
Posts: 2


« on: June 20, 2009, 09:16:13 pm »

Hi everybody, my name is JUAN and i am a codeblocks user from Buenos Aires, Argentina. I've been having some trouble with the program and i need some help to reach a solution for this problem.(sorry for my english)

I've recently installed codeblocks on windows vista 64 bits and i generally work with C language. This are the steps i use to create my projects:

1)Create a new project
2)category: console application
3)select the language yo wat to use:  C
4)i put a name to my project, example: hello
5)compiler:GNU GCC Compiler (everything else is checked, im mean, the create debug and create release configuration are both checked)
6)i press finish
7)I build and run the default program, the one taht says "hello world", and nothing happens


Ok here comes the problem, my compiler doesnt work at all. On the "build log" tab i can read the following message:"hello - debug " uses an invalid compiler. Skipping...

And under that message: nothing to be done

I need help, i usually use codeblocks on my other computer with windows xp service pack 3 and it works perfectly, i dont know what can be the problem here, if anybody can help me please!
Logged
mariocup
Developer
Lives here!
*****
Posts: 555


« Reply #1 on: June 20, 2009, 10:36:51 pm »

Hi,

if CB tells you that you use an invalid compiler, this mean that you have to specify the correct path for the installed compiler. Choose the menu settings->compiler and debugger. Then select your compiler from the drop downlist and enter the correct path in the tab toolchain executables. If you use search directories you will have to adapt them too.

Logged
juano
Newcomer
*
Posts: 2


« Reply #2 on: June 21, 2009, 01:53:42 am »

Thank you very much, I have my CB working now! hope someday i can help somebody having trouble!
Logged
MortenMacFly
Administrator
Lives here!
*****
Posts: 4332



WWW
« Reply #3 on: June 22, 2009, 07:10:12 am »

Thank you very much, I have my CB working now! hope someday i can help somebody having trouble!
Next time please search the forums before you post. This question has been answered a million times. You are lucky, that somebody took the time to answer you again. Probably this won't happen in the future if you don't do a search before.
Logged

Logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
Compiling help
Debugging help
Portable C::B
Pages: [1]
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!