Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
July 23, 2017, 03:38:44 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register Chat  
Pages: [1]   Go Down
  Print  
Author Topic: compiling in terminal is not working  (Read 7587 times)
oliver36
Newbie
*
Posts: 4


Email
« on: May 03, 2011, 11:56:57 AM »

hi i am new in this forum and i have a question, i have bought this book to learn programming in objective-c 2.0 but when i want to compile and run the prog1.m in terminal comes a message permisson denied ,can anybody help me please ?
and sorry for my bad english.
Logged
oliver36
Newbie
*
Posts: 4


Email
« Reply #1 on: May 03, 2011, 12:45:17 PM »

the message is        cc1obj: error: /usr/local/include: Permission denied       but why ?
Logged
skochan
Administrator
Hero Member
*****
Posts: 3114



« Reply #2 on: May 03, 2011, 02:21:14 PM »

Can you show me the line you typed before receiving the message?

Steve
Logged
oliver36
Newbie
*
Posts: 4


Email
« Reply #3 on: May 03, 2011, 09:46:16 PM »

ok first i have typed in the command mkdir Progs to create the directory than i have typed in cd Progs and then i have typed in vi prog1.m after i have typed in the program i have saved the text as prog1.m wih the command  :w prog1.m
Than i wanted to type in the command gcc -framework Foundation prog1.m -o prog1 but then i get the message       cc1obj: error: /usr/local/include: Permission denied
Logged
oliver36
Newbie
*
Posts: 4


Email
« Reply #4 on: May 06, 2011, 12:02:29 PM »

i have find the problem i have done it with root.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents ゥ 2009 classroomM.com. All rights reserved.