Author Topic: code blocks not working in xubuntu.  (Read 5757 times)

Offline vikash

  • Multiple posting newcomer
  • *
  • Posts: 23
code blocks not working in xubuntu.
« on: July 17, 2011, 11:32:21 am »
My codeblocks 10.05 is not working in xubutu 11.04. till yesterday it was working fine. But today when i try to compile a program in it then it does not compile there is a message in build log looking like attachment 1.
I try to create new project but this problem not solved. Even reinstallation does not help.  I go to setting->compiler and debugger->toolchain excutables there is a empty place that is of resource compiler is this causes problem. see attachment 2.

If there is any other thing that is responsible then please tell me.

[attachment deleted by admin]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: code blocks not working in xubuntu.
« Reply #1 on: July 17, 2011, 11:53:31 am »
The second question first:
there is no resource-compiler on linux, so the field is empty.

For the first question:
try to use a path without spaces.

Offline vikash

  • Multiple posting newcomer
  • *
  • Posts: 23
Re: code blocks not working in xubuntu.
« Reply #2 on: July 17, 2011, 11:57:49 am »
The second question first:
there is no resource-compiler on linux, so the field is empty.

For the first question:
try to use a path without spaces.

Do you mean the path in toolchain executable tab. All the names like gcc, g++ etc are without spaces.
See two entries C++ compiler and Linker for dynamic libs in attachment 2 both are pointing same thing in bin directory. This is just an idea.
« Last Edit: July 17, 2011, 12:02:34 pm by vikash »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: code blocks not working in xubuntu.
« Reply #3 on: July 17, 2011, 12:26:25 pm »
Do you mean the path in toolchain executable tab. All the names like gcc, g++ etc are without spaces.
See two entries C++ compiler and Linker for dynamic libs in attachment 2 both are pointing same thing in bin directory. This is just an idea.

Sorry, that was not clear.
No, I mean the projects path.

The toolchain seems to be correct.

Offline vikash

  • Multiple posting newcomer
  • *
  • Posts: 23
Re: code blocks not working in xubuntu.
« Reply #4 on: July 17, 2011, 12:56:43 pm »
Do you mean the path in toolchain executable tab. All the names like gcc, g++ etc are without spaces.
See two entries C++ compiler and Linker for dynamic libs in attachment 2 both are pointing same thing in bin directory. This is just an idea.

Sorry, that was not clear.
No, I mean the projects path.

The toolchain seems to be correct.


thanks buddy this works.  :D :D
Last time when there was a error i was saving project in this location /media/mains don't chng folder data/study/alll about C++ programming/C++/Linux xubuntu 11.04/codeblocks/2/2.cbp there are really a lot of spaces in location this time i save this in /home/vikashchandola/Desktop/121212121/main.cpp and this work.
thanks for help. :D :D :D