Author Topic: Can not create directory to start any project  (Read 9782 times)

Offline ednorm

  • Single posting newcomer
  • *
  • Posts: 3
Can not create directory to start any project
« 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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: Can not create directory to start any project
« Reply #1 on: December 30, 2009, 07:20:52 am »
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
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ednorm

  • Single posting newcomer
  • *
  • Posts: 3
Re: Can not create directory to start any project
« Reply #2 on: December 30, 2009, 07:35:53 am »
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

zabzonk

  • Guest
Re: Can not create directory to start any project
« Reply #3 on: December 30, 2009, 01:25:16 pm »
Quote
#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.