Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: lehe on January 21, 2009, 02:55:52 pm

Title: "Can't create object output directory "
Post by: lehe on January 21, 2009, 02:55:52 pm
Hi,
I am a newbie and have some problems regarding how to deal with source code already given.
1. I created an empty project and added my c file "eg1.c" into it. When I hit the build button, I recieved such an error message "Fatal error: can't create obj/Debug/program/eg1/eg1.o: No such file or directory".
2.  when I started over with adding my c file to the workspace instead of creating an empty project and adding to int my  file, I can build and run although the are is no project but I cannot debug.

Thanks for help!

BTW: I did some search but couldn't find any tutorial explaining the same issue. Maybe that is too straightforward? I appreciate if someone could let me know if there are some.
Title: Re: "Can't create object output directory "
Post by: mircoo on December 09, 2009, 02:31:32 pm
1) I have the same problem. You dont have enought permissions to create directory. CD to your output directory and run command
Code
chown -R user.user *
user is your account name ;-)