User forums > Using Code::Blocks
"Can't create object output directory "
(1/1)
lehe:
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.
mircoo:
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 *
--- End code ---
user is your account name ;-)
Navigation
[0] Message Index
Go to full version