safon007 / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

ios iphoneDemo RenderSystems Erros #286

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.download from svn.
2.build with c-make.
3.try to build the iphoneDemo in xcode.

What is the expected output? What do you see instead?
i expecte to see the demo on the simulator, instead i got these erros:

Blender/gameKit/GKsource/gamekit-read-only/Ogre-1.9a/RenderSystems/GLES/src/Ogre
GLESHardwareBufferManager.cpp:264:9: error: redefinition of 
'createUniformBuffer' [3]

Blender/gameKit/GKsource/gamekit-read-only/Ogre-1.9a/RenderSystems/GLES/src/Stat
eCacheManager/OgreGLESNullStateCacheManagerImp.h:41:11: error: redefinition of 
'GLESStateCacheManagerImp' [3]

Blender/gameKit/GKsource/gamekit-read-only/Ogre-1.9a/RenderSystems/GLES/src/Stat
eCacheManager/OgreGLESNullStateCacheManagerImp.h:41:11: error: redefinition of 
'GLESStateCacheManagerImp' [3]

Blender/gameKit/GKsource/gamekit-read-only/Ogre-1.9a/RenderSystems/GLES/src/Stat
eCacheManager/OgreGLESNullStateCacheManagerImp.h:68:34:{68:9-68:33}: error: 
expected member name or ';' after declaration specifiers [1]

What version of the product are you using? On what operating system?
revision 1213
osx 10.6.8
xcode 4.2
sdk 5.1

Please provide any additional information below.

Original issue reported on code.google.com by mayra...@gmail.com on 20 Nov 2012 at 5:47

GoogleCodeExporter commented 8 years ago
This might be related to latest ogre-update! I think I know what might be the 
issue. 
Thx for reporting

Original comment by thomas.t...@googlemail.com on 21 Nov 2012 at 1:23

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
hi there

i ran into this too... i added a boolean 
OGRE_CONFIG_ENABLE_GLES2_STATE_CACHE_SUPPORT to my cmake config
found in Ogre1.9a/RenderSystems/GLES2/CMakeList.txt

after that xcode builds gamekit out of the box ... 

btw removing cmake postbuild stuff from the ogrekit.proj targets and using the 
default "derived" buildpath enables xcode to find/build/link ogrekit libraries 
from other projects in the same workspace
you will still need to tell xcode where the headers are.. 
i dont know why these postbuilds are needed? and how much "xcode magic 4.5" is 
involved

thx for this awesome project...

Original comment by nolteme...@googlemail.com on 21 Nov 2012 at 10:39

GoogleCodeExporter commented 8 years ago
Could you please explain me  how to fix it step by step.

Original comment by mayra...@gmail.com on 22 Nov 2012 at 4:50

GoogleCodeExporter commented 8 years ago
Can you please checkout out the latest trunk and check again (maybe you have to 
delete the cache before compiling again)

Original comment by thomas.t...@googlemail.com on 22 Nov 2012 at 8:43

GoogleCodeExporter commented 8 years ago
i try and got these error:
Blender/gameKit/gamekit-read-only/Ogre-1.9a/RenderSystems/GLES/src/OgreGLESHardw
areBufferManager.cpp

Redefinition of 'createUniformBuffer'

Original comment by mayra...@gmail.com on 26 Nov 2012 at 8:59

GoogleCodeExporter commented 8 years ago
right,...this I didn't commit, argh. And again...

Original comment by thomas.t...@googlemail.com on 26 Nov 2012 at 9:05

GoogleCodeExporter commented 8 years ago
is this configuration for cMake ok? or do i have to change something?
OGREKIT_BUILD_GLRS -> OFF
OGREKIT_BUILD_GLESRS -> ON
OGREKIT_BUILD_IPHONE -> ON

then configure, got a red line for :

OGREKIT_CONFIG_ENABLE_VIEWPORT_ORIENTATIONMODE -> ON

then configure again, and generate.

Open the xcode project, try to run iphonedemo and get these 20 errors for these 
files:
/Blender/gameKit/gamekit-read-only/Ogre-1.9a/RenderSystems/GLES/include/OgreGLES
HardwareBufferManager.h

/Blender/gameKit/gamekit-read-only/Ogre-1.9a/RenderSystems/GLES/src/OgreGLESHard
wareBufferManager.cpp

/Blender/gameKit/gamekit-read-only/Ogre-1.9a/RenderSystems/GLES/src/OgreGLESHard
wareIndexBuffer.cpp

btw.,
thanks for your help.

Original comment by mayra...@gmail.com on 28 Nov 2012 at 4:25

GoogleCodeExporter commented 8 years ago
Right,...again my fault. Plz try again...
Actually this problems are all part of my problem not having either a mac nor 
an iOS-Device on my own...not that easy. 

Original comment by thomas.t...@googlemail.com on 28 Nov 2012 at 6:18

GoogleCodeExporter commented 8 years ago
is ok i tested on my ipod.
im ready to learn how create my game.
thank you.

Original comment by mayra...@gmail.com on 28 Nov 2012 at 11:25

GoogleCodeExporter commented 8 years ago
hi, how do i do for use shareKit(twitter, facebook, email) in my demo?,
i mean i want to have a botton or object in my game and the user can touch it
to send mail, post something on facebook or twitter.

Original comment by mayra...@gmail.com on 29 Nov 2012 at 5:11

GoogleCodeExporter commented 8 years ago
I don't know....I think there is no way around learing how to use iOS.

Original comment by thomas.t...@googlemail.com on 29 Nov 2012 at 8:27