Code::Blocks Forums
User forums => Help => Topic started by: ednorm on December 30, 2009, 06:48:22 am
-
I have decided to retry using codeblocks under linux, using Fedora 10. I installed CB 8.02 and every time I try any wizard to start a project I get through all the prompts and get "unable to create directory /ed/code/filename." I tried the original setting which was usr/share/ filename and got the same thing, the usr share filesystem is root, so I switched to my home directory ed and created a folder called code in which to get a save position , to no avail. I see no way in settings to change this. Any ideas, by the way I had tried codeblocks before using windows xp and could never get it working. I have tried reading previous posts and could see nothing like this. When I start CB 8.02 everything under files to do with files is grayed out, the dialogues new, open , recent projects , recent files , import files are the only ones which are usable. Under edit everything is grayed out. I would appreciate help here as I would love to try this IDE, I learned Basic years ago and want to learn c++. Any help will be happily accepted , when I asked for help under windows install I tried all I got here at this forum was use nightly build? which is confusing as no one explains where nightly build is or what it is or how to get it or how to set it up.
ed
-
Not Linux person; suggest reading wiki
http://wiki.codeblocks.org/index.php?title=Main_Page
Nightly Builds are in Nightly Builds group
http://forums.codeblocks.org/index.php/board,20.0.html
NOTE: This is NOT a web-site that supports beginners on how to program in C/C++
Tim S
-
Thanks Stahta, I am embarrassed to admit this but I needed to add home to the save directory path. My save should have read /home/ed/code, I tried this after looking at it again , about the fiftieth time I looked at it , and seen my error. Now I have to look through the mounds of posts here and see what i can find about getting #include <conio> , #include <graphics> and #include <math> to be recognized, it says error conio no such file or directory, the same for the other two functions. I downloaded a polygon drawing program to try out the code and that is the error which I got.
Thanks again for your prompt and polite reply!
ed
-
#include <conio> , #include <graphics> and #include <math>
You won't get them to be recognised for two reasons - firstly, the names are conio.h, graphics.h etc. Only the Standard Library headers have no .h extension. Secondly, the first two of these headers were part of an ancient C implementation - they are not part of C++ and will not be available to you.
It sounds like you are learning C++ from a very poor source - I suggest getting hold of a copy of accelerated C++ by Koenig & Moo.