News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Need help with C::B under linux ubuntu

Started by naskobs, June 16, 2009, 10:51:21 AM

Previous topic - Next topic

naskobs

Hello, i am not sure if this is the right section so some moderator move it if its needed. Here is my problem.. every time when i try to compile any source  on C::B i am getting that error when the compiling finish sh: / [the project secion]/ Permission denied. Press enter to continue. I tried to change the compiler from settings but still dont work :(

Jenna

Are you sure, you have write permission to the directory you use ?

It might be helpful to know the full commandline that leads to the error and the exact error-message.

Change "Settings -> Compiler and debugger... -> Global compiler settings -> [the compiler you use] -> Other settings(rightmost tab)" "Compiler logging" to "Full commandline" and post the content of the build log.

naskobs

Hmm ok.. i just changed the location for my projects but now i have other problem.. when i am compiling my program i am getting that error message :
/media/disk/C++/asd 3: using: not found
/media/disk/C++/asd: 5: Syntax Error: "(" unexpected
press enter to continue.
but actually i am not sure if that is C::B error or  again some ubuntu problem.. and i tried to compile that simple source code #include <iostream.h>

using namespace std;

int main()
{
cout << "Hello World!" << endl;
return 0;
}

MortenMacFly

Quote from: naskobs on June 17, 2009, 09:24:40 PM
#include <iostream.h>
using namespace std;

Decide if you want to develop in C or C++, then include the right headers and name the source files accordingly.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]