Author Topic: "Can't create object output directory "  (Read 16423 times)

Offline lehe

  • Multiple posting newcomer
  • *
  • Posts: 35
"Can't create object output directory "
« on: January 21, 2009, 02:55:52 pm »
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.


  • Guest
Re: "Can't create object output directory "
« Reply #1 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: [Select]
chown -R user.user *user is your account name ;-)