I tried to build a ios app, with cygwin and THEOS
The Tutorial: https://sites.google.com/site/theostutorials/home
After a couple tries, i succeed to get to the end of the tutorial. At the end i only needed to run the command "make package install"
Then i got stuck...
CYGWIN TERMINAL:
ron_000@Laptop-Ron ~/projects/hello3
$ make package install
/home/ron_000/projects/hello3/theos/makefiles/targets/Cygwin/iphone.mk:38: Deplo
ying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for application hello3...
Copying resource directories into the application wrapper...
Compiling main.m...
main.m:2:2: error: use of undeclared identifier 'NSAutoreleasePool'
NSAutoreleasePool *p = [[NSAutoreleasePool alloc] init];
^
main.m:2:21: error: use of undeclared identifier 'p'
NSAutoreleasePool *p = [[NSAutoreleasePool alloc] init];
^
main.m:2:27: error: use of undeclared identifier 'NSAutoreleasePool'
NSAutoreleasePool *p = [[NSAutoreleasePool alloc] init];
^
main.m:3:12: error: implicit declaration of function 'UIApplicationMain' is
invalid in C99 [-Werror,-Wimplicit-function-decla`enter code here`ration]
int ret = UIApplicationMain(argc, argv, @"hello3Application", @"...
^
main.m:4:3: error: use of undeclared identifier 'p'
[p drain];
^
5 errors generated.
/home/ron_000/projects/hello3/theos/makefiles/instance/rules.mk:96: recipe for t
arget 'obj/main.m.ce2c1a2b.o' failed
make[2]: *** [obj/main.m.ce2c1a2b.o] Error 1
/home/ron_000/projects/hello3/theos/makefiles/instance/application.mk:39: recipe
for target 'internal-application-all_' failed
make[1]: *** [internal-application-all_] Error 2
/home/ron_000/projects/hello3/theos/makefiles/master/rules.mk:54: recipe for tar
get 'hello3.all.application.variables' failed
make: *** [hello3.all.application.variables] Error 2
Someone knows what i'am doing wrong ?
Thanks for any input,
p.s I hope i used codeblock the right way for this question...