Code::Blocks Forums
User forums => Help => Topic started by: JM1082 on May 25, 2011, 09:43:25 pm
-
Hi all,
I'd love to be able to swap from Windows to Ubuntu completely but I can't get my Ubuntu Codeblocks to build & run my programs.
When I select build & run I get a window pop up saying "Permission denied" and "Nothing to be done" in the build log instead of my program output.
If anybody has a solution to this problem I'd be eternally grateful!
Please see the picture attached for an example of the problem.
[attachment deleted by admin]
-
1. at least you have to save the file with an appropriate file-ending (.c in your case), to make it compilable.
2. I suggest using a wizard created project to do the first steps ("File -> New -> Project -> Console application")
If you need to debug your program, you have to use projects anyway, because debugging standalone-files is not (yet ?) supported.
-
Success! Thank you!
:^)
But how comes it works without a project in the Windows version? Does it have something to do with the MingW compiler???
-
Success! Thank you!
:^)
But how comes it works without a project in the Windows version? Does it have something to do with the MingW compiler???
You can compile and run a single file without a project in windows and linux, but you need a proper file-ending to make C::B know which compiler to invoke.
But debugging does not work without a project, neither on linux nor on windows !