Author Topic: trouble in building a program  (Read 4886 times)

Offline ykd

  • Single posting newcomer
  • *
  • Posts: 6
trouble in building a program
« on: April 13, 2008, 01:36:53 pm »
Whenever I build a program, CB always gives a message like below, what's the matter?

[attachment deleted by admin]

Offline mariocup

  • Developer
  • Lives here!
  • *****
  • Posts: 586
Re: trouble in building a program
« Reply #1 on: April 13, 2008, 02:43:55 pm »
Hi,

the messages is issued since the path of the compiler is not found. Please set the correct path of your compiler in the Settings->Compiler and Debugger and choose tab:
Toolchain executables.

Bye,

Mario

Offline ykd

  • Single posting newcomer
  • *
  • Posts: 6
Re:Re: trouble in building a program
« Reply #2 on: April 15, 2008, 11:50:44 am »
Thank you very much! The problem has been perfectly solved!

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9661
Re: trouble in building a program
« Reply #3 on: April 15, 2008, 08:45:39 pm »
the messages is issued since the path of the compiler is not found. Please set the correct path of your compiler in the Settings->Compiler and Debugger and choose tab: Toolchain executables.
Luckily recent revisions of C::B tell exactly this in the warning message. Seems it was a good thing to do... This question is raised round about 1 million times now. And searching the forums seems to be impossible for quite forum users. :?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline ykd

  • Single posting newcomer
  • *
  • Posts: 6
Re: trouble in building a program
« Reply #4 on: April 16, 2008, 04:56:08 am »
Luckily recent revisions of C::B tell exactly this in the warning message. Seems it was a good thing to do... This question is raised round about 1 million times now. And searching the forums seems to be impossible for quite forum users. :?

I hope C::B can set the build path automatically in the next version.I still have a question, that is when I close C::B, an annoying message will pop up issuing "Workspace 'Workspace' is modified. Do you want to save it?" even nothing was modified.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9661
Re: trouble in building a program
« Reply #5 on: April 16, 2008, 08:30:05 am »
I hope C::B can set the build path automatically in the next version.
Well... if you tell me how to do that we can implement it. That is impossible to know! The compiler setup has to be done by a user that really knows. There is no voodoo we can apply. Sorry.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline ykd

  • Single posting newcomer
  • *
  • Posts: 6
Re: trouble in building a program
« Reply #6 on: April 16, 2008, 05:24:21 pm »
Well... if you tell me how to do that we can implement it. That is impossible to know! The compiler setup has to be done by a user that really knows. There is no voodoo we can apply. Sorry.
Sorry, I'm a freshman and just start to learn C. So it's impossible for me to have any idea.