我是第一次接触这个iPhone。所以我安装了GNUstep编译器并导入了一个小程序。现在我想编译这段代码并执行代码...我使用下面的代码实现了这一点:
gcc -o hello hello.m -I/c/GNUstep/GNUstep/System/Library/Headers \
-L /c/GNUstep/GNUstep/System/Library/Libraries -lobjc -lgnustep-base \
-fconstant-string-class=NSConstantString但是它给出的错误是
1./GNUstep/GNUstep/system/library/libraries:permission denied
2.ld.exe : cannot find -lobjc
3.ld.exe : cannot find -lgnustep-base-fconstant-string-class=NSConstantString
collect2:id returned 1 exit status请帮助我,任何人..我是否也向其中添加了任何新的库?
发布于 2012-05-31 21:41:01
你可以简单地查看我的You tube教程:here
https://stackoverflow.com/questions/5897819
复制相似问题