Open GoogleCodeExporter opened 8 years ago
I solved the problem by moving the problematic definition to .m file because
they are private.
Original comment by bagusfl...@gmail.com
on 3 Sep 2012 at 12:34
is there a tutorial how to solved that problem? thanks man
Original comment by rotski...@gmail.com
on 25 Sep 2012 at 3:12
Hello,
I can't remember which file I changed (the .h file which give you the error
message.) Because it's private variables, you can safely move it to .m file.
And then add a flag -fno-objc-arc to .m file, so the compiler will not give you
any error message any more.
ZH
�� 2012-9-25������11:12�� panoramagl@googlecode.com ���
Original comment by bagusfl...@gmail.com
on 26 Sep 2012 at 12:17
thanks for reply ill do wat you said. the .h file give me the error message..
Original comment by rotski...@gmail.com
on 26 Sep 2012 at 1:12
how to add the private variables to .m file? can u paste the example code?
where can i paste the code? thanks man
Original comment by rotski...@gmail.com
on 26 Sep 2012 at 1:35
i figured it now,, but my next problem is in PLCamera.m
error msge "ARC FORBID explicit message send of autorelease"
"autorelease is unavailable:not available in automatic reference counting mode
Original comment by rotski...@gmail.com
on 26 Sep 2012 at 1:39
You have to add flag -fno-objc-arc to your files which cause the problem.
�� 2012-9-26������09:12�� panoramagl@googlecode.com ���
Original comment by bagusfl...@gmail.com
on 26 Sep 2012 at 3:09
i figured it out thanks man,, i also change the automatic reference counting
into "No" and its success
Original comment by rotski...@gmail.com
on 28 Sep 2012 at 9:38
How did you solve the ARC - Pointer to non-const type "PLTexture". I tried
moving the
@private
PLTexture **previewTextures;
PLTexture **textures;
}
To the .m file. Please help. Thank you.
Original comment by AnthonyS...@gmail.com
on 11 Nov 2012 at 2:52
Just like I said move this to lines to .m file and add -fno-objc-arc in your
project setting.
�� 2012��11��11�գ�����10:52��panoramagl@googlecode.com д����
Original comment by bagusfl...@gmail.com
on 12 Nov 2012 at 12:25
Did you move it to the PL.PanoramaBase.m ?
Or did you put in the view.m.
Thanks.
Original comment by AnthonyS...@gmail.com
on 12 Nov 2012 at 2:21
Yes. I add something like:
@interface PLPanoramaBase()
{
PLTexture **previewTextures;
PLTexture **textures;
}
@end
in PanoramaBase.m.
�� 2012��11��12�գ�����10:21��panoramagl@googlecode.com д����
Original comment by bagusfl...@gmail.com
on 12 Nov 2012 at 2:32
Superb. I did the syntax wrong. Thank you a TON!!!!
Original comment by AnthonyS...@gmail.com
on 12 Nov 2012 at 3:12
Error : /PanoramaGL/PLPanoramaBase.h:29:13: Pointer to non-const type
'PLTexture *' with no explicit ownership
Solution :
1. PLPanoramaBase.h
@interface PLPanoramaBase : PLScene <PLIPanorama>
{
#pragma mark -
#pragma mark member variables
@private // Remove this line
PLTexture **previewTextures; // Remove this line
PLTexture **textures; // Remove this line
}
@end
Remove the PLTexture **previewTextures; and PLTexure **textures; lines from PLPanoramaBase.h file.
2. PLPanoramaBase.m
Add the following code in .m file above @implementation PLPanoramaBase line
@interface PLPanoramaBase()
{
PLTexture **previewTextures;
PLTexture **textures;
}
@end
3. Add -fno-objc-arc for PLPanoramaBase.m file in your project setting.
Thanks
RAMESH ANNADURAI
Original comment by aramesh....@gmail.com
on 6 Dec 2012 at 10:11
Original issue reported on code.google.com by
bagusfl...@gmail.com
on 3 Sep 2012 at 11:52